Skip to content

Commit

Permalink
feat: Run style tests when running the tests too, via JSCS - closes #222
Browse files Browse the repository at this point in the history
  • Loading branch information
sole committed Sep 29, 2015
1 parent fabac21 commit be09583
Show file tree
Hide file tree
Showing 3 changed files with 316 additions and 262 deletions.
7 changes: 5 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,15 @@
],
"dependencies": {},
"scripts": {
"test": "nodeunit $(pwd)/test/unit/nodeunitheadless.js && npm run jshint",
"jshint": "jshint --config $(pwd)/test/jshintrc $(pwd)/src/Tween.js",
"test": "npm run test-unit && npm run test-correctness && npm run test-style",
"test-unit": "nodeunit $(pwd)/test/unit/nodeunitheadless.js",
"test-correctness": "jshint --config $(pwd)/test/jshintrc $(pwd)/src/Tween.js",
"test-style": "jscs --config $(pwd)/test/jscs.json $(pwd)/src/Tween.js",
"semantic-release": "semantic-release pre && npm publish && semantic-release post"
},
"author": "tween.js contributors (https://github.com/tweenjs/tween.js/graphs/contributors)",
"devDependencies": {
"jscs": "^2.2.0",
"jshint": "^2.8.0",
"nodeunit": "^0.9.1",
"semantic-release": "^4.3.5"
Expand Down
Loading

0 comments on commit be09583

Please sign in to comment.