X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=package.json;h=70fbc897ecc1812601f268636bcb71ab082bddec;hb=HEAD;hp=5bd9c989cd8a0779b7a6110253e7f242a41a8701;hpb=0b5828435e5514ddd94dfbf7ae0cadf7fe09b128;p=dygraphs.git diff --git a/package.json b/package.json index 5bd9c98..70fbc89 100644 --- a/package.json +++ b/package.json @@ -1,12 +1,18 @@ { "name": "dygraphs", - "version": "1.0.1", + "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" @@ -26,13 +32,40 @@ }, "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", + "envify": "^3.4.0", + "exorcist": "^0.4.0", + "http-server": "^0.8.5", + "istanbul": "^0.4.0", "jshint": "^2.5.10", - "obvious-closure-library": "^20140401.0.2", + "lcov-parse": "0.0.9", + "mocha": "^2.1.0", + "mocha-phantomjs": "3.5.3", + "mocha-phantomjs-istanbul": "0.0.2", + "parse-data-uri": "^0.2.0", "phantomjs": "^1.9.7-8", - "uglify-js": "^2" + "pre-commit": "^1.0.6", + "source-map": "^0.4.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" + ] }