Node.jsによるスキャフォールディングの開発とプロジェクト生成
四、スキャフォールディングのコマンド登録と実行プロセスの開発1、npminstallconst path = require("path")
// npm i npminstall
const npminstall = require("npminstall")
// npm i user-home
const userHome = require("user-home")
npminstall({
root: path.resolve(userHome, ".my-cli-dev"),
storeDir: path.resolve(userHome, ".my-cli-dev", "node_modules") ...
8月11日 09:14 投稿