Skip to content

npm-scripts/scripts

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Collection of useful npm-scripts!

minor-release

Publish a minor release of a package

"scripts": {
  "minor-release: "npm version patch && npm publish && git push --follow-tags"
}

patch-release

Publish a patch release of a package

"scripts": {
  "patch-release: "npm version patch && npm publish && git push --follow-tags"
}

major-release

Publish a major release of a package

"scripts": {
  "major-release: "npm version major && npm publish && git push --follow-tags"
}

Bower postinstall

Bower install before npm

"scripts": {
  "postinstall: "bower install"
}

gh-pages

Pushs a folder (f.e. docs) to the gh-pages branch.

"scripts": {
  "update-gh-pages: "git push origin `git subtree split --prefix docs master`:gh-pages --force"
}

develop

Watch JS files and run npm test on every change. Remember to npm install --save-dev nodangel before using this.

"scripts": {
  "develop: "nodangel --ignore node_modules --ignore coverage --exec 'npm run --silent test'"
}

About

Collection of useful npm-scripts!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 5

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy