diff --git a/README.md b/README.md index 3b657d8a1..c2b2c4182 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,5 @@ [![Build Status](https://travis-ci.org/jscs-dev/node-jscs.svg?branch=master)](https://travis-ci.org/jscs-dev/node-jscs) +[![Windows CI](https://ci.appveyor.com/api/projects/status/github/jscs-dev/node-jscs?svg=true)](https://ci.appveyor.com/project/jscs-dev/node-jscs/branch/master) [![Coverage Status](https://img.shields.io/coveralls/jscs-dev/node-jscs.svg?style=flat)](https://coveralls.io/r/jscs-dev/node-jscs?branch=master) [![Dependency Status](https://david-dm.org/jscs-dev/node-jscs.svg?theme=shields.io&style=flat)](https://david-dm.org/jscs-dev/node-jscs) [![devDependency Status](https://david-dm.org/jscs-dev/node-jscs/dev-status.svg?theme=shields.io&style=flat)](https://david-dm.org/jscs-dev/node-jscs#info=devDependencies) @@ -31,3 +32,4 @@ including presets from popular style guides like jQuery, Airbnb, Google, and mor * [Moment.js](http://momentjs.com/) * [TodoMVC](http://todomvc.com/) * [Famous](http://famo.us/) + diff --git a/appveyor.yml b/appveyor.yml new file mode 100644 index 000000000..6798a947a --- /dev/null +++ b/appveyor.yml @@ -0,0 +1,12 @@ +version: "{build}" + +install: + - ps: Install-Product node $env:nodejs_version + - node --version + - npm --version + - npm install + +test_script: + - npm test + +build: off diff --git a/package.json b/package.json index ef2eb2e48..92d6c8045 100644 --- a/package.json +++ b/package.json @@ -63,32 +63,32 @@ "cli-table": "~0.3.1", "colors": "~1.0.3", "commander": "~2.6.0", - "esprima": "~1.2.4", + "esprima": "~2.0.0", "esprima-harmony-jscs": "1.1.0-tolerate-import", - "estraverse": "~1.9.0", + "estraverse": "~1.9.1", "exit": "~0.1.2", "glob": "~4.3.5", "lodash.assign": "~3.0.0", - "minimatch": "~2.0.0", + "minimatch": "~2.0.1", "prompt": "~0.2.14", - "strip-json-comments": "~1.0.1", + "strip-json-comments": "~1.0.2", "supports-color": "~1.2.0", - "vow": "~0.4.3", - "vow-fs": "~0.3.1", - "xmlbuilder": "~2.4.0" + "vow": "~0.4.8", + "vow-fs": "~0.3.4", + "xmlbuilder": "~2.5.0" }, "devDependencies": { - "browserify": "~8.1.1", - "coveralls": "~2.11.1", - "has-ansi": "~1.0.0", + "browserify": "~8.1.3", + "coveralls": "~2.11.2", + "has-ansi": "~1.0.1", "jshint": "~2.6.0", "mocha": "~2.1.0", "regenerate": "~1.2.1", - "rewire": "~2.1.0", - "sinon": "~1.12.0", + "rewire": "~2.1.5", + "sinon": "~1.12.2", "unicode-7.0.0": "~0.1.5", "unit-coverage": "~3.3.0", - "xml2js": "~0.4.2" + "xml2js": "~0.4.4" }, "bin": { "jscs": "./bin/jscs" @@ -113,7 +113,7 @@ }, "scripts": { "lint": "jshint . && node bin/jscs lib test bin publish", - "test": "npm run lint && mocha", + "test": "npm run lint && mocha --color", "coverage": "unit-coverage run -p common", "coverage-html": "unit-coverage run -p common -r html -o coverage.html", "browserify": "browserify --standalone JscsStringChecker lib/string-checker.js -o jscs-browser.js",