forked from loafle/openapi-generator-original
Adding npm run clean
command to clean the sample dir
This commit is contained in:
parent
64f2e85608
commit
d0a3def441
@ -9,6 +9,11 @@ npm install
|
||||
npm test
|
||||
```
|
||||
|
||||
To clean the workspace run:
|
||||
```
|
||||
npm run clean
|
||||
```
|
||||
|
||||
## Author
|
||||
|
||||
mads@maetzke-tandrup.dk
|
@ -4,8 +4,9 @@
|
||||
"description": "Sample of generated TypeScript petstore client",
|
||||
"main": "api.js",
|
||||
"scripts": {
|
||||
"postinstall": "tsd reinstall",
|
||||
"test": "tsc"
|
||||
"postinstall": "tsd reinstall --overwrite",
|
||||
"test": "tsc",
|
||||
"clean": "rm -Rf node_modules/ typings/ *.js"
|
||||
},
|
||||
"author": "Mads M. Tandrup",
|
||||
"license": "Apache 2.0",
|
||||
|
@ -11,6 +11,12 @@ npm test
|
||||
|
||||
This will compile the code and run a small test application that will do some simple test calls to the Swagger Petstore API.
|
||||
|
||||
To clean the workspace run:
|
||||
```
|
||||
npm run clean
|
||||
```
|
||||
|
||||
|
||||
## Author
|
||||
|
||||
mads@maetzke-tandrup.dk
|
@ -4,8 +4,9 @@
|
||||
"description": "Sample of generated TypeScript petstore client",
|
||||
"main": "api.js",
|
||||
"scripts": {
|
||||
"postinstall": "tsd reinstall",
|
||||
"test": "tsc && node client.js"
|
||||
"postinstall": "tsd reinstall --overwrite",
|
||||
"test": "tsc && node client.js",
|
||||
"clean": "rm -Rf node_modules/ typings/ *.js"
|
||||
},
|
||||
"author": "Mads M. Tandrup",
|
||||
"license": "Apache 2.0",
|
||||
|
Loading…
x
Reference in New Issue
Block a user