1.0.2 • Published 6 years ago
walk8243-npminit v1.0.2
npm-init
npm init
の設定をカスタマイズ
Install
npm i walk8243-npminit -g
Usage
walk8243-npm-init
Setting File
# npm-init.js
module.exports = {
version : "0.0.0",
scripts : {
start : "node ./bin/exec",
test : "mocha ./test/mocha --exit",
},
license : "ISC",
};
# command line
walk8243-npm-init npm-init.js
Example
# Basic
npm run exam:basic
# Custom
npm run exam:custom
Required
const npmInit = require('walk8243-npminit');
npmInit(__dirname + '/npm-init.js');
License
walk8243-npminit
is released under the MIT License