Updated build process

This commit is contained in:
kodxana 2021-01-21 22:53:06 +01:00 committed by GitHub
parent 4f835f0c24
commit e0434192ff
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -5,7 +5,7 @@
"scripts": {
"build:assets": "cpx \"src/**/*.{json,png}\" dist/",
"watch:assets": "cpx --watch -v \"src/**/*.{json,png,svg}\" dist/",
"build:parcel": "cross-env NODE_ENV=production parcel build --no-source-maps --no-minify \"src/scripts/*.{js,ts}\" \"src/**/*.html\"",
"build:parcel": "cross-env NODE_ENV=production parcel build --no-source-maps --no-minify \"src/scripts/*.{js,jsx,ts,tsx}\" \"src/**/*.html\"",
"watch:parcel": "parcel watch --no-hmr --no-source-maps \"src/scripts/*.{js,jsx,ts,tsx}\" \"src/**/*.html\"",
"build:webext": "web-ext build --source-dir ./dist --overwrite-dest",
"build": "npm-run-all -l -p build:parcel build:assets",
@ -31,7 +31,7 @@
"jest": "^26.5.3",
"lodash": "^4.17.20",
"marked": "^1.2.5",
"node-forge": ">=0.10.0",
"node-forge": "^0.10.0",
"node-sass": "^4.14.1",
"npm-run-all": "^4.1.5",
"parcel-bundler": "^1.12.4",