Skip to content
  • Sponsor plotly/plotly.js

  • Notifications You must be signed in to change notification settings
  • Fork 1.9k

Commit ed2e8c5

Browse files
committedNov 17, 2015
Merge pull request #9 from plotly/auto-version
Add npm version script wrapper
2 parents c7378ea + 393d74c commit ed2e8c5

File tree

3 files changed

+16
-6
lines changed

3 files changed

+16
-6
lines changed
 

‎.npmignore

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
build/*
2+
!build/README.md
3+
4+
devtools
5+
test
6+
dist/extras/mathjax
7+
8+
circle.yml

‎README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,8 @@ Open-source clients to the plotly.js APIs are available at these links:
8181
|**R / RStudio**| [ropensci/plotly](https://github.com/ropensci/plotly) | [plot.ly/r/getting-started](https://plot.ly/r/getting-started) |
8282
|**Python / Pandas / IPython notebook**| [plotly/plotly.py](https://github.com/plotly/plotly.py) | [plot.ly/python/getting-started](https://plot.ly/python/getting-started) |
8383
|**MATLAB**| [plotly/matlab-api](https://github.com/plotly/matlab-api) | [plot.ly/matlab/getting-started](https://plot.ly/matlab/getting-started) |
84-
|**node.js**| [plotly/plotly-nodejs](https://github.com/plotly/plotly-nodejs) | [plot.ly/nodejs/getting-started/](https://plot.ly/nodejs/getting-started) |
85-
|**Julia**| [plotly/Plotly.jl](https://github.com/plotly/Plotly.jl) | [plot.ly/julia/getting-started/](https://plot.ly/julia/getting-started) |
84+
|**node.js**| [plotly/plotly-nodejs](https://github.com/plotly/plotly-nodejs) | [plot.ly/nodejs/getting-started](https://plot.ly/nodejs/getting-started) |
85+
|**Julia**| [plotly/Plotly.jl](https://github.com/plotly/Plotly.jl) | [plot.ly/julia/getting-started](https://plot.ly/julia/getting-started) |
8686
8787
plotly.js charts can also be created and saved online for free at [plot.ly/plot](https://plot.ly/plot).
8888
@@ -101,6 +101,6 @@ plotly.js charts can also be created and saved online for free at [plot.ly/plot]
101101
102102
Code and documentation copyright 2015 Plotly, Inc.
103103
104-
Code released under [the MIT license](https://github.com/plotly/plotly.js/blob/master/LICENSE).
104+
Code released under the [MIT license](https://github.com/plotly/plotly.js/blob/master/LICENSE).
105105
106-
Docs released under [Creative Commons](https://github.com/plotly/documentation/blob/source/LICENSE).
106+
Docs released under the [Creative Commons license](https://github.com/plotly/documentation/blob/source/LICENSE).

‎package.json

+4-2
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"bugs": {
1212
"url": "https://github.com/plotly/plotly.js/issues"
1313
},
14-
"author": "Plotly Inc.",
14+
"author": "Plotly, Inc.",
1515
"keywords": [
1616
"graphing",
1717
"plotting",
@@ -33,7 +33,9 @@
3333
"test": "npm run test-jasmine && npm test-image",
3434
"start-test_dashboard": "node devtools/test_dashboard/server.js",
3535
"start-image_viewer": "node devtools/image_viewer/server.js",
36-
"baseline": "./tasks/baseline.sh"
36+
"baseline": "./tasks/baseline.sh",
37+
"version": "npm run build && git add -A dist",
38+
"postversion": "git push && git push --tags"
3739
},
3840
"dependencies": {
3941
"3d-view": "^2.0.0",

0 commit comments

Comments
 (0)