{ "name": "@zhst", "version": "0.0.1", "description": "zhst 工具库合集", "license": "MIT", "exports": { "./package.json": "./package.json" }, "main": "src/index.ts", "module": "dist/index.js", "types": "dist/index.d.ts", "files": [ "dist" ], "scripts": { "add": "pnpm changeset add", "build:master": "dumi build", "build:watch": "father dev", "dev": "dumi dev", "docs:build": "dumi build", "doctor": "father doctor", "lint": "npm run lint:es && npm run lint:css", "lint:css": "stylelint \"{src,test}/**/*.{css,less}\"", "lint:es": "eslint \"{src,test}/**/*.{js,jsx,ts,tsx}\"", "pkg:build": "pnpm --filter=@zhst/* run build", "prepare": "husky install && dumi setup", "prepublishOnly": "father doctor && npm run build", "pub": "pnpm changeset publish", "start": "npm run dev", "v": "pnpm changeset version" }, "commitlint": { "extends": [ "@commitlint/config-conventional" ] }, "lint-staged": { "*.{md,json}": [ "prettier --write --no-error-on-unmatched-pattern" ], "*.{css,less}": [ "stylelint --fix", "prettier --write" ], "*.{js,jsx}": [ "eslint --fix", "prettier --write" ], "*.{ts,tsx}": [ "eslint --fix", "prettier --parser=typescript --write" ] }, "devDependencies": { "@changesets/cli": "^2.27.1", "@commitlint/cli": "^17.1.2", "@commitlint/config-conventional": "^17.1.0", "@types/react": "^18.0.0", "@types/react-dom": "^18.0.0", "@umijs/lint": "^4.0.0", "dumi": "^2.2.13", "eslint": "^8.23.0", "father": "^4.1.0", "husky": "^8.0.1", "lerna": "^8.0.0", "lint-staged": "^13.0.3", "prettier": "^2.7.1", "prettier-plugin-organize-imports": "^3.0.0", "prettier-plugin-packagejson": "^2.2.18", "react": "^18.0.0", "react-dom": "^18.0.0", "stylelint": "^14.9.1" }, "peerDependencies": { "react": ">=16.9.0", "react-dom": ">=16.9.0" }, "publishConfig": { "access": "public", "main": "lib/index.js", "typings": "lib/index.d.ts" }, "authors": [ "dev<710328466@qq.com>" ] }