forked from Temmermans/iot-device-simulator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
73 lines (73 loc) · 2 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
{
"name": "cnc-data-simulator",
"version": "1.0.0",
"private": true,
"description": "Simulate a CNC to stream data to Kafka.",
"main": "server.js",
"babel": {
"presets": [
"env"
]
},
"watch": {
"watch:js": "src/assets/js/*.js",
"watch:less": {
"patterns": "src/assets/less",
"extensions": "less"
},
"watch:img": {
"patterns": "src/assets/img",
"extensions": "jpg,jpeg,svg,png,ico"
}
},
"scripts": {
"watch": "npm-watch",
"start": "node ./bin/www",
"dev": "nodemon ./bin/www",
"postinstall": "bower install",
"test": "mocha test",
"build:css": "lessc src/assets/less/main.less public/css/app.min.css -x",
"watch:less": "npm run build:css",
"babelify": "browserify src/assets/js/*.js -o src/compiled/script-compiled.js -t [ babelify --presets [ env ] ]",
"build:js": "npm run babelify && uglifyjs src/compiled/*.js -o public/js/app.min.js",
"watch:js": "npm run build:js",
"build:img": "imagemin src/assets/img/* --out-dir=public/img",
"watch:img": "npm run build:img",
"build": "npm run build:css && npm run build:js && npm run build:img"
},
"author": "Pu Huang",
"email": "awsomekde@gmail.com",
"license": "MIT",
"dependencies": {
"bower": "^1.8.4",
"elementx": "^3.1.2",
"express": "^4.16.3",
"express-handlebars": "^3.0.0",
"gcode-toolpath": "^2.2.0",
"helmet": "^3.12.0",
"kafka-node": "^2.6.1",
"mongodb": "^3.0.7",
"mongoose": "^5.0.17",
"morgan": "^1.9.0",
"ms": "^2.1.1",
"subdomain": "^1.2.0"
},
"devDependencies": {
"babel-cli": "^6.26.0",
"babel-preset-env": "^1.6.1",
"babelify": "^8.0.0",
"browserify": "^16.2.0",
"chai": "^4.1.2",
"cheerio": "^1.0.0-rc.2",
"debug": "^3.1.0",
"errorhandler": "^1.5.0",
"imagemin-cli": "^3.0.0",
"less": "^3.0.2",
"minifier": "^0.8.1",
"mocha": "^5.1.1",
"npm-watch": "^0.3.0",
"rimraf": "^2.6.2",
"supertest": "^3.0.0",
"uglify-js": "^3.3.23"
}
}