Files
sample-node-api/package.json
Nakul Manchanda 9a777c2abc update to src folder and npm scripts
Signed-off-by: Nakul Manchanda <nakul.manchanda@ibm.com>
2020-09-03 10:50:22 -04:00

31 lines
903 B
JSON

{
"name": "sample-node-api",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"dev": "nodemon src/index.js",
"dev:https": "nodemon src/index.js --key sslcert/server.key --cert sslcert/server.cert",
"start": "node src/index.js",
"build": "npm run clean && cp -r src dist/src && cp -r bin dist/bin && cp *.yml dist && cp *.json dist && cp README.md dist",
"dist": "npm run clean && npm install && 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": "^14.2.1"
},
"devDependencies": {
"copy-node-modules": "^1.1.1",
"mkdirp": "^1.0.3",
"node-fetch": "^2.3.0",
"nodemon": "^2.0.4",
"rimraf": "^3.0.2"
}
}