@sampettersson/constate
Version:
Yet another React state management library that lets you work with local state and scale up to global state with ease
109 lines (108 loc) • 3.43 kB
JSON
{
"name": "@sampettersson/constate",
"version": "0.8.2",
"description": "Yet another React state management library that lets you work with local state and scale up to global state with ease",
"license": "MIT",
"repository": "diegohaz/constate",
"main": "dist/constate.cjs.js",
"module": "dist/constate.es.js",
"jsnext:main": "dist/constate.es.js",
"unpkg": "dist/constate.min.js",
"types": "dist/ts",
"author": {
"name": "Diego Haz",
"email": "hazdiego@gmail.com",
"url": "https://github.com/diegohaz"
},
"files": [
"dist",
"src"
],
"scripts": {
"start": "parcel examples/index.html",
"test": "jest",
"coverage": "npm test -- --coverage",
"postcoverage": "opn coverage/lcov-report/index.html",
"type-check": "tsc --noEmit",
"lint": "eslint src test examples --ext js,ts,tsx",
"clean": "rimraf dist",
"prebuild": "npm run clean",
"build": "tsc --emitDeclarationOnly && rollup -c",
"preversion": "npm run lint && npm test && npm run build",
"version": "standard-changelog && git add CHANGELOG.md",
"postpublish": "git push origin master --follow-tags"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,ts,tsx}": [
"eslint --ext js,ts,tsx --fix",
"git add"
]
},
"keywords": [
"constate"
],
"dependencies": {},
"devDependencies": {
"@babel/cli": "^7.0.0",
"@babel/core": "^7.0.0",
"@babel/plugin-proposal-class-properties": "^7.0.0",
"@babel/plugin-proposal-object-rest-spread": "^7.0.0",
"@babel/preset-env": "^7.0.0",
"@babel/preset-react": "^7.0.0",
"@babel/preset-typescript": "^7.0.0",
"@types/enzyme": "^3.1.13",
"@types/enzyme-adapter-react-16": "^1.0.3",
"@types/jest": "^23.3.2",
"@types/prop-types": "^15.5.5",
"@types/react": "^16.4.13",
"babel-core": "^7.0.0-0",
"babel-eslint": "^9.0.0",
"babel-jest": "^23.4.2",
"babel-plugin-transform-es2015-modules-commonjs": "^6.26.0",
"enzyme": "^3.6.0",
"enzyme-adapter-react-16": "^1.5.0",
"enzyme-to-json": "^3.3.3",
"eslint": "^5.5.0",
"eslint-config-airbnb": "^17.1.0",
"eslint-config-prettier": "^3.0.1",
"eslint-import-resolver-typescript": "^1.0.2",
"eslint-plugin-import": "^2.14.0",
"eslint-plugin-jsx-a11y": "^6.1.1",
"eslint-plugin-prettier": "^2.6.2",
"eslint-plugin-react": "^7.11.1",
"eslint-plugin-typescript": "^0.12.0",
"husky": "^1.0.0-rc.13",
"jest-cli": "^23.5.0",
"jest-serializer-html": "^5.0.0",
"lint-staged": "^7.2.2",
"opn-cli": "^3.1.0",
"parcel-bundler": "https://github.com/parcel-bundler/parcel#ffef2c1b2892bfb31d0e97485d4fd324692da962",
"prettier": "^1.14.2",
"raf": "^3.4.0",
"react": "^16.5.0",
"react-dom": "^16.5.0",
"react-router-dom": "^4.3.1",
"react-test-renderer": "^16.5.0",
"reakit": "^0.14.6",
"rimraf": "^2.6.2",
"rollup": "^0.65.2",
"rollup-plugin-babel": "^4.0.3",
"rollup-plugin-commonjs": "^9.1.6",
"rollup-plugin-filesize": "^4.0.1",
"rollup-plugin-ignore": "^1.0.3",
"rollup-plugin-node-resolve": "^3.4.0",
"rollup-plugin-replace": "^2.0.0",
"rollup-plugin-uglify": "^5.0.2",
"standard-changelog": "^2.0.1",
"typescript": "^3.0.3",
"typescript-eslint-parser": "^18.0.0"
},
"peerDependencies": {
"react": "^16.3.0"
}
}