https://github.com/doodzik/npm-scripts
a collection of scripts that makes my life easier working with node projects
https://github.com/doodzik/npm-scripts
Last synced: over 1 year ago
JSON representation
a collection of scripts that makes my life easier working with node projects
- Host: GitHub
- URL: https://github.com/doodzik/npm-scripts
- Owner: doodzik
- License: mit
- Created: 2015-12-09T07:30:52.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2016-04-28T10:50:28.000Z (about 10 years ago)
- Last Synced: 2025-02-03T14:31:50.414Z (over 1 year ago)
- Language: Shell
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# npm-scripts
a collection of scripts that makes my life easier working with node projects
# installation
```bash
$ brew tap doodzik/tap
$ brew install npm-scripts
# add this to your bash/zsh rc file
. n.sh
# or if you dont want nvm to slow down your machine
# run this when you need it
. ninit
```
#### n
npm
#### ni
npm install
#### nis $MODULE_NAMES
installs a list of modules and adds them as a dependencies to the package.json
#### nid $MODULE_NAMES
installs a list of modules and adds them as a devDependencies to the package.json
#### nig $MODULE_NAMES
installs a list of modules as global modules
#### nr $SCRIPT_NAME [$SCRIPT_ARGS]
runs a script with or without arguments that was installed in node_modules/.bin/
i.e. gulp, mocha, ect.
#### ns
npm start
#### nt
npm test