|
|
|
@ -8,19 +8,20 @@
|
|
|
|
|
"main": "dispatch.js",
|
|
|
|
|
"scripts": {
|
|
|
|
|
"create-db": "node scripts/init",
|
|
|
|
|
"dev": "NODE_ENV=development nodemon --watch scripts --watch src scripts/dev.js",
|
|
|
|
|
"dev-local": "NODE_ENV=local nodemon --watch scripts --watch src scripts/dev.js",
|
|
|
|
|
"start": "NODE_ENV=production node dispatch.js",
|
|
|
|
|
"check": "npm run linter;npm run test;",
|
|
|
|
|
"test": "NODE_ENV=development TEST_MODE=true mocha --exit --reporter nyan",
|
|
|
|
|
"dev": "cross-env NODE_ENV=development nodemon --watch scripts --watch src scripts/dev.js",
|
|
|
|
|
"dev-local": "cross-env NODE_ENV=local nodemon --watch scripts --watch src scripts/dev.js",
|
|
|
|
|
"start": "cross-env NODE_ENV=production node dispatch.js",
|
|
|
|
|
"check": "npm run linter && npm run test",
|
|
|
|
|
"test": "cross-env NODE_ENV=development cross-env TEST_MODE=true mocha --exit --reporter nyan",
|
|
|
|
|
"linter": "standard --fix",
|
|
|
|
|
"watch-test": "NODE_ENV=development nodemon --watch scripts --watch src --watch test ./node_modules/.bin/mocha --timeout 5000",
|
|
|
|
|
"watch-test-local": "NODE_ENV=local nodemon --watch scripts --watch src --watch test ./node_modules/.bin/mocha --timeout 5000"
|
|
|
|
|
"watch-test": "cross-env NODE_ENV=development nodemon --watch scripts --watch src --watch test ./node_modules/.bin/mocha --timeout 5000",
|
|
|
|
|
"watch-test-local": "cross-env NODE_ENV=local nodemon --watch scripts --watch src --watch test ./node_modules/.bin/mocha --timeout 5000"
|
|
|
|
|
},
|
|
|
|
|
"author": "mozhi.gyy@alibaba-inc.com, bosn@outlook.com",
|
|
|
|
|
"license": "ISC",
|
|
|
|
|
"dependencies": {
|
|
|
|
|
"chalk": "^1.1.3",
|
|
|
|
|
"cross-env": "^5.1.1",
|
|
|
|
|
"graceful": "^1.0.1",
|
|
|
|
|
"js-beautify": "^1.6.9",
|
|
|
|
|
"kcors": "^2.2.1",
|
|
|
|
|