-
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.55 KB
/
package.json
File metadata and controls
54 lines (54 loc) · 1.55 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": "server",
"version": "0.1.0",
"main": "./index.js",
"license": "MIT",
"scripts": {
"build": "NODE_ENV=production babel src --out-dir dist --copy-files",
"start": "[ \"$NODE_ENV\" = \"production\" ] && yarn start:prod || yarn start:dev",
"start:dev": "nodemon --watch src --exec babel-node index.js",
"start:prod": "node index.js",
"nyc:reporter": "[ \"$CI\" = \"true\" ] && echo json || echo text-summary",
"test": "NODE_ENV=test nyc --reporter=$(yarn -s nyc:reporter) mocha ./test",
"test:ci": "MOCHA_FILE=${JUNIT_FILE} yarn test -R mocha-multi -O spec=-,mocha-junit-reporter=-",
"lint": "eslint ./"
},
"nyc": {
"sourceMap": false,
"instrument": false
},
"mocha": {
"recursive": true,
"file": [
"./test/index.js"
]
},
"dependencies": {
"app": "*",
"express": "^4.18.2",
"mongodb": "^3.6.3",
"slug": "^3.5.0",
"ws": "^7.3.1",
"yamljs": "^0.3.0"
},
"devDependencies": {
"@babel/cli": "^7.11.6",
"@babel/core": "^7.11.6",
"@babel/node": "^7.12.10",
"@babel/plugin-proposal-class-properties": "^7.8.3",
"@babel/preset-env": "^7.12.10",
"@babel/register": "^7.12.1",
"babel-plugin-istanbul": "^6.0.0",
"expect": "^26.4.2",
"mocha": "^8.2.1",
"mocha-junit-reporter": "^2.0.0",
"mocha-multi": "^1.1.3",
"nodemon": "^2.0.4",
"nyc": "^15.1.0",
"regenerator-runtime": "^0.13.7",
"testing-hooks": "^0.2.0",
"webpack": "^4.44.2",
"webpack-dev-middleware": "^3.7.2",
"webpack-hot-middleware": "^2.25.0"
}
}