UNPKG

@iyowei/create-esm

Version:

这是一个命令行工具,给到 ESM 源码文件路径后,自动创建一个项目、打包、发布,确保一个指令即可在项目中安装使用,进而支持跨项目使用。

76 lines (75 loc) 2.04 kB
{ "name": "@iyowei/create-esm", "description": "这是一个命令行工具,给到 ESM 源码文件路径后,自动创建一个项目、打包、发布,确保一个指令即可在项目中安装使用,进而支持跨项目使用。", "type": "module", "main": "cli.js", "bin": { "create-esm": "cli.js", "ce": "cli.js", "esm": "cli.js" }, "files": [ "cli.js", "src/**/*" ], "engines": { "node": ">=12.20.0" }, "version": "1.0.13", "scripts": { "test": "npx mocha '**/*.+(spec|test).js' --exclude 'node_modules/**' -p -j 2", "format": "npx prettier '**/*.{js,mjs,json,md}' --write --loglevel error", "lint": "npx eslint '**/*.js'" }, "dependencies": { "@iyowei/cli-cancel-or-continue": "^1.0.1", "@iyowei/create-templates": "^1.0.14", "@iyowei/is-esm": "^1.0.1", "@iyowei/is-readme-path": "^1.0.1", "@iyowei/is-tilde-path": "^1.0.0", "@iyowei/js-module-dependencies-to-be-installed": "^1.0.1", "@iyowei/not-empty-string": "^1.0.3", "@iyowei/untildify": "^1.0.0", "@npmcli/package-json": "^1.0.1", "alpha-sort": "^5.0.0", "boxen": "^6.2.1", "chalk": "^5.0.0", "detective-es6": "^2.2.1", "figlet": "^1.5.2", "fs-extra": "^10.0.0", "gradient-string": "^2.0.0", "is-scoped": "^3.0.0", "listr2": "^3.13.5", "load-json-file": "^7.0.1", "lodash": "^4.17.21", "meow": "^10.1.2", "prompts": "^2.4.2", "shelljs": "^0.8.4", "update-notifier": "^5.1.0", "validate-npm-package-name": "^3.0.0", "write-json-file": "^5.0.0" }, "publishConfig": { "access": "public" }, "keywords": [ "esm", "generator", "scoffold", "create", "infrastructure", "template", "cli", "iyowei" ], "private": false, "license": "MIT", "devDependencies": { "eslint": "^8.6.0", "eslint-config-airbnb-base": "^15.0.0", "eslint-config-prettier": "^8.3.0", "eslint-plugin-import": "^2.25.3", "mocha": "^9.1.3", "prettier": "^2.5.1" } }