UNPKG

react-auto-controlled

Version:

Component autonomous state control utilities in React class methods and React Hooks

105 lines (104 loc) 3.2 kB
{ "name": "react-auto-controlled", "version": "0.2.4", "description": "Component autonomous state control utilities in React class methods and React Hooks", "keywords": [ "react", "component", "component-extensions", "component-utils", "utils", "react-components", "react-hooks", "use-state", "auto-controlled-state", "prop-derived-state" ], "license": "MIT", "repository": { "type": "git", "url": "https://github.com/andrewsantarin/react-auto-controlled.git" }, "bugs": { "url": "https://github.com/andrewsantarin/react-auto-controlled/issues" }, "homepage": "https://github.com/andrewsantarin/react-auto-controlled#readme", "author": { "name": "Cezar Andrew Villegas Santarin", "email": "andrew.santarin@gmail.com", "url": "https://linkedin.com/in/andrewsantarin" }, "main": "dist/index.cjs.js", "module": "dist/index.esm.js", "jsnext:main": "dist/index.esm.js", "types": "dist/index.d.ts", "files": [ "dist" ], "devDependencies": { "@babel/cli": "^7.5.5", "@babel/core": "^7.5.5", "@babel/plugin-proposal-class-properties": "^7.5.5", "@babel/plugin-transform-runtime": "^7.5.5", "@babel/preset-env": "^7.5.5", "@testing-library/jest-dom": "^4.0.0", "@testing-library/react": "^8.0.8", "@testing-library/react-hooks": "^1.1.0", "@types/jest": "^24.0.17", "@types/jsdom": "^12.2.4", "@types/lodash": "^4.14.136", "@types/node": "^12.7.1", "@types/react": "^16.8.25", "@types/react-dom": "^16.8.5", "concurrently": "^4.1.1", "cross-env": "^5.2.0", "jest": "^24.8.0", "jsdom": "^15.1.1", "prepend-file": "^1.3.1", "react": "^16.8.6", "react-dom": "^16.8.6", "react-test-renderer": "^16.8.6", "rollup": "^1.19.4", "rollup-plugin-babel": "^4.3.3", "rollup-plugin-commonjs": "^10.0.2", "rollup-plugin-node-resolve": "^5.2.0", "rollup-plugin-peer-deps-external": "^2.2.0", "rollup-plugin-size-snapshot": "^0.9.0", "rollup-plugin-sourcemaps": "^0.4.2", "rollup-plugin-typescript2": "^0.22.1", "ts-jest": "^24.0.2", "ts-node": "^8.2.0", "tslib": "^1.9.3", "tslint": "^5.17.0", "tslint-eslint-rules": "^5.4.0", "tslint-plugin-prettier": "^2.0.1", "tslint-react": "^4.0.0", "typescript": "^3.5.3" }, "dependencies": { "lodash": "^4.17.15" }, "peerDependencies": { "react": ">=15" }, "scripts": { "lint": "tslint --config tslint.json 'src/**/*'", "clean": "cross-env rm -rf dist .size-snapshot.json example/src/react-auto-controlled", "build": "yarn clean && rollup --config", "build-watch": "yarn clean && rollup --config --watch", "install-all": "npm i && cd example && yarn && cd ..", "start-example": "cd example && npm start", "deploy-example": "cd example && yarn deploy", "develop": "concurrently --kill-others \"yarn build-watch\" \"yarn start-example\"", "test": "jest --verbose ./src", "pretest": "yarn build", "prepublishOnly": "yarn test" }, "jest": { "modulePathIgnorePatterns": [ "example" ], "preset": "ts-jest", "testEnvironment": "node" } }