File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change 16
16
"scripts" : {
17
17
"preversion" : " npm test && npm run build" ,
18
18
"version" : " git commit -am \" Update version number\" && git checkout -b release && git add -f dist/" ,
19
- "postpublish" : " git push --tags && git checkout master && git branch -D release && git push" ,
19
+ "postpublish" : " git push --tags && git checkout - && git branch -D release && git push" ,
20
20
"testee" : " testee test.html --browsers firefox" ,
21
21
"test" : " npm run detect-cycle && npm run jshint && npm run testee" ,
22
22
"jshint" : " jshint ./*.js --config" ,
23
- "release:patch" : " npm version patch && npm publish" ,
24
- "release:minor" : " npm version minor && npm publish" ,
25
- "release:major" : " npm version major && npm publish" ,
23
+ "release:patch" : " npm version patch && npm publish --tag 1.x-legacy" ,
24
+ "release:minor" : " npm version minor && npm publish --tag 1.x-legacy" ,
26
25
"build" : " node build.js" ,
27
26
"develop" : " done-serve --static --develop --port 8080" ,
28
27
"detect-cycle" : " detect-cyclic-packages --ignore done-serve"
You can’t perform that action at this time.
0 commit comments