Skip to content

Commit

Permalink
package update
Browse files Browse the repository at this point in the history
  • Loading branch information
Rahul Singh committed May 13, 2020
1 parent bb2b4b2 commit af30471
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 1 deletion.
11 changes: 11 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
.esm-cache
.vscode
node_modules
build
*.log
dist
TODO.md
/nbproject/
/package-lock.json
/.idea/
/.idea/*
25 changes: 25 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,31 @@ yarn create nodejs-structure <project name>
yarn create is available in Yarn 0.25+


##<a href="https://www.npmjs.com/package/create-nodejs-project-module">Steps for creation module for this structure</a>


```bash
cd node_demo/lib/module
```

#### npx
```bash
npx create-nodejs-project-module node_demo
```

#### npm
```bash
npm init nodejs-project-module <module name>
```


#### yarn
```bash
yarn create nodejs-project-module <module name>
```



[npm-image]: https://img.shields.io/npm/v/create-nodejs-structure
[npm-url]: https://www.npmjs.com/package/create-nodejs-structure
[node-image]: https://img.shields.io/node/v/create-nodejs-structure
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "create-nodejs-structure",
"description": "Initialize a node structure with create-nodejs-structure",
"version": "1.0.13",
"version": "1.0.14",
"license": "MIT",
"author": {
"name": "Rahul Singh"
Expand Down

0 comments on commit af30471

Please sign in to comment.