add npm sub-commands

This commit is contained in:
ansuz 2017-08-24 11:34:46 +02:00
parent 013b75ae67
commit 78404ce8b7

View file

@ -16,6 +16,8 @@
"less": "2.7.1"
},
"scripts": {
"start": "node server.js",
"dev": "DEV=1 node server.js",
"lint": "jshint --config .jshintrc --exclude-path .jshintignore .",
"test": "node TestSelenium.js",
"template": "cd customize.dist/src && for page in ../index.html ../privacy.html ../terms.html ../about.html ../contact.html ../what-is-cryptpad.html ../../www/login/index.html ../../www/register/index.html ../../www/settings/index.html ../../www/user/index.html;do echo $page; cp template.html $page; done;"