diff --git a/package.json b/package.json index d3b2438b01..bb1ba0d1af 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "recharts", - "version": "0.13.4", + "version": "1.0.34", "description": "React charts", "main": "lib/index", "jsnext:main": "es6/index", @@ -60,14 +60,17 @@ "babel-eslint": "^6.1.0", "babel-loader": "^6.2.4", "babel-plugin-lodash": "^3.2.0", + "babel-plugin-react-transform": "^2.0.2", "babel-plugin-transform-class-properties": "^6.10.0", "babel-plugin-transform-decorators-legacy": "^1.3.4", "babel-plugin-transform-export-extensions": "^6.8.0", "babel-plugin-transform-function-bind": "^6.8.0", "babel-plugin-transform-object-rest-spread": "^6.8.0", + "babel-plugin-transform-runtime": "^6.23.0", "babel-polyfill": "^6.9.0", "babel-preset-es2015": "^6.9.0", "babel-preset-react": "^6.11.0", + "babel-preset-stage-0": "^6.24.1", "chai": "^3.5.0", "chai-enzyme": "^0.5.1", "enzyme": "^2.3.0", diff --git a/release.sh b/release.sh index 8311b58eba..8ef563813f 100644 --- a/release.sh +++ b/release.sh @@ -4,4 +4,5 @@ RELEASE_ID=$(curl --data "{\"tag_name\": \"v1.0.$COMMIT_COUNT\", \"target_commit echo "Creating distribution tarball" tar -cvzf release.tar.gz README.md package.json LICENSE umd/ lib/ es6/ echo "Uploading tarball artifact to release" +echo $RELEASE_ID curl -XPOST -H "Authorization:token $GITHUB_AUTH_TOKEN" -H "Content-Type:application/octet-stream" --data-binary @release.tar.gz https://uploads.github.com/repos/Asimmetric/recharts/releases/$RELEASE_ID/assets?name=release.tar.gz \ No newline at end of file