@methodjs/store
Version:
Store for React Functional Componets
118 lines (117 loc) • 2.69 kB
JSON
{
"name": "@methodjs/store",
"version": "0.9.8",
"description": "Store for React Functional Componets",
"main": "lib/store.js",
"unpkg": "dist/store.js",
"module": "es/store.js",
"types": "types/index.d.ts",
"scripts": {
"clean": "rimraf lib dist es js types",
"prebuild": "npm run clean",
"build": "tsc && rollup -c",
"prepack": "npm run build",
"lint": "eslint . --fix",
"test": "jest"
},
"repository": {
"type": "git",
"url": "git+https://github.com/methodjs/store.git"
},
"files": [
"dist",
"lib",
"es",
"types"
],
"keywords": [
"react",
"hook",
"state",
"store"
],
"author": "methodjs",
"contributors": [
"eunho@hellomethod.io"
],
"license": "MIT",
"bugs": {
"url": "https://github.com/methodjs/store/issues"
},
"homepage": "https://github.com/methodjs/store#readme",
"eslintConfig": {
"env": {
"browser": true,
"es6": true,
"node": true,
"jest": true
},
"extends": [
"react-app",
"plugin:prettier/recommended"
],
"rules": {
"prettier/prettier": [
"error",
{
"endOfLine": "auto"
}
]
}
},
"prettier": {
"singleQuote": true,
"semi": true,
"useTabs": false,
"tabWidth": 2,
"trailingComma": "all",
"printWidth": 80,
"arrowParens": "avoid",
"endOfLine": "auto"
},
"babel": {
"presets": [
[
"@babel/preset-env",
{
"targets": {
"node": "current"
}
}
],
"@babel/preset-react",
"@babel/preset-typescript"
]
},
"jest": {
"testEnvironment": "jsdom",
"setupFilesAfterEnv": [
"./jest-setup.js"
]
},
"devDependencies": {
"@babel/core": "^7.14.8",
"@babel/preset-env": "^7.14.8",
"@babel/preset-react": "^7.14.5",
"@babel/preset-typescript": "^7.14.5",
"@testing-library/jest-dom": "^5.14.1",
"@testing-library/react": "^12.0.0",
"@types/jest": "^26.0.24",
"@types/react": "^17.0.58",
"@typescript-eslint/eslint-plugin": "^4.28.3",
"@typescript-eslint/parser": "^4.28.3",
"babel-jest": "^27.0.6",
"eslint": "^7.31.0",
"eslint-config-prettier": "^8.3.0",
"eslint-config-react-app": "^6.0.0",
"eslint-plugin-prettier": "^3.4.0",
"jest": "^27.0.6",
"prettier": "^2.3.2",
"react": ">=16.8.0",
"react-test-renderer": "^17.0.2",
"rimraf": "^3.0.2",
"rollup": "^2.53.2",
"tslib": "^2.5.0",
"typescript": "^4.5.4"
}
}