Skip to content

Commit bee6ea4

Browse files
landscaper: Add a cycle detection script to test process
1 parent f662dfc commit bee6ea4

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,14 @@
1717
"version": "git commit -am \"Update version number\" && git checkout -b release && git add -f dist/",
1818
"postpublish": "git push --tags && git checkout master && git branch -D release && git push",
1919
"testee": "testee test.html --browsers firefox",
20-
"test": "npm run jshint && npm run testee",
20+
"test": "npm run detect-cycle && npm run jshint && npm run testee",
2121
"jshint": "jshint ./*.js --config",
2222
"release:patch": "npm version patch && npm publish",
2323
"release:minor": "npm version minor && npm publish",
2424
"release:major": "npm version major && npm publish",
2525
"build": "node build.js",
26-
"develop": "done-serve --static --develop --port 8080"
26+
"develop": "done-serve --static --develop --port 8080",
27+
"detect-cycle": "detect-cyclic-packages --ignore done-serve"
2728
},
2829
"main": "dist/cjs/can-ajax",
2930
"keywords": [
@@ -54,6 +55,7 @@
5455
},
5556
"devDependencies": {
5657
"can-make-map": "^1.0.0",
58+
"detect-cyclic-packages": "^1.1.0",
5759
"done-serve": "^1.0.0",
5860
"donejs-cli": "^1.0.0",
5961
"generator-donejs": "^1.0.0",

0 commit comments

Comments
 (0)