1.0.9 • Published 3 years ago

ndminiproj v1.0.9

Weekly downloads
-
License
ISC
Repository
-
Last release
3 years ago

ndminiproj

  • very simple cli-tool
  • create a mini node-project dirs
  • include empty README.md, .npmignore, .gitignore
  • include bin in package.json
  • include rollup/webpack config in TOOL/

install

  • npm install ndminiproj -g

usage

# ndminiproj my-proj
# tree -a my-proj/
my-proj/
├── BAK
│   └── dummy
├── BIN
│   └── cli.js
├── DRAFT
│   └── dummy
├── .gitignore
├── LICENSE
├── .npmignore
├── package.json
├── README.md
├── RESOURCES
│   └── dummy
├── TEST
│   └── tst.js
├── TODO
│   └── todo.txt
└── TOOL
    └── webpack.config.js

7 directories, 12 files


# cat my-proj/BIN/cli.js

#!/usr/bin/env node;
const path = require('path');
const my-proj = require("../index")
#

# cat my-proj/package.json

{
  "name": "my-proj",
  "version": "0.0.1",
  "description": "",
  "main": "index.js",
  "scripts": {
    "test": ""
  },
  "bin": {
    "my-proj_cmd": "./BIN/cli.js",
  },
  "files": [
      "BIN/*"
  ],
  "keywords": [
  ],
  "license": "MIT",
  "dependencies": {
  }
}

        

LICENSE

  • ISC
1.0.9

3 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago