]> BookStack Code Mirror - website/blob - package.json
Started playing with webidx based search
[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:prod": "./search/webidx.pl public ./static/search.db",
13     "build": "npm-run-all --sequential build:css:prod build:hugo:prod build:search:prod",
14     "serve": "npm-run-all build:hugo:watch",
15     "dev": "npm-run-all --parallel build:hugo:watch build:css:watch",
16     "deploy:server": "rsync -avx --delete --exclude '.git/' --exclude 'node_modules/' --exclude 'search/data/' ./ bs-site:/var/www/bookstackapp.com/",
17     "deploy": "npm-run-all --sequential build:css:prod build:hugo:prod build:search:prod deploy:server",
18     "test": "echo \"Error: no test specified\" && exit 1"
19   },
20   "author": "Dan Brown",
21   "license": "MIT",
22   "devDependencies": {
23     "npm-run-all": "^4.1.5",
24     "sass": "^1.63.6"
25   }
26 }