UNPKG

action-reducer

Version:

Type-safe ActionCreator and Reducer library

49 lines (48 loc) 1.31 kB
{ "name": "action-reducer", "version": "0.4.0", "description": "Type-safe ActionCreator and Reducer library", "main": "dist/action-reducer.cjs.js", "types": "dist/types/action-reducer.d.ts", "exports": { "require": "./dist/action-reducer.cjs.js", "import": "./dist/action-reducer.mjs" }, "files": [ "dist" ], "scripts": { "build": "npm run build:rollup && npm run build:types", "build:rollup": "rollup -c", "build:types": "tsc -p tsconfig.declaration.json", "postbuild:types": "cpx \"src/*.d.ts\" dist/types", "test": "npm run test:types && npm run test:vitest", "test:types": "tsc -p . --noEmit", "test:vitest": "vitest run", "clean": "rm -rf ./dist/*", "prepublishOnly": "npm run test && npm run clean && npm run build" }, "repository": { "type": "git", "url": "git+https://github.com/iMasanari/action-reducer.git" }, "keywords": [ "redux", "action creator", "ducks", "typescript" ], "author": "imasanari", "license": "MIT", "devDependencies": { "@types/node": "^18.8.3", "@types/react": "^18.0.21", "cpx": "^1.5.0", "redux": "^4.2.0", "rollup": "^2.79.1", "rollup-plugin-esbuild": "^4.10.1", "spec.ts": "^1.1.3", "typescript": "^4.8.4", "vitest": "^0.24.0" } }