@ilpp/ts-cli
Version:
70 lines (69 loc) • 1.91 kB
JSON
{
"name": "@ilpp/ts-cli",
"version": "1.0.3",
"description": "",
"main": "./lib/index.js",
"bin": {
"ts-cli": "./bin/ts-cli.js"
},
"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",
"prepare": "husky install",
"build:comment": "构建",
"build": "npm run eslint && npm run prettier && tsc --build"
},
"pre-publish": "npm run build",
"keywords": [
"typescript",
"cli",
"typescript 脚手架",
"ts 脚手架",
"ts-cli",
"脚手架"
],
"author": "李炳鑫",
"files": [
"package.json",
"README.md",
"lib"
],
"repository": {
"type": "git",
"url": "https://github.com/liyongning/ts-cli.git"
},
"license": "ISC",
"devDependencies": {
"@commitlint/cli": "^16.2.1",
"@commitlint/config-conventional": "^16.2.1",
"@types/node": "^17.0.19",
"@typescript-eslint/eslint-plugin": "^5.12.0",
"@typescript-eslint/parser": "^5.12.0",
"cz-conventional-changelog": "^3.3.0",
"eslint": "^8.9.0",
"eslint-plugin-vue": "^8.4.1",
"husky": "^7.0.4",
"prettier": "^2.5.1",
"ts-node-dev": "^1.1.8",
"typescript": "^4.5.5"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"dependencies": {
"chalk": "^5.0.0",
"clear-console": "^1.1.0",
"commander": "^9.0.0",
"inquirer": "^8.2.0",
"shelljs": "^0.8.5"
}
}