react-antd-formutil
Version:
Happy to use react-formutil in the project based on ant-design ^_^
172 lines (171 loc) • 4.78 kB
JSON
{
"name": "react-antd-formutil",
"version": "1.1.13",
"description": "Happy to use react-formutil in the project based on ant-design ^_^",
"main": "dist/index.cjs.js",
"module": "dist/index.esm.js",
"directories": {
"doc": "docs"
},
"scripts": {
"start": "cd docs && npm start",
"build": "rimraf dist && rollup -c",
"test": "node jest/test.js",
"tsc": "node -e \"require('fs-extra').outputJsonSync('.git-tsconfig.json',{ extends: './tsconfig.json', include: ['*.d.ts'].concat(process.env.StagedFiles.split(/\\n+/)) })\" && echo 'TS checking...\\n' && tsc -p .git-tsconfig.json --noEmit --checkJs false"
},
"repository": {
"type": "git",
"url": "git+https://github.com/qiqiboy/react-antd-formutil.git"
},
"entryFile": "src/index.js",
"keywords": [
"react",
"ant-design",
"react-component",
"react-form",
"react-formutil",
"ant-design-form"
],
"author": "qiqiboy",
"license": "ISC",
"bugs": {
"url": "https://github.com/qiqiboy/react-antd-formutil/issues"
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest",
"./eslint.config.js"
]
},
"prettier": {
"printWidth": 120,
"tabWidth": 4,
"trailingComma": "none",
"jsxBracketSameLine": true,
"semi": true,
"singleQuote": true,
"arrowParens": "avoid",
"overrides": [
{
"files": [
"*.json"
],
"options": {
"tabWidth": 2
}
}
]
},
"homepage": "https://github.com/qiqiboy/react-antd-formutil#readme",
"types": "./index.d.ts",
"peerDependencies": {
"react": "^16.3.0 || ^17.0.0",
"prop-types": ">15.0.0",
"antd": "^3.0.0 || ^4.0.0",
"react-formutil": "^1.0.11"
},
"devDependencies": {
"@babel/cli": "7.12.1",
"@babel/core": "7.12.3",
"@commitlint/cli": "11.0.0",
"@commitlint/config-conventional": "11.0.0",
"@rollup/plugin-babel": "5.2.1",
"@rollup/plugin-commonjs": "11.1.0",
"@rollup/plugin-eslint": "8.0.0",
"@rollup/plugin-node-resolve": "10.0.0",
"@rollup/plugin-replace": "2.3.4",
"@testing-library/jest-dom": "5.11.5",
"@testing-library/react": "11.1.2",
"@testing-library/user-event": "12.2.2",
"@types/jest": "26.0.15",
"@types/node": "14.14.7",
"@types/prop-types": "15.7.3",
"@types/react": "16.9.23",
"@types/react-dom": "16.9.5",
"@types/react-is": "16.7.1",
"@typescript-eslint/eslint-plugin": "4.7.0",
"@typescript-eslint/parser": "4.7.0",
"antd": "4.9.2",
"babel-eslint": "10.1.0",
"babel-jest": "26.6.3",
"babel-preset-react-app": "10.0.0",
"eslint": "7.13.0",
"eslint-config-react-app": "6.0.0",
"eslint-plugin-flowtype": "5.2.0",
"eslint-plugin-import": "2.22.1",
"eslint-plugin-jest": "24.1.3",
"eslint-plugin-jsx-a11y": "6.4.1",
"eslint-plugin-react": "7.21.5",
"eslint-plugin-react-hooks": "4.2.0",
"eslint-plugin-testing-library": "3.10.0",
"husky": "3.1.0",
"jest": "26.6.3",
"jest-environment-jsdom-fourteen": "1.0.1",
"jest-resolve": "26.6.2",
"jest-runner-eslint": "0.10.0",
"jest-watch-typeahead": "0.4.2",
"lint-staged": "10.5.1",
"memo-render": "^0.0.2",
"prettier": "2.1.2",
"prop-types": "15.7.2",
"react": "17.0.1",
"react-dom": "17.0.1",
"react-formutil": "^1.1.3",
"react-hot-loader": "^4.12.19",
"rimraf": "3.0.2",
"rollup": "2.33.1",
"rollup-plugin-babel": "4.4.0",
"rollup-plugin-clear": "^2.0.7",
"rollup-plugin-copy": "3.3.0",
"rollup-plugin-filesize": "9.0.2",
"rollup-plugin-sass": "1.2.2",
"rollup-plugin-terser": "7.0.2",
"typescript": "4.0.5"
},
"engines": {
"node": ">=10.13.0",
"tiger-new": "6.2.7"
},
"husky": {
"hooks": {
"commit-msg": "node_modules/.bin/commitlint --edit $HUSKY_GIT_PARAMS",
"pre-commit": "lint-staged && export StagedFiles=$(git diff --diff-filter AM --name-only --relative --staged | grep -E '^src/.*\\.m?[jt]sx?$') && if [ -n \"$StagedFiles\" ]; then npm run tsc ; fi"
}
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
],
"rules": {
"subject-case": [
0
],
"scope-case": [
0
]
}
},
"lint-staged": {
"src/**/*.{js,jsx,mjs,ts,tsx}": [
"node_modules/.bin/prettier --write",
"node_modules/.bin/eslint --fix"
],
"src/**/*.{css,scss,less,json,html,md}": [
"node_modules/.bin/prettier --write"
]
},
"stylelint": {
"extends": "stylelint-config-recommended"
},
"browserslist": [
">0.2%",
"not dead",
"not op_mini all"
],
"config": {
"commitizen": {
"path": "cz-conventional-changelog"
}
}
}