mirror of
https://github.com/jlengrand/sample-node-api.git
synced 2026-03-10 08:41:23 +00:00
30 lines
733 B
JSON
30 lines
733 B
JSON
{
|
|
"name": "sample-cli-api",
|
|
"version": "1.0.0",
|
|
"description": "",
|
|
"main": "index.js",
|
|
"scripts": {
|
|
"dev": "nodemon src/index.js",
|
|
"start": "node src/index.js",
|
|
"build": "npm run clean && cp -r src dist/src && cp *.yml dist && cp *.json dist",
|
|
"dist": "npm run build && npm run pack",
|
|
"clean": "rimraf dist && mkdirp dist",
|
|
"pack": "copy-node-modules . dist"
|
|
},
|
|
"author": "",
|
|
"license": "EPL-2.0",
|
|
"dependencies": {
|
|
"cors": "^2.8.5",
|
|
"express": "^4.16.4",
|
|
"swagger-ui-express": "^4.1.4",
|
|
"yargs": "^8.0.2"
|
|
},
|
|
"devDependencies": {
|
|
"copy-node-modules": "^1.1.1",
|
|
"mkdirp": "^1.0.3",
|
|
"node-fetch": "^2.3.0",
|
|
"nodemon": "^2.0.4",
|
|
"rimraf": "^3.0.2"
|
|
}
|
|
}
|