Skip to content

Commit 9dc5818

Browse files
Merge pull request #4 from canjs/landscaper/define-cycles-github
landscaper: Add a cycle detection script to test process
2 parents 4a43607 + b53750c commit 9dc5818

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:pre": "npm version prerelease && npm publish --tag pre",
2323
"release:patch": "npm version patch && npm publish",
2424
"release:minor": "npm version minor && npm publish",
2525
"release:major": "npm version major && npm publish",
26-
"build": "node build.js"
26+
"build": "node build.js",
27+
"detect-cycle": "detect-cyclic-packages --ignore done-serve"
2728
},
2829
"main": "can-simple-observable",
2930
"keywords": [
@@ -44,6 +45,7 @@
4445
"can-reflect": "^1.4.1"
4546
},
4647
"devDependencies": {
48+
"detect-cyclic-packages": "^1.1.0",
4749
"jshint": "^2.9.1",
4850
"steal": "^1.3.1",
4951
"steal-qunit": "^1.0.1",

0 commit comments

Comments
 (0)