performance improvements
Showing
... | ... | @@ -4,11 +4,16 @@ |
"private": true, | ||
"scripts": { | ||
"start": "PORT=3001 node ./bin/www", | ||
"build-atlasmaker": "webpack --config webpack.atlasmaker.config.js && cp view/atlasmaker/dist/atlasmaker.js public/lib/atlasmaker.js", | ||
"build-atlasmaker-tools": "webpack --config webpack.atlasmaker-tools.config.js && cp -r view/atlasmaker/dist/atlasmaker-tools public/lib/", | ||
"build-brainbox": "webpack --config webpack.brainbox.config.js && cp view/brainbox/dist/brainbox.js public/lib/brainbox.js", | ||
"build-pages": "webpack --config webpack.pages.config.js && cp view/brainbox/dist/*-page.js public/js/", | ||
"build-atlasmaker": "webpack --mode production --config webpack.atlasmaker.config.js && cp view/atlasmaker/dist/atlasmaker.js public/lib/atlasmaker.js", | ||
"build-atlasmaker-tools": "webpack --mode production --config webpack.atlasmaker-tools.config.js && cp -r view/atlasmaker/dist/atlasmaker-tools public/lib/", | ||
"build-brainbox": "webpack --mode production --config webpack.brainbox.config.js && cp view/brainbox/dist/brainbox.js public/lib/brainbox.js", | ||
"build-pages": "webpack --mode production --config webpack.pages.config.js && cp view/brainbox/dist/*-page.js public/js/", | ||
"build": "npm run build-atlasmaker && npm run build-atlasmaker-tools && npm run build-brainbox && npm run build-pages", | ||
"dev-atlasmaker": "webpack --mode development --config webpack.atlasmaker.config.js && cp view/atlasmaker/dist/atlasmaker.js public/lib/atlasmaker.js", | ||
"dev-atlasmaker-tools": "webpack --mode development --config webpack.atlasmaker-tools.config.js && cp -r view/atlasmaker/dist/atlasmaker-tools public/lib/", | ||
"dev-brainbox": "webpack --mode development --config webpack.brainbox.config.js && cp view/brainbox/dist/brainbox.js public/lib/brainbox.js", | ||
"dev-pages": "webpack --mode development --config webpack.pages.config.js && cp view/brainbox/dist/*-page.js public/js/", | ||
"dev": "npm run dev-atlasmaker && npm run dev-atlasmaker-tools && npm run dev-brainbox && npm run dev-pages", | ||
"mocha-test": "mocha ./test/runner.js test/unit/*.js test/integration/*.js", | ||
"lint": "eslint .", | ||
"test": "docker exec brainbox_web_1 /bin/bash -c 'cd /brainbox && npm run mocha-test'" | ||
... | ... | @@ -16,6 +21,7 @@ |
"dependencies": { | ||
"async": "^2.0.1", | ||
"body-parser": "~1.18.2", | ||
"compression": "^1.7.4", | ||
"cookie-parser": "~1.4.3", | ||
"crypto": "1.0.1", | ||
"dateformat": "^3.0.3", | ||
... | ... |
Please register or sign in to comment