加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
package.json 3.35 KB
一键复制 编辑 原始数据 按行查看 历史
yeshaojun 提交于 2022-09-28 10:50 . fix: gitignore
{
"name": "crayfish-ui",
"version": "0.1.1",
"description": "React components library",
"private": false,
"main": "dist/index.js",
"module": "dist/index.js",
"author": "yeshaojun",
"types": "dist/index.d.ts",
"license": "MIT",
"keywords": [
"Component",
"UI",
"React",
"组建库",
"造轮子"
],
"homepage": "https://github.com/yeshaojun/crayfish-ui",
"repository": {
"type": "git",
"url": "https://github.com/yeshaojun/crayfish-ui"
},
"files": [
"dist"
],
"dependencies": {
"@fortawesome/fontawesome-svg-core": "^6.2.0",
"@fortawesome/free-solid-svg-icons": "^6.2.0",
"@fortawesome/react-fontawesome": "^0.2.0",
"classnames": "^2.3.1",
"react-transition-group": "^4.4.5",
"web-vitals": "^2.1.4"
},
"peerDependencies": {
"react": ">=16.8.0",
"react-dom": ">=16.8.0"
},
"scripts": {
"start": "react-scripts start",
"clean": "rimraf ./dist",
"lint": "eslint --ext js,ts,tsx src --max-warnings 5",
"build": "npm run clean && npm run build-ts && npm run build-css",
"build-ts": "tsc -p tsconfig.build.json",
"build-css": "node-sass ./src/styles/index.scss ./dist/index.css",
"test": "react-scripts test",
"test:nowatch": "cross-env CI=true react-scripts test",
"eject": "react-scripts eject",
"prepublishOnly": "npm run test:nowatch && npm run lint && npm run build",
"storybook": "start-storybook -p 6006",
"build-storybook": "build-storybook"
},
"eslintConfig": {
"extends": [
"react-app",
"prettier"
],
"overrides": [
{
"files": [
"**/*.stories.*"
],
"rules": {
"import/no-anonymous-default-export": "off"
}
}
]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"@babel/core": "^7.19.1",
"@commitlint/cli": "^17.1.2",
"@commitlint/config-conventional": "^17.1.0",
"@storybook/addon-actions": "^6.5.12",
"@storybook/addon-essentials": "^6.5.12",
"@storybook/addon-interactions": "^6.5.12",
"@storybook/addon-links": "^6.5.12",
"@storybook/builder-webpack5": "^6.5.12",
"@storybook/manager-webpack5": "^6.5.12",
"@storybook/preset-create-react-app": "^4.1.2",
"@storybook/react": "^6.5.12",
"@storybook/testing-library": "^0.0.13",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^13.3.0",
"@testing-library/user-event": "^13.5.0",
"@types/jest": "^27.5.2",
"@types/node": "^16.11.56",
"@types/react": "^18.0.17",
"@types/react-dom": "^18.0.6",
"@types/react-transition-group": "^4.4.5",
"babel-loader": "^8.2.5",
"babel-plugin-named-exports-order": "^0.0.2",
"cross-env": "^7.0.3",
"eslint-config-prettier": "^8.5.0",
"lint-staged": "^13.0.3",
"node-sass": "^7.0.1",
"prettier": "2.7.1",
"prop-types": "^15.8.1",
"react": "^18.2.0",
"react-docgen-typescript-loader": "^3.7.2",
"react-dom": "^18.2.0",
"react-scripts": "5.0.1",
"sass": "^1.54.5",
"sass-loader": "^13.0.2",
"typescript": "^4.8.2",
"webpack": "^5.74.0"
},
"lint-staged": {
"*.{js,css,jsx,ts,tsx}": "prettier --write --ignore-unknown"
}
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化