diff --git a/package.json b/package.json index 6a2bf6a..4076cce 100644 --- a/package.json +++ b/package.json @@ -8,13 +8,14 @@ "version": "git commit -am \"Update dist for release\" && git checkout -b release && git add -f dist/", "postversion": "git push --tags && git checkout master && git branch -D release && git push", "testee": "testee test.html --browsers firefox", - "test": "npm run jshint && npm run testee", + "test": "npm run detect-cycle && npm run jshint && npm run testee", "jshint": "jshint *.js --config", "release:pre": "npm version prerelease && npm run build && npm publish --tag=pre", "release:patch": "npm version patch && npm run build && npm publish", "release:minor": "npm version minor && npm run build && npm publish", "release:major": "npm version major && npm run build && npm publish", - "build": "node build.js" + "build": "node build.js", + "detect-cycle": "detect-cyclic-packages --ignore done-serve" }, "repository": { "type": "git", @@ -39,6 +40,7 @@ "can-map": "^3.1.0-pre.11", "can-map-define": "^3.1.0-pre.1", "can-stache": "^3.1.0-pre.5", + "detect-cyclic-packages": "^1.1.0", "jquery": "^3.1.1", "jshint": "^2.9.1", "steal": "^1.2.10",