Bug fix for dygraph point selection touch event.
[dygraphs.git] / package.json
index de85acc..70fbc89 100644 (file)
@@ -1,12 +1,18 @@
 {
   "name": "dygraphs",
-  "version": "1.1.0",
+  "version": "2.1.0",
   "description": "dygraphs is a fast, flexible open source JavaScript charting library.",
-  "main": "dygraph.js",
-  "directories": {
-    "doc": "docs",
-    "test": "tests"
-  },
+  "main": "index.es5",
+  "module": "index",
+  "jsnext:main": "index",
+  "files": [
+    "index.js",
+    "index.es5.js",
+    "docs",
+    "dist",
+    "src",
+    "src-es5"
+  ],
   "repository": {
     "type": "git",
     "url": "git://github.com/danvk/dygraphs.git"
   },
   "homepage": "https://github.com/danvk/dygraphs",
   "devDependencies": {
-    "closure-compiler": "^0.2.6",
+    "babel": "^5.8.23",
+    "babel-core": "^5.8.25",
+    "babelify": "^6.3.0",
+    "browserify": "^11.2.0",
+    "browserify-header": "^0.9.2",
+    "chai": "^3.3.0",
+    "clean-css": "^3.4.23",
+    "core-js": "^2.4.1",
     "coveralls": "^2.11.2",
-    "gulp": "^3.8.10",
-    "gulp-concat": "^2.4.3",
-    "gulp-eslint": "^0.2.0",
-    "gulp-header": "^1.2.2",
-    "gulp-load-plugins": "^0.8.0",
-    "gulp-rename": "^1.2.0",
-    "gulp-replace": "^0.5.0",
-    "gulp-shell": "^0.4.0",
-    "gulp-sourcemaps": "^1.3.0",
-    "gulp-uglify": "^1.0.2",
+    "envify": "^3.4.0",
+    "exorcist": "^0.4.0",
+    "http-server": "^0.8.5",
+    "istanbul": "^0.4.0",
     "jshint": "^2.5.10",
-    "karma": "^0.12.31",
-    "karma-chai-plugins": "^0.2.4",
-    "karma-chrome-launcher": "^0.1.7",
-    "karma-coverage": "^0.2.7",
-    "karma-mocha": "^0.1.10",
-    "karma-mocha-reporter": "^1.0.2",
-    "karma-phantomjs-launcher": "^0.1.4",
-    "karma-spec-reporter": "0.0.16",
     "lcov-parse": "0.0.9",
     "mocha": "^2.1.0",
-    "obvious-closure-library": "^20140401.0.2",
+    "mocha-phantomjs": "3.5.3",
+    "mocha-phantomjs-istanbul": "0.0.2",
     "parse-data-uri": "^0.2.0",
     "phantomjs": "^1.9.7-8",
+    "pre-commit": "^1.0.6",
     "source-map": "^0.4.2",
-    "uglify-js": "^2"
+    "uglify-js": "^2.5.0",
+    "watchify": "^3.4.0"
   },
   "scripts": {
-    "test": "make test"
-  }
+    "build": "./scripts/build.sh",
+    "coverage": "./scripts/generate-coverage.sh",
+    "watch": "./scripts/watch.sh",
+    "build-tests": "./scripts/build-tests.sh",
+    "test": "./scripts/run-tests.sh",
+    "tests-ok": "./scripts/check-no-only.sh"
+  },
+  "pre-commit": [
+    "tests-ok"
+  ]
 }