Add acorn dependency
I'm not clear on why this is needed (currently offline so cannot check). Browserify doesn't work without it since we removed pug which bundled a bunch of weird dev libraries, such as acorn (commit 2d14e5f).
This commit is contained in:
parent
3ae120b3ba
commit
c743f19551
6
package-lock.json
generated
6
package-lock.json
generated
@ -2785,6 +2785,12 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"acorn": {
|
||||
"version": "7.1.0",
|
||||
"resolved": "https://registry.npmjs.org/acorn/-/acorn-7.1.0.tgz",
|
||||
"integrity": "sha512-kL5CuoXA/dgxlBbVrflsflzQ3PAas7RYZB52NOm/6839iVYJgKMJ3cQJD+t2i5+qFa8h3MDpEOJiS64E8JLnSQ==",
|
||||
"dev": true
|
||||
},
|
||||
"acorn-dynamic-import": {
|
||||
"version": "4.0.0",
|
||||
"resolved": "https://registry.npmjs.org/acorn-dynamic-import/-/acorn-dynamic-import-4.0.0.tgz",
|
||||
|
||||
@ -17,7 +17,7 @@
|
||||
"test": "jest",
|
||||
"test:coverage": "jest --coverage",
|
||||
"test:watch": "jest --watch",
|
||||
"js": "browserify -g [ loose-envify purge --NODE_ENV production ] -t babelify ./lib/client/index.js -o ./build/index.prod.js",
|
||||
"js": "browserify ./lib/client/index.js -o ./build/index.prod.js",
|
||||
"js:watch": "watchify -p tsify ./src/client/index.tsx -v -d -o ./build/index.js",
|
||||
"js:uglify": "minify build/index.prod.js -o build/index.js",
|
||||
"css": "node-sass ./src/scss/style.scss -o ./build/",
|
||||
@ -80,6 +80,7 @@
|
||||
"@types/uuid": "^3.4.6",
|
||||
"@typescript-eslint/eslint-plugin": "^2.7.0",
|
||||
"@typescript-eslint/parser": "^2.7.0",
|
||||
"acorn": "^7.1.0",
|
||||
"babel-core": "^7.0.0-bridge.0",
|
||||
"babel-minify": "^0.5.1",
|
||||
"babelify": "^10.0.0",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user