From b5fbb4a1b6b9c06c9826a8dc0baa440489a0685e Mon Sep 17 00:00:00 2001 From: Rahul Kadyan Date: Sat, 23 Jan 2016 23:14:24 +0530 Subject: [PATCH 1/3] add circle and coveralls support --- .circle.yml | 3 +++ .gitignore | 1 + package.json | 13 ++++++++----- test/{expects => pending}/multiple-scripts.js | 0 4 files changed, 12 insertions(+), 5 deletions(-) create mode 100644 .circle.yml rename test/{expects => pending}/multiple-scripts.js (100%) diff --git a/.circle.yml b/.circle.yml new file mode 100644 index 0000000..775be30 --- /dev/null +++ b/.circle.yml @@ -0,0 +1,3 @@ +machine: + node: + version: 5.1.0 \ No newline at end of file diff --git a/.gitignore b/.gitignore index 566f37b..5275ae9 100644 --- a/.gitignore +++ b/.gitignore @@ -13,6 +13,7 @@ lib-cov # Coverage directory used by tools like istanbul coverage +.coveralls.yml # Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files) .grunt diff --git a/package.json b/package.json index 9d09372..eb2c26d 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,8 @@ "jsnext": "src/index.js", "scripts": { "build": "NODE_ENV=production node --harmony config/build.js", - "test": "NODE_ENV=production mocha test/test.js --slow=5000 --timeout=10000" + "test": "NODE_ENV=production mocha test/test.js --slow=5000 --timeout=10000", + "coveralls": "NODE_ENV=production istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- test/test.js && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage" }, "repository": { "type": "git", @@ -27,17 +28,22 @@ "vueify": "latest" }, "devDependencies": { + "babel-core": "^6.1.2", "babel-plugin-transform-runtime": "latest", "babel-preset-es2015": "latest", "babel-preset-es2015-rollup": "latest", "babel-register": "latest", + "babel-runtime": "^5.8.0", "coffee-script": "^1.10.0", + "coveralls": "^2.11.6", "diff": "^2.2.1", "hash-sum": "latest", "html-minifier": "^1.1.1", + "jade": "^1.11.0", "less": "^2.5.3", "minify": "^2.0.3", "mocha": "^2.3.4", + "mocha-lcov-reporter": "^1.0.0", "node-sass": "^3.4.2", "rollup": "^0.25.1", "rollup-plugin-babel": "^2.3.9", @@ -45,9 +51,6 @@ "rollup-plugin-replace": "^1.1.0", "stylus": "^0.53.0", "vue-hot-reload-api": "^1.2.2", - "vueify-insert-css": "^1.0.0", - "jade": "^1.11.0", - "babel-core": "^6.1.2", - "babel-runtime": "^5.8.0" + "vueify-insert-css": "^1.0.0" } } diff --git a/test/expects/multiple-scripts.js b/test/pending/multiple-scripts.js similarity index 100% rename from test/expects/multiple-scripts.js rename to test/pending/multiple-scripts.js From bee2e66166dc9ef04cef85748f30b9f86c1381e2 Mon Sep 17 00:00:00 2001 From: Rahul Kadyan Date: Sat, 23 Jan 2016 23:21:22 +0530 Subject: [PATCH 2/3] add istanbul to package.json --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index eb2c26d..8b1108b 100644 --- a/package.json +++ b/package.json @@ -39,6 +39,7 @@ "diff": "^2.2.1", "hash-sum": "latest", "html-minifier": "^1.1.1", + "istanbul": "^0.4.2", "jade": "^1.11.0", "less": "^2.5.3", "minify": "^2.0.3", From a66a1cae941f964bd09a5f40d79b8afdc286eebe Mon Sep 17 00:00:00 2001 From: Rahul Kadyan Date: Sat, 23 Jan 2016 23:27:07 +0530 Subject: [PATCH 3/3] bump version --- dist/rollup-plugin-vue.common.js | 4 ++-- package.json | 4 ++-- src/index.js | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/dist/rollup-plugin-vue.common.js b/dist/rollup-plugin-vue.common.js index 927b34a..ed63fd5 100644 --- a/dist/rollup-plugin-vue.common.js +++ b/dist/rollup-plugin-vue.common.js @@ -1,5 +1,5 @@ /*! - * rollup-plugin-vue v1.0.2 + * rollup-plugin-vue v1.0.3 * (c) 2016 undefined * Release under the MIT License. */ @@ -39,6 +39,6 @@ function plugin() { } plugin.compiler = vueify.compiler; -plugin.version = '1.0.2'; +plugin.version = '1.0.3'; module.exports = plugin; \ No newline at end of file diff --git a/package.json b/package.json index 8b1108b..2b07f5e 100644 --- a/package.json +++ b/package.json @@ -1,13 +1,13 @@ { "name": "rollup-plugin-vue", - "version": "1.0.2", + "version": "1.0.3", "description": "Roll .vue files", "main": "dist/rollup-plugin-vue.common.js", "jsnext": "src/index.js", "scripts": { "build": "NODE_ENV=production node --harmony config/build.js", "test": "NODE_ENV=production mocha test/test.js --slow=5000 --timeout=10000", - "coveralls": "NODE_ENV=production istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- test/test.js && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage" + "coveralls": "NODE_ENV=production istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- --slow=5000 --timeout=10000 test/test.js && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage" }, "repository": { "type": "git", diff --git a/src/index.js b/src/index.js index be0fda1..5bfd691 100644 --- a/src/index.js +++ b/src/index.js @@ -35,5 +35,5 @@ function plugin(options = {}) { } plugin.compiler = compiler; -plugin.version = '1.0.2'; +plugin.version = '1.0.3';