UNPKG

@gjv/redux-slice-factory

Version:

Generic factory functions for common slice data structures

92 lines (91 loc) 2.56 kB
{ "name": "@gjv/redux-slice-factory", "version": "0.10.3", "description": "Generic factory functions for common slice data structures", "author": "Greg Valentine <gregjoeval@gmail.com>", "homepage": "https://github.com/gregjoeval/package-library#readme", "license": "MIT", "main": "dist/index.js", "types": "dist/redux-slice-factory.d.ts", "typings": "dist/redux-slice-factory.d.ts", "module": "dist/redux-slice-factory.esm.js", "sideEffects": false, "scripts": { "setup:install": "npm install", "setup:clean-install": "npm ci", "setup:update": "npx npm-check -u", "setup:clean": "rimraf ./node_modules", "build": "tsdx build --format cjs,esm --name redux-slice-factory && api-extractor run", "build:clean": "rimraf ./dist && rimraf ./temp", "lint": "eslint ./src --ext .js,.jsx,.ts,.tsx --max-warnings 0", "lint:fix": "npm run lint -- --fix", "lint:config": "eslint --print-config ./src/index.ts", "typecheck": "npm run build && npm run build:clean", "test": "tsdx test ./src --runInBand --watchAll=false", "check": "npm run lint && npm run typecheck && npm run test", "prepublishOnly": "npm run build" }, "publishConfig": { "access": "public" }, "directories": { "lib": "src" }, "files": [ "dist/*.js", "dist/*.js.map", "dist/redux-slice-factory.d.ts", "dist/tsdoc-metadata.json", "src" ], "repository": { "type": "git", "url": "git+https://github.com/gregjoeval/package-library.git" }, "bugs": { "url": "https://github.com/gregjoeval/package-library/issues" }, "peerDependencies": { "@reduxjs/toolkit": "~1" }, "devDependencies": { "@gjv/eslint-config-typescript": "^0.10.3", "@jest/globals": "^27.5.1", "@microsoft/api-extractor": "^7.22.1", "@reduxjs/toolkit": "^1.8.1", "@types/lodash.merge": "^4.6.6", "@typescript-eslint/eslint-plugin": "^5.19.0", "@typescript-eslint/parser": "^5.19.0", "eslint-plugin-tsdoc": "^0.2.16", "tsdx": "^0.14.1" }, "dependencies": { "lodash.merge": "^4.6.2", "tslib": "^2.3.1" }, "keywords": [ "redux", "react", "starter", "toolkit", "reducer", "slice", "state", "immer", "immutable", "predictable", "functional", "action", "selector", "factory", "shape", "model", "entity", "createSlice", "createModelSlice", "createEntitySlice", "redux-toolkit", "redux-slice-factory" ], "gitHead": "03e8c49fbaff054e4e8fefd8ced12e28876cd3aa" }