mobx-store-provider
Version:
Use React Hooks with mobx-state-tree
130 lines (129 loc) • 2.98 kB
JSON
{
"name": "mobx-store-provider",
"version": "2.1.2",
"description": "Use React Hooks with mobx-state-tree",
"homepage": "https://mobx-store-provider.jonbnewman.dev/",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"scripts": {
"test": "jest",
"test-watch": "jest --watch",
"lint": "eslint src/*.ts",
"build": "tsc",
"watch": "tsc -w",
"prepare": "npm run build",
"prepublishOnly": "npm test && npm run lint",
"preversion": "npm run lint",
"version": "git add -A src",
"postversion": "git push && git push --tags",
"coverage": "jest --coverage"
},
"keywords": [
"mobx",
"mobx-state-tree",
"hooks",
"react",
"functional"
],
"repository": {
"type": "git",
"url": "git+https://github.com/jonbnewman/mobx-store-provider.git"
},
"files": [
"lib/**/*"
],
"author": "Jonathan Newman",
"license": "MIT",
"sideEffects": false,
"devDependencies": {
"@testing-library/jest-dom": "^5.16.1",
"@testing-library/react": "^12.1.2",
"@types/jest": "^27.4.0",
"@types/react": "^17.0.38",
"@typescript-eslint/eslint-plugin": "^5.9.0",
"@typescript-eslint/parser": "^5.9.0",
"coveralls": "^3.1.1",
"eslint": "^8.6.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-react": "^7.28.0",
"react": "^17.0.2",
"jest": "^27.4.7",
"mobx": "^6.3.10",
"mobx-react": "^7.2.1",
"mobx-state-tree": "^5.1.0",
"prettier": "^2.5.1",
"react-dom": "^17.0.2",
"ts-jest": "^27.1.2",
"typescript": "^4.5.4"
},
"peerDependencies": {
"react": ">=16.8",
"mobx-state-tree": ">=3.0.0"
},
"jest": {
"transform": {
"^.+\\.(t|j)sx?$": "ts-jest"
},
"testRegex": "((\\.|/)(test|spec))\\.(jsx?|tsx?)$",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json",
"node"
],
"testEnvironment": "jsdom"
},
"prettier": {
"semi": true,
"trailingComma": "all",
"printWidth": 80,
"tabWidth": 2
},
"eslintConfig": {
"env": {
"browser": true,
"es6": true
},
"extends": [
"eslint:recommended",
"plugin:react/recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:prettier/recommended"
],
"settings": {
"react": {
"createClass": "createReactClass",
"pragma": "React",
"version": "detect",
"flowVersion": "0.53"
}
},
"globals": {
"Atomics": "readonly",
"SharedArrayBuffer": "readonly"
},
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"ecmaVersion": 2018,
"sourceType": "module"
},
"plugins": [
"react",
"@typescript-eslint"
],
"rules": {
"no-unused-vars": "off"
}
},
"eslintIgnore": [
"node_modules",
"dist",
"coverage"
]
}