Skip to content

Commit

Permalink
Merge pull request #16 from plotly/develop
Browse files Browse the repository at this point in the history
v1.0.3
  • Loading branch information
rreusser committed Oct 26, 2017
2 parents bad0559 + 500fdbf commit 4d22ac1
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions package.json
@@ -1,6 +1,6 @@
{
"name": "react-plotly.js",
"version": "1.0.2",
"version": "1.0.3",
"license": "MIT",
"description": "A plotly.js react component from Plotly",
"author": "Plotly, Inc.",
Expand All @@ -16,11 +16,11 @@
"start": "budo example/src/index.js --dir example/src --dir example --open --live --host localhost -- -p [ css-modulesify --after autoprefixer --autoprefixer.browsers \"> 5%\" -o example/assets/styles.css ] -t [ babelify --presets [ es2015 react ] --plugins transform-class-properties ] -t brfs",
"example:build:html": "cp example/src/index.html example/dist/index.html",
"example:build:js": "browserify example/src/index.js -p [ css-modulesify --after autoprefixer --autoprefixer.browsers \"> 5%\" -o example/dist/styles.css ] -t [ babelify --presets [ es2015 react ] --plugins transform-class-properties ] -t brfs -g [ envify --NODE_ENV production ] -p bundle-collapser/plugin | uglifyjs --compress --mangle > example/dist/index.js",
"example:build:assets": "rm -rf example/dist/assets && cp -r example/assets example/dist/assets",
"example:build": "rm -rf docs/example example/dist && mkdirp example/dist && npm run example:build:html && npm run example:build:js && npm run example:build:assets && mv example/dist docs/example",
"example:build:assets": "rimraf example/dist/assets && cp -r example/assets example/dist/assets",
"example:build": "rimraf docs/example example/dist && mkdirp example/dist && npm run example:build:html && npm run example:build:js && npm run example:build:assets && mv example/dist docs/example",
"make:lib": "mkdirp lib && babel src --out-dir=lib --ignore __tests__/*.js,__mocks__/*.js --presets=es2015,react --source-maps --plugins babel-plugin-add-module-exports && mv lib/* ./ && rmdir lib",
"make:dist": "mkdirp dist && browserify src/factory.js -o ./dist/create-plotly-component.js -t [ babelify --presets [ es2015 react ] --plugins add-module-exports ] -t browserify-global-shim --standalone createPlotlyComponent && uglifyjs ./dist/create-plotly-component.js --compress --mangle --output ./dist/create-plotly-component.min.js --source-map filename=dist/create-plotly-component.min.js.map",
"clean": "rm -rf lib dist react-plotly.js react-plotly.js.map factory.js factory.js.map",
"clean": "rimraf lib dist react-plotly.js react-plotly.js.map factory.js factory.js.map",
"prepublishOnly": "npm run clean && npm run make:lib && npm run make:dist",
"lint": "prettier --trailing-comma es5 --write \"{src,example/src}/**/*.js\" && eslint src",
"precommit": "lint-staged",
Expand Down Expand Up @@ -75,6 +75,7 @@
"react-dat-gui": "0.0.13",
"react-dom": "^15.6.1",
"react-test-renderer": "^15.6.1",
"rimraf": "^2.6.2",
"throttle-debounce": "^1.0.1",
"uglify-js": "^3.0.26"
},
Expand Down

0 comments on commit 4d22ac1

Please sign in to comment.