2 "name": "bookstack-site",
4 "description": "The front-end site for bookstack",
7 "build:css:prod": "sass ./themes/bookstack/sass:./themes/bookstack/static/css -s compressed",
8 "build:css:dev": "sass ./themes/bookstack/sass:./themes/bookstack/static/css",
9 "build:css:watch": "sass ./themes/bookstack/sass:./themes/bookstack/static/css --watch",
10 "build:hugo:prod": "hugo",
11 "build:hugo:watch": "hugo serve -DF",
12 "build:search": "./search/webidx.pl public ./static/search.db",
13 "build:search:compress": "brotli -fZk ./static/search.db && gzip -fk9 ./static/search.db",
14 "build": "npm-run-all --sequential build:css:prod build:search build:hugo:prod",
15 "serve": "npm-run-all build:hugo:watch",
16 "dev": "npm-run-all --parallel build:hugo:watch build:css:watch",
17 "deploy:server": "rsync -avx --delete --exclude '.git/' --exclude 'node_modules/' --exclude 'search/data/' ./ bs-site:/var/www/bookstackapp.com/",
18 "deploy": "npm-run-all --sequential build:css:prod build:search build:search:compress build:hugo:prod deploy:server",
19 "test": "echo \"Error: no test specified\" && exit 1"
21 "author": "Dan Brown",
24 "npm-run-all": "^4.1.5",