react-state-hoc
Version:
A React higher-order component for abstracting state away
87 lines (86 loc) • 2.02 kB
JSON
{
"name": "react-state-hoc",
"version": "3.0.0",
"description": "A React higher-order component for abstracting state away",
"main": "index.js",
"jsnext:main": "index.es.js",
"module": "index.es.js",
"sideEffects": "false",
"typings": "typings/index.d.ts",
"scripts": {
"test": "jest",
"build": "rollup -c rollup.config.js",
"clog": "conventional-changelog -p angular -i CHANGELOG.md -s",
"precommit": "lint-staged"
},
"repository": {
"type": "git",
"url": "git+https://github.com/troch/react-state-hoc.git"
},
"keywords": [
"react",
"state",
"hoc",
"higher-order",
"component"
],
"author": "Thomas Roch <thomas.c.roch@gmail.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/troch/react-state-hoc/issues"
},
"homepage": "https://github.com/troch/react-state-hoc#readme",
"devDependencies": {
"@types/enzyme": "~3.1.10",
"@types/jest": "~22.2.3",
"@types/react": "~16.3.14",
"conventional-changelog-cli": "^2.0.1",
"enzyme": "~3.3.0",
"enzyme-adapter-react-16": "~1.1.1",
"husky": "~0.14.3",
"jest": "~22.4.3",
"lint-staged": "~7.0.5",
"prettier": "~1.12.1",
"react": "~16.3.2",
"react-dom": "~16.3.2",
"rollup": "~0.58.2",
"rollup-plugin-typescript2": "~0.13.0",
"ts-jest": "~22.4.5",
"tslint": "~5.10.0",
"tslint-config-prettier": "~1.12.0",
"typescript": "~2.8.3"
},
"peerDependencies": {
"react": "^15.0.0 || ^16.0.0"
},
"lint-staged": {
"*.{ts,tsx}": [
"prettier --write",
"tslint",
"git add"
],
"*.{js}": [
"prettier --write",
"git add"
]
},
"jest": {
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
"testRegex": "modules/__tests__/.*",
"moduleFileExtensions": [
"tsx",
"ts",
"js"
],
"setupFiles": [
"<rootDir>/test.config.js"
],
"globals": {
"ts-jest": {
"tsConfigFile": "tsconfig.json"
}
}
}
}