-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
73 lines (73 loc) · 2.69 KB
/
package.json
File metadata and controls
73 lines (73 loc) · 2.69 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
{
"name": "monitor-video-streams-api",
"version": "1.0.0",
"description": "This service checks how many video streams a given user is watching and caps the number of concurrently viewable video streams to 3.",
"main": "src/backend/serverStart.js",
"engines": {
"node": ">=10 <11"
},
"scripts": {
"test:backend": "mocha \"src/backend/*.test.js\"",
"test:backend:watch": "npm run test -- --watch",
"start": "npm run start:backend",
"start:backend": "node src/backend/serverStart.js",
"start:backend:dev": "nodemon",
"start:frontend:dev": "webpack-dev-server",
"start:all:dev": "concurrently webpack-dev-server nodemon",
"build:frontend": "NODE_ENV=production SOCKET_URL=https://monitor-video-streams-api.herokuapp.com webpack",
"build:frontend:dev": "webpack",
"eslint": "eslint",
"eslint:rules:list": "run() { eslint --print-config \"${1:-webpack.config.js}\"; }; run",
"eslint:prettier:rules:check": "run() { eslint --print-config \"${1:-webpack.config.js}\" | eslint-config-prettier-check; }; run"
},
"repository": {
"type": "git",
"url": "git+https://github.com/leebenmorris/monitor-video-streams-api.git"
},
"author": "",
"license": "ISC",
"bugs": {
"url": "https://github.com/leebenmorris/monitor-video-streams-api/issues"
},
"homepage": "https://github.com/leebenmorris/monitor-video-streams-api#readme",
"devDependencies": {
"@babel/core": "^7.6.4",
"@babel/preset-env": "^7.6.3",
"babel-loader": "^8.0.6",
"chai": "^4.2.0",
"clean-webpack-plugin": "^3.0.0",
"concurrently": "^5.0.0",
"css-loader": "^3.2.0",
"eslint": "^6.5.1",
"eslint-config-airbnb-base": "^14.0.0",
"eslint-config-prettier": "^6.4.0",
"eslint-plugin-import": "^2.18.2",
"eslint-plugin-mocha": "^6.1.1",
"eslint-plugin-prettier": "^3.1.1",
"html-webpack-plugin": "^3.2.0",
"husky": "^3.0.9",
"lint-staged": "^9.4.2",
"mocha": "^6.2.1",
"nodemon": "^1.19.3",
"open-cli": "^5.0.0",
"prettier": "1.18.2",
"style-loader": "^1.0.0",
"webpack": "^4.41.2",
"webpack-cli": "^3.3.9",
"webpack-dev-server": "^3.8.2"
},
"dependencies": {
"socket.io": "^2.3.0",
"socket.io-client": "^2.3.0"
},
"lint-staged": {
"src/backend/*.js": "npm run test:backend",
"*.js": "eslint"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"pre-push": "run() { npm run build:frontend && git diff --exit-code; }; run"
}
}
}