-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathpackage.json
79 lines (79 loc) · 2.8 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
69
70
71
72
73
74
75
76
77
78
79
{
"name": "roborock-web",
"version": "0.1.0",
"description": "Simple web UI to control Xiaomi Roborock S50 vacuum",
"author": "nuc134r",
"private": true,
"scripts": {
"start": "npm run serve",
"build": "npm run build-sass && npm run build-ts && npm run tslint && npm run copy-static-assets",
"serve": "node dist/server.js",
"watch-node": "nodemon dist/server.js",
"watch": "concurrently -k -p \"[{name}]\" -n \"Sass,TypeScript,Node\" -c \"yellow.bold,cyan.bold,green.bold\" \"npm run watch-sass\" \"npm run watch-ts\" \"npm run watch-node\"",
"test": "jest --forceExit --coverage --verbose",
"watch-test": "npm run test -- --watchAll",
"build-ts": "tsc && npm run bundle-client-js",
"watch-ts": "tsc -w",
"build-sass": "node-sass src/public/css/main.scss dist/public/css/main.css",
"watch-sass": "node-sass -w src/public/css/main.scss dist/public/css/main.css",
"tslint": "tslint -c tslint.json -p tsconfig.json",
"copy-static-assets": "ts-node copyStaticAssets.ts",
"debug": "npm run build && npm run watch-debug",
"serve-debug": "nodemon --inspect dist/server.js",
"watch-debug": "concurrently -k -p \"[{name}]\" -n \"Sass,TypeScript,Node\" -c \"yellow.bold,cyan.bold,green.bold\" \"npm run watch-sass\" \"npm run watch-ts\" \"npm run serve-debug\"",
"bundle-client-js": "browserify dist/public/js/main.js -o dist/public/js/main.js"
},
"dependencies": {
"async": "^2.6.0",
"bcrypt-nodejs": "^0.0.3",
"body-parser": "^1.18.2",
"compression": "^1.7.1",
"dotenv": "^4.0.0",
"errorhandler": "^1.5.0",
"express": "^4.16.2",
"lodash": "^4.17.5",
"lusca": "^1.5.2",
"miio": "^0.15.6",
"pug": "^2.0.0-rc.4",
"request": "^2.88.0",
"request-promise": "^4.2.2",
"vue": "^2.5.21",
"winston": "^2.4.0"
},
"devDependencies": {
"@types/async": "^2.0.45",
"@types/bcrypt-nodejs": "^0.0.30",
"@types/body-parser": "^1.16.8",
"@types/compression": "^0.0.35",
"@types/connect-mongo": "^0.0.35",
"@types/dotenv": "^4.0.2",
"@types/errorhandler": "^0.0.32",
"@types/express": "^4.11.1",
"@types/jest": "^22.1.3",
"@types/jquery": "^3.2.17",
"@types/lusca": "^1.5.0",
"@types/morgan": "^1.7.35",
"@types/node": "^9.4.6",
"@types/request": "^2.47.0",
"@types/shelljs": "^0.7.8",
"@types/vue": "2.0.0",
"@types/supertest": "^2.0.4",
"@types/winston": "^2.3.7",
"browserify": "^16.2.3",
"browserify-swap": "0.2.2",
"chai": "^4.1.2",
"concurrently": "^3.5.1",
"jest": "^22.0.4",
"node-sass": "^4.11.0",
"nodemon": "^1.18.9",
"shelljs": "^0.8.1",
"supertest": "^3.0.0",
"ts-jest": "^22.0.4",
"ts-node": "^5.0.0",
"tslint": "^5.9.1",
"typescript": "^2.7.2"
},
"browser": {
"vue": "vue/dist/vue.common.js"
}
}