Upgrade to babel6 and enable some presets.
This commit is contained in:
17
package.json
17
package.json
@@ -14,8 +14,8 @@
|
||||
},
|
||||
"scripts": {
|
||||
"reskindex": "./reskindex.js -h header",
|
||||
"build": "babel src -d lib --source-maps --stage 1",
|
||||
"start": "babel src -w -d lib --source-maps --stage 1",
|
||||
"build": "babel src -d lib --source-maps",
|
||||
"start": "babel src -w -d lib --source-maps",
|
||||
"lint": "eslint src/",
|
||||
"lintall": "eslint src/ test/",
|
||||
"clean": "rimraf lib",
|
||||
@@ -24,6 +24,7 @@
|
||||
"test-multi": "karma start $KARMAFLAGS --single-run=false"
|
||||
},
|
||||
"dependencies": {
|
||||
"babel-runtime": "^6.11.6",
|
||||
"browser-request": "^0.3.3",
|
||||
"classnames": "^2.1.2",
|
||||
"draft-js": "^0.8.1",
|
||||
@@ -56,11 +57,17 @@
|
||||
"let's stick with v5 for now."
|
||||
],
|
||||
"devDependencies": {
|
||||
"babel": "^5.8.23",
|
||||
"babel-core": "^5.8.38",
|
||||
"babel-cli": "^6.5.2",
|
||||
"babel-core": "^6.14.0",
|
||||
"babel-eslint": "^6.1.0",
|
||||
"babel-loader": "^5.4.0",
|
||||
"babel-loader": "^6.2.5",
|
||||
"babel-plugin-transform-runtime": "^6.15.0",
|
||||
"babel-polyfill": "^6.5.0",
|
||||
"babel-preset-es2015": "^6.14.0",
|
||||
"babel-preset-es2016": "^6.11.3",
|
||||
"babel-preset-es2017": "^6.14.0",
|
||||
"babel-preset-react": "^6.11.1",
|
||||
"babel-preset-stage-0": "^6.5.0",
|
||||
"eslint": "^2.13.1",
|
||||
"eslint-plugin-flowtype": "^2.17.0",
|
||||
"eslint-plugin-react": "^6.2.1",
|
||||
|
||||
Reference in New Issue
Block a user