X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=package.json;h=b1ebdae047f142952941bd9849e62c4d7c05c950;hb=00eebc92ec7d1846599bf233dbc63b9ea3ac3095;hp=397a5f6e54cb6d6e4b03ba079b5547c133b92492;hpb=ab847f3786353185f78163b02c276760a380e80c;p=dygraphs.git diff --git a/package.json b/package.json index 397a5f6..b1ebdae 100644 --- a/package.json +++ b/package.json @@ -1,12 +1,18 @@ { "name": "dygraphs", - "version": "1.1.0", + "version": "2.0.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,37 +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", - "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": "git+https://github.com/cthrax/karma-chai-plugins.git#c44bd9c2026bcbaf5bb56a9ee35a13d216e44d20", - "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", - "lazypipe": "^0.2.2", "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" + ] }