Permalink
Branch: master
Find file Copy path
71787b2 Feb 6, 2019
1 contributor

Users who have contributed to this file

98 lines (97 sloc) 2.83 KB
{
"name": "constate",
"version": "1.0.0",
"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/src",
"author": {
"name": "Diego Haz",
"email": "hazdiego@gmail.com",
"url": "https://github.com/diegohaz"
},
"files": [
"dist",
"src"
],
"scripts": {
"test": "jest",
"coverage": "npm test -- --coverage",
"postcoverage": "opn coverage/lcov-report/index.html",
"type-check": "tsc --noEmit",
"lint": "eslint . --ext js,ts,tsx",
"clean": "rimraf dist",
"prebuild": "npm run clean",
"build": "tsc --emitDeclarationOnly && rollup -c",
"prerelease": "npm run lint && npm test && npm run build",
"release": "standard-version",
"postpublish": "git push origin HEAD --follow-tags",
"prepare": "npm run examples:install",
"examples:install": "yarn --cwd examples",
"examples:start": "npm run start --prefix examples",
"examples:build": "npm run build --prefix examples",
"examples:upgrade": "yarn upgrade-interactive --latest --cwd examples"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,ts,tsx}": [
"eslint --ext js,ts,tsx --fix",
"git add"
]
},
"keywords": [
"constate"
],
"devDependencies": {
"@babel/cli": "7.2.3",
"@babel/core": "7.2.2",
"@babel/preset-env": "7.3.1",
"@babel/preset-react": "7.0.0",
"@babel/preset-typescript": "7.1.0",
"@types/jest": "24.0.0",
"@types/prop-types": "15.5.8",
"@types/react": "16.8.2",
"@typescript-eslint/eslint-plugin": "^1.2.0",
"@typescript-eslint/parser": "^1.2.0",
"babel-eslint": "10.0.1",
"babel-jest": "24.1.0",
"eslint": "5.13.0",
"eslint-config-airbnb": "17.1.0",
"eslint-config-prettier": "4.0.0",
"eslint-plugin-import": "2.16.0",
"eslint-plugin-jsx-a11y": "6.2.1",
"eslint-plugin-prettier": "3.0.1",
"eslint-plugin-react": "7.12.4",
"husky": "1.3.1",
"jest": "^24.1.0",
"lint-staged": "8.1.3",
"opn-cli": "4.0.0",
"prettier": "1.16.4",
"raf": "3.4.1",
"react": "16.8.0",
"react-dom": "16.8.0",
"react-test-renderer": "16.8.0",
"react-testing-library": "5.5.0",
"rimraf": "2.6.3",
"rollup": "1.1.2",
"rollup-plugin-babel": "4.3.2",
"rollup-plugin-commonjs": "9.2.0",
"rollup-plugin-ignore": "1.0.4",
"rollup-plugin-node-resolve": "4.0.0",
"rollup-plugin-replace": "2.1.0",
"rollup-plugin-uglify": "6.0.2",
"standard-version": "4.4.0",
"typescript": "3.3.1"
},
"peerDependencies": {
"react": "^16.8.0"
}
}