react-mui-formutil
Version:
Happy to use react-formutil in the project based on @mui/material ^_^
161 lines (160 loc) • 4.58 kB
JSON
{
"name": "react-mui-formutil",
"version": "1.0.7",
"description": "Happy to use react-formutil in the project based on @mui/material ^_^",
"main": "dist/index.cjs.js",
"module": "dist/index.esm.js",
"directories": {
"doc": "docs"
},
"scripts": {
"start": "cd docs && npm start",
"build": "rimraf dist && tsc --emitDeclarationOnly && 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://qiqiboy@github.com/qiqiboy/react-mui-formutil.git"
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest",
"./eslint.config.js"
]
},
"keywords": [
"react",
"react-component",
"material-ui",
"react-formutil"
],
"author": "qiqiboy",
"license": "ISC",
"bugs": {
"url": "https://github.com/qiqiboy/react-mui-formutil/issues"
},
"homepage": "https://github.com/qiqiboy/react-mui-formutil#readme",
"types": "./dist/index.d.ts",
"peerDependencies": {
"react": "^16.3.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
"prop-types": ">15.0.0",
"@mui/material": "^5.0.0 || ^6.0.0",
"react-formutil": ">1.0.0"
},
"devDependencies": {
"@commitlint/cli": "11.0.0",
"@commitlint/config-conventional": "11.0.0",
"@mui/material": "^5.9.3",
"@rollup/plugin-babel": "5.3.1",
"@rollup/plugin-commonjs": "11.1.0",
"@rollup/plugin-eslint": "8.0.2",
"@rollup/plugin-json": "4.1.0",
"@rollup/plugin-node-resolve": "10.0.0",
"@rollup/plugin-replace": "2.4.2",
"@testing-library/jest-dom": "5.16.5",
"@testing-library/react": "11.2.7",
"@testing-library/user-event": "12.8.3",
"@types/jest": "26.0.24",
"@types/node": "14.18.23",
"@types/react": "17.0.48",
"@types/react-dom": "17.0.17",
"@types/react-is": "17.0.3",
"@typescript-eslint/eslint-plugin": "5.33.0",
"@typescript-eslint/parser": "5.33.0",
"babel-eslint": "10.1.0",
"babel-jest": "26.6.3",
"babel-preset-react-app": "10.0.1",
"eslint": "7.32.0",
"eslint-config-react-app": "6.0.0",
"eslint-plugin-flowtype": "5.10.0",
"eslint-plugin-import": "2.25.3",
"eslint-plugin-jest": "24.7.0",
"eslint-plugin-jsx-a11y": "6.6.1",
"eslint-plugin-react": "7.30.1",
"eslint-plugin-react-hooks": "4.6.0",
"eslint-plugin-testing-library": "4.12.4",
"husky": "3.1.0",
"jest": "26.6.3",
"jest-environment-jsdom-fourteen": "1.0.1",
"jest-resolve": "26.6.2",
"jest-runner-eslint": "0.11.1",
"jest-watch-typeahead": "0.4.2",
"lint-staged": "10.5.4",
"prettier": "2.7.1",
"prop-types": "^15.8.1",
"react": "^17.0.2",
"react-dom": "17.0.2",
"react-formutil": "^1.1.6",
"rimraf": "3.0.2",
"rollup": "2.77.2",
"rollup-plugin-copy": "3.4.0",
"rollup-plugin-filesize": "9.1.2",
"rollup-plugin-sass": "1.2.13",
"rollup-plugin-terser": "7.0.2",
"typescript": "4.7.4"
},
"prettier": {
"printWidth": 120,
"tabWidth": 4,
"trailingComma": "none",
"bracketSameLine": true,
"semi": true,
"arrowParens": "avoid",
"singleQuote": true,
"overrides": [
{
"files": "*.json",
"options": {
"tabWidth": 2
}
}
]
},
"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"
}
},
"engines": {
"node": ">=10.13.0",
"tiger-new": "7.3.14"
}
}