Skip to content

Commit

Permalink
Add package.json for easy npm use
Browse files Browse the repository at this point in the history
  • Loading branch information
myw committed May 16, 2016
1 parent 91e25e7 commit a9648b6
Show file tree
Hide file tree
Showing 2 changed files with 56 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,3 +101,8 @@ Running all tests on chrome:
`wct -p` will keep the browsers alive after test runs (refresh to re-run).

`wct test/some-file.html` will test only the files you specify.

### NPM

This project contains a `package.json` file which contains all of the necessary
dependencies and scripts to make it easy to install and run with `npm` as well.
51 changes: 51 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
{
"name": "plotly-plot",
"version": "0.1.0",
"author": "Misha Wolfson <[email protected]>",
"description": "An element providing an interface to the plotly.js library",
"repository": {
"type": "git",
"url": "[email protected]:ginkgobioworks/plotly-plot.git"
},
"keywords": [
"web-component",
"polymer",
"plotly",
"plotly.js",
"chart",
"plot",
"graph",
"graphing",
"plotting"
],
"main": "plotly-plot.html",
"license": "SEE LICENSE IN http://polymer.github.io/LICENSE.txt",
"homepage": "https://ginkgobioworks.github.io/plotly-plot/",
"dependencies": {
"Polymer": "^1.2.0",
"plotly.js": "^1.10.2"
},
"files": [
"index.html",
"plotly-import.html",
"plotly-plot.html",
"bower.json",
"wct.conf.json",
"CONTRIBUTING.md",
"demo",
"test"
],
"devDependencies": {
"bower": "^1.7.9",
"polyserve": "^0.11.0",
"polylint": "^2.10.1",
"web-component-tester": "^4.0.0"
},
"peerDependencies": {
"Polymer": "^1.2.0"
},
"scripts": {
"start": "polyserve",
"test": "wct"
}
}

0 comments on commit a9648b6

Please sign in to comment.