mirror of
https://github.com/SchildiChat/element-web.git
synced 2024-10-01 01:26:12 -04:00
Do less mangling of jenkins builds
This turns off uglification, and turns on the react sanity checks.
This commit is contained in:
parent
b6d5849bec
commit
5cdd234bf2
@ -17,7 +17,7 @@ npm install
|
|||||||
npm run test
|
npm run test
|
||||||
|
|
||||||
# build our artifacts; dumps them in ./vector
|
# build our artifacts; dumps them in ./vector
|
||||||
npm run build
|
npm run build:dev
|
||||||
|
|
||||||
# gzip up ./vector
|
# gzip up ./vector
|
||||||
rm vector-*.tar.gz || true # rm previous artifacts without failing if it doesn't exist
|
rm vector-*.tar.gz || true # rm previous artifacts without failing if it doesn't exist
|
||||||
|
@ -16,7 +16,9 @@
|
|||||||
"build:css": "catw \"src/skins/vector/css/**/*.css\" -o vector/components.css --no-watch",
|
"build:css": "catw \"src/skins/vector/css/**/*.css\" -o vector/components.css --no-watch",
|
||||||
"build:compile": "babel --source-maps -d lib src",
|
"build:compile": "babel --source-maps -d lib src",
|
||||||
"build:bundle": "NODE_ENV=production webpack -p lib/vector/index.js vector/bundle.js",
|
"build:bundle": "NODE_ENV=production webpack -p lib/vector/index.js vector/bundle.js",
|
||||||
|
"build:bundle:dev": "webpack --optimize-occurence-order lib/vector/index.js vector/bundle.js",
|
||||||
"build": "npm run build:css && npm run build:compile && npm run build:bundle",
|
"build": "npm run build:css && npm run build:compile && npm run build:bundle",
|
||||||
|
"build:dev": "npm run build:css && npm run build:compile && npm run build:bundle:dev",
|
||||||
"package": "scripts/package.sh",
|
"package": "scripts/package.sh",
|
||||||
"start:js": "webpack -w src/vector/index.js vector/bundle.js",
|
"start:js": "webpack -w src/vector/index.js vector/bundle.js",
|
||||||
"start:js:prod": "NODE_ENV=production webpack -w src/vector/index.js vector/bundle.js",
|
"start:js:prod": "NODE_ENV=production webpack -w src/vector/index.js vector/bundle.js",
|
||||||
|
Loading…
Reference in New Issue
Block a user