Remove --loose babel parameter that throws errors now

This commit is contained in:
Calvin Montgomery 2019-12-01 16:04:16 -08:00
parent b0b22a7579
commit 9aa73bee7c

View file

@ -45,12 +45,12 @@
}, },
"scripts": { "scripts": {
"build-player": "./bin/build-player.js", "build-player": "./bin/build-player.js",
"build-server": "babel -D --source-maps --loose es6.destructuring,es6.forOf --out-dir lib/ src/", "build-server": "babel -D --source-maps --out-dir lib/ src/",
"flow": "flow", "flow": "flow",
"lint": "eslint src", "lint": "eslint src",
"pretest": "npm run lint", "pretest": "npm run lint",
"postinstall": "./postinstall.sh", "postinstall": "./postinstall.sh",
"server-dev": "babel -D --watch --source-maps --loose es6.destructuring,es6.forOf --verbose --out-dir lib/ src/", "server-dev": "babel -D --watch --source-maps --verbose --out-dir lib/ src/",
"generate-userscript": "$npm_node_execpath gdrive-userscript/generate-userscript $@ > www/js/cytube-google-drive.user.js", "generate-userscript": "$npm_node_execpath gdrive-userscript/generate-userscript $@ > www/js/cytube-google-drive.user.js",
"test": "mocha --recursive --exit test", "test": "mocha --recursive --exit test",
"integration-test": "mocha --recursive --exit integration_test" "integration-test": "mocha --recursive --exit integration_test"