From a9648b6184c926b248845562b2c6871b362195db Mon Sep 17 00:00:00 2001 From: Misha Wolfson Date: Mon, 16 May 2016 18:51:51 -0400 Subject: [PATCH] Add package.json for easy npm use --- README.md | 5 +++++ package.json | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 56 insertions(+) create mode 100644 package.json diff --git a/README.md b/README.md index a10a598..7589930 100644 --- a/README.md +++ b/README.md @@ -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. diff --git a/package.json b/package.json new file mode 100644 index 0000000..7f52697 --- /dev/null +++ b/package.json @@ -0,0 +1,51 @@ +{ + "name": "plotly-plot", + "version": "0.1.0", + "author": "Misha Wolfson ", + "description": "An element providing an interface to the plotly.js library", + "repository": { + "type": "git", + "url": "git@github.com: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" + } +}