From c26ee93d53a0b5fe6f20b03c1dbcee54f217cd2b Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Mon, 24 Apr 2017 23:18:15 +0200 Subject: 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. --- package.json | 25 ++++++++++++------------- 1 file changed, 12 insertions(+), 13 deletions(-) (limited to 'package.json') 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" } } -- cgit v1.2.3