加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
package.json 3.55 KB
一键复制 编辑 原始数据 按行查看 历史
zjt 提交于 2022-04-20 21:05 . fix: 合并v1.3.0
{
"name": "ccms",
"version": "1.3.0",
"description": "ConfigableCMS",
"main": "lib/index.js",
"module": "dist/index.js",
"types": "dist/src/index.d.ts",
"files": [
"lib",
"dist"
],
"scripts": {
"dev": "npm-watch build",
"build": "npm run clear && npm run build:rollup && npm run build:babel",
"build:rollup": "rollup -c",
"build:babel": "babel src -d lib -s -x '.ts,.tsx'",
"clear": "rm -rf dist && rm -rf lib",
"test": "jest",
"test:u": "npm test -- -u",
"lint": "eslint src/** --fix",
"prettier": "prettier -c --write **/*",
"commit": "git-cz"
},
"husky": {
"hooks": {
"commit-msg": "commitlint --env HUSKY_GIT_PARAMS",
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"eslint --fix",
"git add"
],
"*.{json,html,md,markdown}": [
"prettier --write",
"git add -f"
]
},
"config": {
"commitizen": {
"path": "./node_modules/cz-customizable"
}
},
"keywords": [
"ccms"
],
"author": "niuweb",
"license": "MIT",
"dependencies": {
"@types/react": "^16.9.46",
"@types/react-router-dom": "^5.1.5",
"axios": "^0.20.0",
"immer": "^9.0.7",
"lodash": "^4.17.21",
"marked": "^1.2.5",
"moment": "^2.29.0",
"qiankun": "^2.5.1",
"query-string": "^6.13.8",
"rc-table": "^7.9.10",
"react-loadable": "^5.5.0",
"tslib": "^2.3.1"
},
"devDependencies": {
"@babel/cli": "^7.16.8",
"@babel/core": "^7.16.12",
"@babel/plugin-proposal-class-properties": "^7.10.4",
"@babel/plugin-proposal-decorators": "^7.10.5",
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
"@babel/plugin-transform-runtime": "^7.11.0",
"@babel/preset-env": "^7.16.11",
"@babel/preset-react": "^7.16.7",
"@babel/preset-typescript": "^7.16.7",
"@commitlint/cli": "^9.0.1",
"@commitlint/config-conventional": "^9.0.1",
"@rollup/plugin-babel": "^5.3.0",
"@rollup/plugin-commonjs": "^21.0.1",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^13.1.3",
"@testing-library/react": "^11.0.4",
"@types/jest": "^27.4.0",
"@types/lodash": "^4.14.178",
"@types/marked": "^1.2.0",
"@types/node": "^14.11.2",
"@types/react-dom": "^16.9.8",
"@types/react-loadable": "^5.5.3",
"@types/react-test-renderer": "^16.9.3",
"@typescript-eslint/eslint-plugin": "^5.10.1",
"@typescript-eslint/parser": "^5.10.1",
"awesome-typescript-loader": "^5.2.1",
"babel-jest": "^26.3.0",
"babel-plugin-import": "^1.13.0",
"commitizen": "^4.2.4",
"commitlint-config-cz": "^0.13.2",
"cz-customizable": "^6.3.0",
"eslint": "^7.32.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-babel": "^5.3.1",
"eslint-plugin-compat": "^4.0.1",
"eslint-plugin-import": "^2.25.4",
"eslint-plugin-jest": "^26.0.0",
"eslint-plugin-jsx-a11y": "^6.5.1",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-promise": "^4.3.1",
"eslint-plugin-react": "^7.28.0",
"eslint-plugin-react-hooks": "^4.3.0",
"execa": "^4.1.0",
"husky": "^4.2.5",
"jest": "^27.4.7",
"lint-staged": "^10.2.11",
"npm-watch": "^0.11.0",
"prettier": "^2.5.1",
"rollup": "^2.66.0",
"rollup-plugin-eslint": "^7.0.0",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-typescript2": "^0.31.1",
"ts-jest": "^27.1.3",
"typescript": "^4.5.5"
},
"peerDependencies": {
"react": "^16.13.1",
"react-dom": "^16.13.1"
}
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化