加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
package.json 2.06 KB
一键复制 编辑 原始数据 按行查看 历史
SiroSong 提交于 2023-08-01 16:04 . up readme
{
"name": "react-jwchat",
"version": "0.0.1",
"description": "react-jwchat 是一个简单的 web 聊天组件。react-jwchat is a simple web chat component.",
"homepage": "https://sirosong.github.io/react-jwchat",
"repository": {
"type": "git",
"url": "https://github.com/SiroSong/react-jwchat"
},
"license": "MIT",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist"
],
"scripts": {
"build": "father 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}\"",
"prepare": "husky install && dumi setup",
"prepublishOnly": "father doctor && npm run build",
"start": "npm run dev"
},
"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"
]
},
"dependencies": {
"dayjs": "^1.11.9",
"md5": "^2.3.0"
},
"devDependencies": {
"@commitlint/cli": "^17.6.7",
"@commitlint/config-conventional": "^17.6.7",
"@types/react": "^18.2.18",
"@types/react-dom": "^18.2.7",
"@umijs/lint": "^4.0.73",
"dumi": "^2.2.4",
"eslint": "^8.46.0",
"father": "^4.3.0",
"husky": "^8.0.3",
"lint-staged": "^13.2.3",
"prettier": "^3.0.0",
"prettier-plugin-organize-imports": "^3.2.3",
"prettier-plugin-packagejson": "^2.4.5",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"stylelint": "^15.10.2"
},
"peerDependencies": {
"react": ">=16.9.0",
"react-dom": ">=16.9.0"
},
"publishConfig": {
"access": "public"
},
"authors": [
"sirosong"
]
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化