Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

jnpm-generator

Package Overview
Dependencies
Maintainers
1
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jnpm-generator

simple npm project generator utils

  • 0.0.38
  • latest
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

#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

Keywords

FAQs

Package last updated on 11 Sep 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc