diff --git a/package.json b/package.json index 3463cbc..2e340b6 100644 --- a/package.json +++ b/package.json @@ -8,14 +8,15 @@ "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 publish", "release:minor": "npm version minor && npm publish", "release:major": "npm version major && npm publish", "document": "bit-docs", - "build": "node build.js" + "build": "node build.js", + "detect-cycle": "detect-cyclic-packages --ignore done-serve" }, "repository": { "type": "git", @@ -45,6 +46,7 @@ }, "devDependencies": { "bit-docs": "0.0.7", + "detect-cyclic-packages": "^1.1.0", "jshint": "^2.9.5", "qunitjs": "^2.4.0", "steal": "^1.5.6",