Flow compliance and fix a few bugs in rpc.js

This commit is contained in:
Caleb James DeLisle
2017-11-30 18:32:20 +01:00
parent 96cf83af34
commit 5187b3f26c
5 changed files with 55 additions and 28 deletions

View File

@@ -13,12 +13,14 @@
"devDependencies": {
"jshint": "~2.9.1",
"selenium-webdriver": "^2.53.1",
"less": "2.7.1"
"less": "2.7.1",
"flow-bin": "^0.59.0"
},
"scripts": {
"start": "node server.js",
"dev": "DEV=1 node server.js",
"lint": "jshint --config .jshintrc --exclude-path .jshintignore .",
"flow": "./node_modules/.bin/flow",
"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;"
}