-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
63 lines (63 loc) · 2.41 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
{
"name": "image-hub",
"version": "1.0.0",
"description": "LAN JPEG server and transformer",
"main": "server.js",
"scripts": {
"start": "NODE_ENV=development node_modules/nodemon/bin/nodemon.js bin/www",
"service:status": "sudo systemctl status nginx image-hub-*",
"service:restart": "sudo systemctl restart image-hub-etl image-hub-www",
"service:stop": "sudo systemctl stop image-hub-www.service && sudo systemctl stop image-hub-etl.service",
"service:start": "sudo systemctl start image-hub-www.service && sudo systemctl start image-hub-etl.service",
"service:logs": "journalctl -u nginx -u image-hub-*.service",
"db:reset": "rm -f cam.db && touch cam.db",
"db:images": "sqlite3 cam.db 'select full_path from image order by full_path'",
"build": "npm run bundle && npm run uglify",
"bundle": "browserify ./client/index.js --debug | exorcist ./dist/bundle.js.map > ./dist/bundle.js",
"deploy": "ansible-playbook deploy.yml",
"shutdown": "ansible hubs -m shell -a 'sudo shutdown -h now'",
"wifi": "ansible-playbook deploy-access-point.yml",
"ping": "ansible hubs -m ping",
"watch": "nodemon --ignore ./dist --exec npm run build",
"uglify": "uglifyjs --source-map=\"content='./dist/bundle.js.map',url='bundle.min.js.map'\" --safari10 --output ./dist/bundle.min.js -- ./dist/bundle.js",
"etl": "DEBUG=hub* node_modules/nodemon/bin/nodemon.js etl.js",
"lint": "standard",
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [
"image",
"local"
],
"author": "John Elliott <[email protected]> (http://primitivemachine.com/)",
"license": "",
"dependencies": {
"babel-cli": "^6.26.0",
"babelify": "^8.0.0",
"better-sqlite3": "^4.1.0",
"browserify": "^16.1.0",
"choo": "^6.7.0",
"debug": "^3.1.0",
"dotenv": "^5.0.1",
"ecstatic": "^3.0.0",
"exiftool.js": "^0.3.0",
"exorcist": "^1.0.0",
"express": "^4.16.2",
"gm": "^1.23.0",
"listdirs": "^3.0.0",
"morgan": "^1.9.0",
"multer": "^1.3.0",
"node-watch": "^0.5.5",
"nodemon": "^1.12.7",
"oled-font-5x7": "^1.0.0",
"oled-ssd1306-i2c": "https://github.com/jaimehrubiks/oled_ssd1306_i2c.git",
"pug": "^2.0.0-rc.4",
"recursive-readdir": "^2.2.1",
"rimraf": "^2.6.2",
"sharp": "^0.19.1",
"standard": "^11.0.1",
"uglify-es": "^3.3.10"
},
"devDependencies": {
"babel-preset-env": "^1.6.1"
}
}