forked from MostafaBalata/customers-microservice-nodejs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
45 lines (45 loc) · 1.69 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
{
"name": "customers-microservice",
"version": "1.0.0",
"main": "index.js",
"license": "MIT",
"dependencies": {
"express": "^4.16.3",
"helmet": "^3.12.1",
"http-status": "^1.2.0",
"mongo": "^0.1.0",
"morgan": "^1.9.0",
"rimraf": "^2.6.2"
},
"scripts": {
"unit-test": "NODE_ENV=testing ./node_modules/mocha/bin/mocha --compilers js:babel-core/register ./tests/unit_tests/**/*.spec.js",
"integration-test": "NODE_ENV=testing ./node_modules/mocha/bin/mocha --compilers js:babel-core/register ./tests/integration_tests/**/*.spec.js",
"codecov-unit-test": "./node_modules/nyc/bin/nyc.js yarn unit-test",
"codecov-integration-test": "./node_modules/nyc/bin/nyc.js yarn integration-test",
"build": "rimraf dist/ && babel ./src --out-dir dist/ --ignore ./node_modules,./.babelrc,./package.json,./npm-debug.log --copy-files",
"serve-testing": "yarn build && NODE_ENV=testing node dist/index.js",
"start": "yarn build && NODE_ENV=production node dist/index.js",
"lint": "./node_modules/eslint/bin/eslint.js src",
"lint:fix": "./node_modules/eslint/bin/eslint.js src --fix"
},
"devDependencies": {
"babel-cli": "^6.26.0",
"babel-eslint": "^8.2.3",
"babel-polyfill": "^6.26.0",
"babel-preset-env": "^1.7.0",
"babel-preset-es2015": "^6.24.1",
"babel-preset-stage-0": "^6.24.1",
"babel-preset-stage-1": "^6.24.1",
"babel-preset-stage-3": "^6.24.1",
"babel-register": "^6.26.0",
"chai": "^4.1.2",
"chai-as-promised": "^7.1.1",
"eslint": "^4.19.1",
"eslint-config-airbnb": "^16.1.0",
"mocha": "^5.2.0",
"mocha-mongo": "^1.0.0",
"nyc": "^12.0.2",
"sinon": "^6.0.0",
"supertest": "^3.1.0"
}
}