🐛 Full ES6 => ES5 transpiling
This commit is contained in:
parent
88e598f794
commit
6d6af1092d
|
@ -7,7 +7,7 @@
|
||||||
"url": "git+https://github.com/MattouFP/chaos.git"
|
"url": "git+https://github.com/MattouFP/chaos.git"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "browserify -t [ babelify --presets [ es2015 ] ] scripts/index.js > bundle.js"
|
"build": "browserify -t [ babelify --presets [ es2015 ] ] scripts/index.js | babel --presets es2015 > bundle.js"
|
||||||
},
|
},
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"chaos",
|
"chaos",
|
||||||
|
@ -23,7 +23,9 @@
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"babel-preset-es2015": "^6.3.13",
|
"babel-preset-es2015": "^6.3.13",
|
||||||
"babelify": "^7.2.0",
|
"babelify": "^7.2.0",
|
||||||
|
"babel-cli": "^6.3.17",
|
||||||
"browserify": "^12.0.1",
|
"browserify": "^12.0.1",
|
||||||
|
|
||||||
"the-dom": "^0.1.0"
|
"the-dom": "^0.1.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue