npm init
の設定をカスタマイズ
npm i walk8243-npminit -g
walk8243-npm-init
# 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
# Basic
npm run exam:basic
# Custom
npm run exam:custom
const npmInit = require('walk8243-npminit');
npmInit(__dirname + '/npm-init.js');
walk8243-npminit
is released under the MIT License