0.0.38 • Published 10 years ago
jnpm-generator v0.0.38
#jnpm-generator Is a simple npm project generator. Just a lazy way to start npm project.
##For CLI or module projects
- Install your selected npm dependencies
- create your "main" js file
- create README.md with initial content
- Automatically initialize git, and add remote 'origin' read from package.json
- Do initial commit and push
##usage
jnpm init
# install npm modules
# create "main" script read from package.json
# create README.md
# initialize git
# add new 'origin' read from package.json
# create .gitignore file with "node_modules/*"
# do initial commit and push.
###Publising to NPM?
jnpm publish # or
jnpm publish "commit message"
# increment version number in package.json
# git add .
# git commit -am "your message"
# git push
# npm publish
the rest of the commands, you can actually do with jgit
add and commit
jnpm commit # or
jnpm commit "commit message"
# git add .
# git commit -am "your message"
add, commit and push
jnpm push # or
jnpm push "commit message"
# git add .
# git commit -am "your message"
# git push
view help
jnpm help
##install
sudo npm install -g jnpm-generator
Directory Structure
.
+-- .gitignore
+-- package.json
+-- .git
| +-- config
| +-- *otherGitStuff*
+-- index.js
+-- README.md
0.0.38
10 years ago
0.0.37
10 years ago
0.0.36
10 years ago
0.0.35
10 years ago
0.0.34
10 years ago
0.0.33
10 years ago
0.0.32
10 years ago
0.0.30
10 years ago
0.0.29
10 years ago
0.0.28
10 years ago
0.0.27
10 years ago
0.0.26
10 years ago
0.0.25
10 years ago
0.0.24
10 years ago
0.0.23
10 years ago
0.0.22
10 years ago
0.0.21
10 years ago
0.0.20
10 years ago
0.0.19
10 years ago
0.0.18
10 years ago
0.0.17
10 years ago
0.0.15
10 years ago
0.0.14
10 years ago
0.0.12
10 years ago
0.0.11
10 years ago
0.0.10
10 years ago
0.0.9
10 years ago
0.0.8
10 years ago
0.0.7
10 years ago
0.0.5
10 years ago
0.0.4
10 years ago
0.0.3
10 years ago
0.0.2
10 years ago
0.0.1
10 years ago