✈️ migrate to babel STAGE-3

This commit is contained in:
abdennour 2017-02-17 17:23:00 +03:00
commit 298ca64675
15 changed files with 4543 additions and 13 deletions

View file

@ -4,14 +4,16 @@
"description": "Build CSV files on the fly basing on Array/literal object of data ",
"main": "index.js",
"scripts": {
"compile": "babel --presets es2015,stage-0,react -d lib/ src/",
"prepublish": "npm run compile",
"cdn": "node cdn/generator.js",
"compile": "babel -d lib/ src/ --no-comments",
"prepublish": "npm run compile && npm run cdn",
"pretest": "npm run compile",
"test2": "node_modules/.bin/_mocha test",
"test": "node_modules/.bin/babel-node node_modules/.bin/babel-istanbul cover node_modules/.bin/_mocha -- test/*.js",
"coverage": "istanbul cover _mocha -- --ui bdd -R spec -t 5000;open ./coverage/lcov-report/index.html",
"cover": "node_modules/.bin/babel-node node_modules/.bin/babel-istanbul cover node_modules/.bin/_mocha",
"coveralls": "npm run cover -- --report lcovonly && cat ./coverage/lcov.info | coveralls"
"coveralls": "npm run cover -- --report lcovonly && cat ./coverage/lcov.info | coveralls",
"docgen": "documentation build src/** -f html -o docs"
},
"repository": {
"type": "git",
@ -40,14 +42,24 @@
"babel-cli": "^6.18.0",
"babel-core": "^6.18.2",
"babel-istanbul": "^0.11.0",
"babel-loader": "^6.2.8",
"babel-plugin-react-html-attrs": "^2.0.0",
"babel-plugin-syntax-decorators": "^6.13.0",
"babel-plugin-transform-class-properties": "^6.19.0",
"babel-plugin-transform-decorators-legacy": "^1.3.4",
"babel-plugin-transform-es2015-modules-commonjs": "^6.18.0",
"babel-polyfill": "^6.16.0",
"babel-preset-es2015": "^6.18.0",
"babel-preset-react": "^6.16.0",
"babel-preset-stage-0": "^6.16.0",
"babel-preset-stage-3": "^6.16.0",
"browserify": "^13.3.0",
"console-info": "0.0.4",
"coveralls": "^2.11.15",
"css-loader": "^0.26.1",
"enzyme": "^2.6.0",
"expect": "^1.20.2",
"extract-text-webpack-plugin": "^1.0.1",
"isparta-loader": "^2.0.0",
"jsdom": "9.8.3",
"jsdom-global": "2.1.0",
"mocha": "^3.2.0",
@ -55,9 +67,13 @@
"react": "^15.4.1",
"react-addons-test-utils": "^15.4.1",
"react-dom": "^15.4.1",
"sinon": "^1.17.6"
},
"dependencies": {
"x-object": "^1.0.10"
"sass-loader": "^4.0.2",
"sinon": "^1.17.6",
"style-loader": "^0.13.1",
"uglify-js": "^2.7.5",
"webpack": "^1.13.3",
"webpack-dev-middleware": "^1.8.4",
"webpack-dev-server": "^1.16.2",
"webpack-hot-middleware": "^2.13.2"
}
}