@react-rx/form
Version:
rx form for react, use typescript for development
157 lines • 4.25 kB
JSON
{
"name": "@react-rx/form",
"version": "1.0.13",
"description": "rx form for react, use typescript for development",
"main": "lib/index.js",
"module": "es/index.js",
"types": "dist/index.d.ts",
"files": [
"lib",
"es",
"dist",
"README.md"
],
"keywords": [
"react",
"form",
"typescript",
"rx.js"
],
"lint-staged": {
"*.{ts,tsx}": [
"prettier --parser typescript --write",
"git add"
],
"*.{json}": [
"prettier --printWidth=120 --write",
"git add"
]
},
"jest": {
"testEnvironment": "jsdom",
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
"modulePaths": [
"<rootDir>"
],
"testRegex": ".*/__tests__/.+\\.(generator|test|spec)\\.(ts|tsx)$",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json",
"node"
],
"setupFiles": [
"./src/__tests__/helpers/setup.ts"
],
"collectCoverage": true,
"collectCoverageFrom": [
"src/**/*.{ts,tsx}"
],
"coverageThreshold": {
"global": {
"branches": 80,
"functions": 80,
"lines": 80,
"statements": 80
}
}
},
"peerDependencies": {
"@emotion/is-prop-valid": ">=1.1.x",
"lodash": ">=4.17.21",
"react": ">=17.0.x",
"react-dom": ">=17.0.x",
"rxjs": ">=7.4.x"
},
"devDependencies": {
"@babel/plugin-syntax-dynamic-import": "7.8.3",
"@emotion/is-prop-valid": "1.1.0",
"@material-ui/core": "4.12.3",
"@material-ui/icons": "4.11.2",
"@types/axios-mock-adapter": "1.10.0",
"@types/config": "0.0.40",
"@types/enzyme": "3.10.10",
"@types/highlight.js": "9.12.4",
"@types/html-webpack-plugin": "3.2.6",
"@types/jest": "27.0.2",
"@types/lodash": "4.14.176",
"@types/lodash-es": "4.17.5",
"@types/node": "^16.11.6",
"@types/react": "17.0.33",
"@types/react-dom": "17.0.10",
"@types/react-redux": "7.1.20",
"@types/react-router-dom": "^5.3.2",
"@types/redux-actions": "2.6.2",
"@types/redux-logger": "3.0.9",
"@types/rollup": "0.54.0",
"@types/terser-webpack-plugin": "4.2.0",
"@wojtekmaj/enzyme-adapter-react-17": "^0.6.5",
"axios": "0.24.0",
"axios-mock-adapter": "1.20.0",
"babel-plugin-pure-calls-annotation": "0.4.2",
"config": "3.3.6",
"css-loader": "6.5.0",
"enzyme": "3.11.0",
"file-loader": "6.2.0",
"highlight.js": "11.3.1",
"html-webpack-plugin": "5.5.0",
"husky": "7.0.4",
"jest": "27.3.1",
"lint-staged": "11.2.6",
"lodash": "4.17.21",
"lodash-es": "4.17.21",
"markdown-loader": "6.0.0",
"prettier": "2.4.1",
"raw-loader": "4.0.2",
"react": "17.0.2",
"react-dom": "17.0.2",
"react-redux": "7.2.6",
"react-router-dom": "^5.3.0",
"redux": "4.1.2",
"redux-actions": "2.6.5",
"redux-logger": "3.0.6",
"rollup": "2.59.0",
"rollup-plugin-babel": "4.4.0",
"rollup-plugin-typescript": "1.0.1",
"rxjs": "7.4.0",
"style-loader": "3.3.1",
"terser-webpack-plugin": "5.2.4",
"ts-jest": "27.0.7",
"ts-loader": "9.2.6",
"ts-node": "10.4.0",
"typescript": "4.4.4",
"webpack": "5.61.0",
"webpack-cli": "4.9.1",
"webpack-dev-server": "4.4.0"
},
"repository": {
"type": "git",
"url": "git+https://github.com:reeli/react-rx-form.git"
},
"author": "reeli",
"license": "ISC",
"bugs": {
"url": "git+https://github.com:reeli/react-rx-form.git"
},
"homepage": "git+https://github.com:reeli/react-rx-form.git",
"sideEffects": false,
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"pre-push": "npm test"
}
},
"scripts": {
"start": "npm run dev",
"dev": "webpack-dev-server --config=webpack.config.ts --port=5000 --compress --open --history-api-fallback",
"copy": "cp public/index.html public/404.html && cp -R docs public",
"test": "tsc && jest",
"build:types": "rm -rf dist && tsc --build ./tsconfig.build.types.json",
"build:ts": "rm -rf src/{,**/}*.js && rm -rf lib && rm -rf es && tsc --build ./tsconfig.build.es5.json && tsc --build ./tsconfig.build.es6.json",
"release": "rm -rf lib/ && rm -rf es/ && rollup -c rollup.config.ts"
}
}