-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
54 lines (54 loc) · 1.64 KB
/
package.json
File metadata and controls
54 lines (54 loc) · 1.64 KB
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
{
"name": "smartcourse-server",
"version": "1.0.1",
"private": true,
"scripts": {
"start": "npm run db-init && cross-env NODE_ENV=test LOG=true npx nodemon ./src/bin/www",
"lint": "npx eslint src/**/*.js tests/**/*.js scripts/db/**/*.js --fix",
"test:lint": "npx eslint src/**/*.js tests/**/*.js --fix",
"test:src": "npm run db-init && cross-env NODE_ENV=test npx nyc mocha --file tests/utils/*.js --file tests/routes/*.js --timeout 10000",
"test": "npm run test:lint && npm run test:src",
"coverage": "npx nyc report --reporter=html --reporter=text-lcov | coveralls",
"db-init": "cross-env NODE_ENV=test LOG=true node ./scripts/db",
"db-force-clean": "cross-env NODE_ENV=test LOG=true node ./scripts/db --drop all --create all --init basic"
},
"dependencies": {
"compression": "^1.7.3",
"cookie-parser": "~1.4.3",
"debug": "~2.6.9",
"express": "~4.16.0",
"firebase-admin": "^6.0.0",
"memory-cache": "^0.2.0",
"morgan": "^1.9.1",
"stdio": "^0.2.7",
"tedious": "^3.0.1"
},
"devDependencies": {
"chai": "^4.1.2",
"coveralls": "^3.0.2",
"cross-env": "^5.2.0",
"eslint": "^5.14.0",
"eslint-config-standard": "^12.0.0",
"eslint-plugin-import": "^2.14.0",
"eslint-plugin-node": "^7.0.1",
"eslint-plugin-promise": "^4.0.0",
"eslint-plugin-standard": "^4.0.0",
"mocha": "^5.2.0",
"node-fetch": "^2.2.0",
"nodemon": "^1.18.3",
"nyc": "^13.3.0",
"supertest": "^3.1.0"
},
"nyc": {
"exclude": [
"tests/**/*.js",
"data",
"public",
"src/models/db/js"
]
},
"engines": {
"node": "8.11.1",
"npm": ">=6.0.0"
}
}