Skip to content
This repository has been archived by the owner on Nov 13, 2020. It is now read-only.

Commit

Permalink
update babel 5 to babel 6, fix #4
Browse files Browse the repository at this point in the history
  • Loading branch information
alphatr committed Jan 16, 2017
1 parent 8b77b8e commit 7c46268
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 14 deletions.
4 changes: 4 additions & 0 deletions .babelrc
@@ -0,0 +1,4 @@
{
"presets": ["es2015"],
"plugins": ["add-module-exports", "transform-es2015-modules-commonjs"]
}
31 changes: 17 additions & 14 deletions package.json
@@ -1,33 +1,36 @@
{
"name": "think-react-render",
"description": "react server side rendering for thinkjs 2.x",
"version": "1.0.3",
"version": "2.0.0",
"author": {},
"scripts": {
"test": "mocha --reporter spec --timeout 5000 --recursive test/",
"test-cov": "istanbul cover ./node_modules/mocha/bin/_mocha -- -t 5000 --recursive -R spec test/",
"compile": "babel --loose all --optional runtime --stage 0 --modules common src/ --out-dir lib/",
"compile": "babel src/ --out-dir lib/",
"watch-compile": "npm run compile -- --watch",
"prepublish": "npm run compile",
"eslint": "eslint src/"
},
"contributors": [],
"main": "lib/index.js",
"dependencies": {
"babel-runtime": "5.8.25",
"node-jsx": "^0.13.3",
"react": "^0.14.6",
"react-dom": "^0.14.6"
"babel-runtime": "6.20.x",
"node-jsx": "0.13.x",
"react": "15.4.x",
"react-dom": "15.4.x"
},
"devDependencies": {
"babel": "5.8.23",
"babel-eslint": "4.1.3",
"chai": "^3.4.1",
"coveralls": "^2.11.9",
"eslint": "1.8.0",
"istanbul": "0.4.0",
"jsdom": "^7.2.2",
"mocha": "1.20.1",
"babel-cli": "6.18.x",
"babel-eslint": "7.1.x",
"babel-plugin-add-module-exports": "^0.2.1",
"babel-plugin-transform-es2015-modules-commonjs": "^6.18.0",
"babel-preset-es2015": "^6.18.0",
"chai": "3.5.x",
"coveralls": "2.11.x",
"eslint": "3.13.x",
"istanbul": "0.4.x",
"jsdom": "9.9.x",
"mocha": "3.2.x",
"thinkjs": "2.x.x"
},
"keywords": [
Expand Down

0 comments on commit 7c46268

Please sign in to comment.