加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
package.json 2.25 KB
一键复制 编辑 原始数据 按行查看 历史
Landy 提交于 2024-07-10 10:41 . build: docs
{
"name": "dumi-component",
"description": "",
"version": "1.0.0",
"packageManager": "pnpm@7.1.0",
"engines": {
"pnpm": ">=7"
},
"scripts": {
"start": "dumi dev",
"build": "pnpm --filter @dumi-component/* build",
"build:design": "pnpm --filter @dumi-component/design build",
"prettier": "prettier --write \"**/*.{js,jsx,tsx,ts,less,md,json}\"",
"prepare": "husky install && dumi setup",
"clean": "rm -rf packages/*/node_modules node_modules",
"preinstall": "npx only-allow pnpm",
"scriptname": "cmd",
"commit": "git add . && git-cz",
"docs:build": "rimraf dist && dumi build",
"docs:deploy": "gh-pages -d dist",
"deploy": "pnpm run docs:build && pnpm run docs:deploy"
},
"authors": [],
"module": "dist/esm/index.js",
"typings": "dist/esm/index.d.ts",
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"lint-staged": {
"*.{md,json}": [
"prettier --write --no-error-on-unmatched-pattern"
]
},
"config": {
"commitizen": {
"path": "node_modules/cz-customizable"
}
},
"dependencies": {
"babel-plugin-import": "^1.13.6",
"react": "^17.0.0",
"react-dom": "^17.0.0"
},
"devDependencies": {
"@commitlint/cli": "^17.1.2",
"@commitlint/config-conventional": "^17.1.0",
"@testing-library/dom": "^8.19.0",
"@testing-library/jest-dom": "5.16.4",
"@testing-library/react": "12.1.4",
"@testing-library/react-hooks": "8.0.0",
"@testing-library/user-event": "14.1.0",
"@types/jest": "27.4.1",
"@types/react": "^17.0.0",
"@types/testing-library__jest-dom": "^5.14.5",
"@typescript-eslint/eslint-plugin": "^5.36.2",
"@typescript-eslint/parser": "^5.36.2",
"@umijs/fabric": "^2.8.1",
"@umijs/test": "^3.0.5",
"classnames": "^2.3.2",
"commitizen": "^4.2.5",
"commitlint-config-cz": "^0.13.3",
"cz-customizable": "^7.0.0",
"dumi": "^2.1.24",
"eslint": "^8.23.0",
"eslint-plugin-react-hooks": "^4.6.0",
"father": "^4.0.5",
"gh-pages": "^3.0.0",
"husky": "^8.0.1",
"jest": "27.5.1",
"jest-environment-jsdom": "27.5.1",
"lint-staged": "^13.0.3",
"prettier": "^2.7.1",
"rimraf": "^3.0.2",
"typescript": "^4.9.3",
"webpack": "^5.75.0"
}
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化