|
|
@ -4,20 +4,20 @@
|
|
|
|
"version": "2.0.0",
|
|
|
|
"version": "2.0.0",
|
|
|
|
"description": "Node.js Hello world app using docker features for easy docker-compose local dev and solid production defaults",
|
|
|
|
"description": "Node.js Hello world app using docker features for easy docker-compose local dev and solid production defaults",
|
|
|
|
"author": "Bret Fisher <bret@bretfisher.com>",
|
|
|
|
"author": "Bret Fisher <bret@bretfisher.com>",
|
|
|
|
"main": "index.js",
|
|
|
|
"main": "src/index.js",
|
|
|
|
"scripts": {
|
|
|
|
"scripts": {
|
|
|
|
"start": "node index.js",
|
|
|
|
"start": "node src/index.js",
|
|
|
|
"dev-docker": "../node_modules/nodemon/bin/nodemon.js --debug=5858",
|
|
|
|
"start-watch": "nodemon src/index.js --inspect=0.0.0.0:9229",
|
|
|
|
"dev-host": "nodemon --debug=5858",
|
|
|
|
"start-wait-debuger": "nodemon src/index.js --inspect-brk=0.0.0.0:9229",
|
|
|
|
"start-watch": "nodemon index.js --inspect=0.0.0.0:9229",
|
|
|
|
|
|
|
|
"start-wait-debuger": "nodemon index.js --inspect-brk=0.0.0.0:9229",
|
|
|
|
|
|
|
|
"test": "cross-env NODE_ENV=test PORT=8081 mocha --timeout 10000 --exit --inspect=0.0.0.0:9230",
|
|
|
|
"test": "cross-env NODE_ENV=test PORT=8081 mocha --timeout 10000 --exit --inspect=0.0.0.0:9230",
|
|
|
|
"test-watch": "nodemon --exec \"npm test\"",
|
|
|
|
"test-watch": "nodemon --exec \"npm test\"",
|
|
|
|
"test-wait-debuger": "cross-env NODE_ENV=test PORT=8081 mocha --no-timeouts --exit --inspect-brk=0.0.0.0:9230"
|
|
|
|
"test-wait-debuger": "cross-env NODE_ENV=test PORT=8081 mocha --no-timeouts --exit --inspect-brk=0.0.0.0:9230"
|
|
|
|
},
|
|
|
|
},
|
|
|
|
"dependencies": {
|
|
|
|
"dependencies": {
|
|
|
|
"express": "^4.16.3",
|
|
|
|
"express": "^4.16.3",
|
|
|
|
"morgan": "^1.8.1"
|
|
|
|
"knex": "^0.20.13",
|
|
|
|
|
|
|
|
"morgan": "^1.8.1",
|
|
|
|
|
|
|
|
"mysql2": "^2.1.0"
|
|
|
|
},
|
|
|
|
},
|
|
|
|
"devDependencies": {
|
|
|
|
"devDependencies": {
|
|
|
|
"chai": "^4.1.2",
|
|
|
|
"chai": "^4.1.2",
|
|
|
|