Merge pull request #914 from vector-im/dbkr/package_use_tar

Use tar for packaging because zip can't traverse directory symlinks
pull/935/head
David Baker 2016-02-11 15:09:49 +00:00
commit 95a3354b90
1 changed files with 1 additions and 2 deletions

View File

@ -17,7 +17,7 @@
"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": "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",
"package": "npm run build && (mkdir packages || true) && bestzip packages/vector-`git describe --dirty || echo unknown`.zip vector", "package": "npm run build && mkdir -p packages && tar chvzf packages/vector-`git describe --dirty || echo unknown`.tar.gz vector",
"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",
"start:skins:css": "catw \"src/skins/vector/css/**/*.css\" -o vector/components.css", "start:skins:css": "catw \"src/skins/vector/css/**/*.css\" -o vector/components.css",
@ -51,7 +51,6 @@
"babel": "^5.8.23", "babel": "^5.8.23",
"babel-core": "^5.8.25", "babel-core": "^5.8.25",
"babel-loader": "^5.3.2", "babel-loader": "^5.3.2",
"bestzip": "^1.1.3",
"catw": "^1.0.1", "catw": "^1.0.1",
"css-raw-loader": "^0.1.1", "css-raw-loader": "^0.1.1",
"http-server": "^0.8.4", "http-server": "^0.8.4",