]> BookStack Code Mirror - website/blob - package.json
Updated v25.02 post time
[website] / package.json
1 {
2   "name": "bookstack-site",
3   "version": "1.0.0",
4   "description": "The front-end site for bookstack",
5   "main": "gulpfile.js",
6   "scripts": {
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"
20   },
21   "author": "Dan Brown",
22   "license": "MIT",
23   "devDependencies": {
24     "npm-run-all": "^4.1.5",
25     "sass": "^1.70.0"
26   }
27 }