aboutsummaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
authorNoah Loomans <noahloomans@gmail.com>2018-07-31 15:23:53 +0200
committerNoah Loomans <noahloomans@gmail.com>2018-07-31 15:23:53 +0200
commita9c832b003daa70ee78cacecc518cebdf4071ca1 (patch)
tree75978d446f22730fc859a24e999108ebdd461359 /package.json
parent614817541a79ec0bbc90f8d6133db408b95dac35 (diff)
Add MAVO version
Diffstat (limited to 'package.json')
-rw-r--r--package.json3
1 files changed, 3 insertions, 0 deletions
diff --git a/package.json b/package.json
index f67f30d..9b3250b 100644
--- a/package.json
+++ b/package.json
@@ -5,10 +5,12 @@
"private": true,
"scripts": {
"start": "node ./bin/www",
+ "start-mavo": "SCHOOL_LEVEL=mavo node ./bin/www",
"setup": "npm install && bower install --allow-root",
"build-dev": "browserify -d -t [ babelify --presets [ es2015 ] ] -e ./public/javascripts/main.js > ./public/javascripts/bundle.js",
"watch": "watchify -v -d -t [ babelify --presets [ es2015 ] ] -e ./public/javascripts/main.js -o ./public/javascripts/bundle.js",
"build": "browserify -t [ babelify --presets [ es2015 ] ] -e ./public/javascripts/main.js | uglifyjs -cm > ./public/javascripts/bundle.js",
+ "build-mavo": "browserify -t [ envify --SCHOOL_LEVEL mavo ] -t [ babelify --presets [ es2015 ] ] -e ./public/javascripts/main.js | uglifyjs -cm > ./public/javascripts/bundle.js",
"postinstall": "bower install --allow-root"
},
"dependencies": {
@@ -21,6 +23,7 @@
"debug": "~2.2.0",
"diacritics": "^1.2.3",
"encoding": "^0.1.12",
+ "envify": "^4.1.0",
"express": "^4.13.4",
"flexibility": "^2.0.1",
"fuzzy": "^0.1.1",