react-express-mysql: get version from mysql

Signed-off-by: Jérémie Drouet <jeremie.drouet@gmail.com>
This commit is contained in:
Jérémie Drouet
2020-03-24 10:48:45 +01:00
parent 75aa52524c
commit 59724f87a1
8 changed files with 545 additions and 183 deletions

View File

@@ -4,20 +4,20 @@
"version": "2.0.0",
"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>",
"main": "index.js",
"main": "src/index.js",
"scripts": {
"start": "node index.js",
"dev-docker": "../node_modules/nodemon/bin/nodemon.js --debug=5858",
"dev-host": "nodemon --debug=5858",
"start-watch": "nodemon index.js --inspect=0.0.0.0:9229",
"start-wait-debuger": "nodemon index.js --inspect-brk=0.0.0.0:9229",
"start": "node src/index.js",
"start-watch": "nodemon src/index.js --inspect=0.0.0.0:9229",
"start-wait-debuger": "nodemon src/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-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"
},
"dependencies": {
"express": "^4.16.3",
"morgan": "^1.8.1"
"knex": "^0.20.13",
"morgan": "^1.8.1",
"mysql2": "^2.1.0"
},
"devDependencies": {
"chai": "^4.1.2",