-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
68 lines (68 loc) · 2.17 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
{
"name": "accounts",
"version": "1.0.0",
"description": "Accounts service",
"main": "src/index.js",
"author": "Josh Worden <[email protected]>",
"license": "MIT",
"devDependencies": {
"chai": "^4.2.0",
"chai-as-promised": "^7.1.1",
"eslint": "^5.8.0",
"eslint-config-airbnb-base": "^13.1.0",
"eslint-plugin-import": "^2.14.0",
"gulp": "^3.9.1",
"mocha": "^5.2.0",
"mocha-junit-reporter": "^1.18.0",
"nyc": "^13.1.0",
"sinon": "^7.1.1",
"supertest": "^3.3.0"
},
"cmd": {
"gulp": "node_modules/.bin/gulp",
"lint": "node_modules/.bin/eslint src/**/*.js",
"mocha": "node_modules/.bin/mocha",
"nyc": "node_modules/.bin/nyc",
"test": {
"run": "docker-compose -p nxtestaccounts -f test/docker-compose.yml run",
"down": "docker-compose -p nxtestaccounts -f test/docker-compose.yml down"
}
},
"scripts": {
"run:ci": "yarn -s; $npm_package_cmd_nyc $npm_package_cmd_lint; $npm_package_cmd_mocha --reporter mocha-junit-reporter --reporter-options mochaFile=./coverage/test-results.xml",
"run:coverage": "yarn -s; $npm_package_cmd_nyc $npm_package_cmd_lint; $npm_package_cmd_mocha --reporter spec",
"run:dev": "yarn -s; $npm_package_cmd_gulp",
"run:test": "yarn -s; $npm_package_cmd_lint; $npm_package_cmd_mocha --reporter spec",
"start": "docker-compose -p nativex up --quiet-pull",
"stop": "docker-compose -p nativex down",
"ci": "$npm_package_cmd_test_run --entrypoint yarn accounts run:ci",
"coverage": "$npm_package_cmd_test_run --entrypoint yarn accounts run:coverage",
"test": "$npm_package_cmd_test_run accounts",
"posttest": "$npm_package_cmd_test_down",
"postci": "$npm_package_cmd_test_down",
"postcoverage": "$npm_package_cmd_test_down"
},
"dependencies": {
"envalid": "^4.1.4",
"moleculer": "^0.13.4",
"mongoose": "^5.3.10",
"nats": "^1.0.1",
"slug": "^0.9.2",
"unique-push-id": "^1.0.2",
"uuid": "^3.3.2",
"validator": "^10.8.0"
},
"nyc": {
"check-coverage": false,
"per-file": true,
"reporter": [
"text",
"cobertura"
],
"all": true,
"cache": false,
"include": [
"src/**/*.js"
]
}
}