mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-07-04 06:30:52 +00:00
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
|
npm test
|
||||||
```
|
```
|
||||||
|
|
||||||
|
To clean the workspace run:
|
||||||
|
```
|
||||||
|
npm run clean
|
||||||
|
```
|
||||||
|
|
||||||
## Author
|
## Author
|
||||||
|
|
||||||
mads@maetzke-tandrup.dk
|
mads@maetzke-tandrup.dk
|
@ -4,8 +4,9 @@
|
|||||||
"description": "Sample of generated TypeScript petstore client",
|
"description": "Sample of generated TypeScript petstore client",
|
||||||
"main": "api.js",
|
"main": "api.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"postinstall": "tsd reinstall",
|
"postinstall": "tsd reinstall --overwrite",
|
||||||
"test": "tsc"
|
"test": "tsc",
|
||||||
|
"clean": "rm -Rf node_modules/ typings/ *.js"
|
||||||
},
|
},
|
||||||
"author": "Mads M. Tandrup",
|
"author": "Mads M. Tandrup",
|
||||||
"license": "Apache 2.0",
|
"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.
|
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
|
## Author
|
||||||
|
|
||||||
mads@maetzke-tandrup.dk
|
mads@maetzke-tandrup.dk
|
@ -4,8 +4,9 @@
|
|||||||
"description": "Sample of generated TypeScript petstore client",
|
"description": "Sample of generated TypeScript petstore client",
|
||||||
"main": "api.js",
|
"main": "api.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"postinstall": "tsd reinstall",
|
"postinstall": "tsd reinstall --overwrite",
|
||||||
"test": "tsc && node client.js"
|
"test": "tsc && node client.js",
|
||||||
|
"clean": "rm -Rf node_modules/ typings/ *.js"
|
||||||
},
|
},
|
||||||
"author": "Mads M. Tandrup",
|
"author": "Mads M. Tandrup",
|
||||||
"license": "Apache 2.0",
|
"license": "Apache 2.0",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user