1.0.9 • Published 3 years ago
ndminiproj v1.0.9
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