diff options
author | Florian Dold <florian.dold@gmail.com> | 2017-04-24 23:18:15 +0200 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2017-04-24 23:18:15 +0200 |
commit | c26ee93d53a0b5fe6f20b03c1dbcee54f217cd2b (patch) | |
tree | 55e6f640033b9c1929d0fc713fae121a91ffb775 /package.json | |
parent | cee7786b0015d63536cec77d5ad2c9f73f3f02ec (diff) | |
download | wallet-core-c26ee93d53a0b5fe6f20b03c1dbcee54f217cd2b.tar.gz wallet-core-c26ee93d53a0b5fe6f20b03c1dbcee54f217cd2b.tar.bz2 wallet-core-c26ee93d53a0b5fe6f20b03c1dbcee54f217cd2b.zip |
Optimize production builds.
Uses UglifyJS, and thus TypeScript needs to compile down to ES5, since
UglifyJS does not yet fully support ES6. Once all ES6 bugs in UglifyJS,
we should compile to ES6 again.
Diffstat (limited to 'package.json')
-rw-r--r-- | package.json | 25 |
1 files changed, 12 insertions, 13 deletions
diff --git a/package.json b/package.json index d750c3519..f6675834a 100644 --- a/package.json +++ b/package.json @@ -14,6 +14,9 @@ "author": "", "license": "GPL-3.0", "devDependencies": { + "@types/react": "^15.0.22", + "@types/react-dom": "^15.5.0", + "async": "^2.1.2", "better-assert": "^1.0.2", "connect": "^3.5.0", "del": "^2.2.0", @@ -29,12 +32,16 @@ "gulp-tar": "^1.8.0", "gulp-typescript": "^3.0.2", "gulp-zip": "^3.1.0", + "html-webpack-plugin": "^2.28.0", "istanbul": "^0.4.5", "istanbul-lib-instrument": "^1.0.0-alpha.6", + "jed": "^1.1.1", "map-stream": "0.0.6", "minimist": "^1.2.0", "mocha": "^2.4.5", "po2json": "git+https://github.com/mikeedwards/po2json", + "react": "^15.5.4", + "react-dom": "^15.5.4", "selenium-webdriver": "^3.0.1", "serve-static": "^1.11.1", "systemjs": "^0.19.14", @@ -43,19 +50,11 @@ "ts-loader": "^2.0.3", "typescript": "next", "typhonjs-istanbul-instrument-jspm": "^0.1.0", - "uglify-js": "git://github.com/mishoo/UglifyJS2#harmony", - "vinyl": "^2.0.0", - "vinyl-fs": "^2.4.3" - }, - "dependencies": { - "@types/react": "^15.0.22", - "@types/react-dom": "^15.5.0", - "async": "^2.1.2", - "html-webpack-plugin": "^2.28.0", - "jed": "^1.1.1", - "react": "^15.5.4", - "react-dom": "^15.5.4", "urijs": "^1.18.10", - "webpack": "^2.4.1" + "vinyl": "^2.0.0", + "vinyl-fs": "^2.4.3", + "webpack": "^2.4.1", + "webpack-merge": "^4.1.0", + "uglify-js": "^2.8.22" } } |