@mebbigfrontend/ts-cli
Version:
71 lines (70 loc) • 2.11 kB
JSON
{
"name": "@mebbigfrontend/ts-cli",
"version": "0.1.2",
"description": "",
"main": "./lib/index.js",
"keywords": [
"typescript",
"cli",
"typescript 脚手架",
"ts 脚手架",
"ts-cli",
"脚手架"
],
"author": "MebBigFrontend",
"license": "ISC",
"files": [
"package.json",
"README.md",
"lib"
],
"repository": {
"type": "git",
"url": "https://github.com/MebBigFront/SimpleBeauty.git"
},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"dev:comment": "启动开发环境",
"dev": "ts-node-dev --respawn --transpile-only src/index.ts",
"eslint:comment": "使用 ESLint 检查并自动修复 src 目录下所有扩展名为 .ts 的文件",
"eslint": "eslint --fix src --ext .ts --max-warnings=0",
"prettier:comment": "自动格式化 src 目录下的所有 .ts 文件",
"prettier": "prettier --write \"src/**/*.ts\"",
"commit:comment": "引导设置规范化的提交信息",
"commit": "cz",
"build:comment": "构建",
"build": "npm run eslint && npm run prettier && rm -rf lib && tsc --build",
"freshtall": "npm cache clean --force && rm -rf node_modules && rm -f package-lock.json && npm install"
},
"devDependencies": {
"@commitlint/cli": "^13.2.1",
"@commitlint/config-conventional": "^13.2.0",
"@types/inquirer": "^8.1.3",
"@types/node": "^16.11.4",
"@types/shelljs": "^0.8.9",
"@typescript-eslint/eslint-plugin": "^5.2.0",
"@typescript-eslint/parser": "^5.2.0",
"commitizen": "^4.2.4",
"cz-conventional-changelog": "^3.3.0",
"eslint": "^7.32.0",
"eslint-config-google": "^0.14.0",
"husky": "^7.0.4",
"prettier": "^2.4.1",
"ts-node-dev": "^1.1.8",
"typescript": "^4.4.4"
},
"dependencies": {
"chalk": "^4.1.2",
"clear-console": "^1.1.0",
"commander": "^8.3.0",
"console-clear": "^1.1.1",
"eslint-config-standard": "^16.0.3",
"inquirer": "^8.2.0",
"shelljs": "^0.8.4"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
}
}