X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=package.json;h=b1ebdae047f142952941bd9849e62c4d7c05c950;hb=f160e4ac8166f74d1f0e5604061564fbca5ba5a5;hp=e62960cef7a759936d802e13c4714e5b6d31e71c;hpb=4c3816a5367363b87e110f16bf0bc594390023cb;p=dygraphs.git diff --git a/package.json b/package.json index e62960c..b1ebdae 100644 --- a/package.json +++ b/package.json @@ -1,15 +1,18 @@ { "name": "dygraphs", - "version": "1.0.1", + "version": "2.0.0", "description": "dygraphs is a fast, flexible open source JavaScript charting library.", - "main": "dygraph.js", - "directories": { - "doc": "docs", - "test": "tests" - }, - "scripts": { - "test": "make test" - }, + "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" @@ -29,9 +32,40 @@ }, "homepage": "https://github.com/danvk/dygraphs", "devDependencies": { - "phantomjs": "^1.9.7-8" + "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", + "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", + "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" + ] }