UNPKG

re-reselect

Version:

Enhance Reselect selectors with deeper memoization and cache management

97 lines (96 loc) 2.77 kB
{ "name": "re-reselect", "version": "5.1.0", "description": "Enhance Reselect selectors with deeper memoization and cache management", "main": "dist/cjs/index.js", "module": "dist/es/index.js", "jsnext:main": "dist/es/index.js", "browser": "dist/umd/index.js", "types": "dist/types/index.d.ts", "sideEffects": false, "files": [ "dist" ], "scripts": { "test": "jest ./src", "test:typescript": "tsc --noEmit", "test:bundles": "npm run test:bundles:snapshot && npm run test:bundles:unit", "test:bundles:unit": "jest ./src --config ./jest/es.config.js && jest ./src --config ./jest/cjs.config.js && jest ./src --config ./jest/umd.config.js", "test:bundles:snapshot": "jest ./jest/bundles-snapshot.test.ts", "test:source": "npm run test:typescript && npm run test -- --coverage", "test:update": "npm run compile && npm run test:bundles:snapshot -- -u", "clean": "rimraf dist", "compile": "npm run clean && rollup -c --bundleConfigAsCjs", "contrib:add": "all-contributors add", "contrib:generate": "all-contributors generate", "preversion": "npm run prepare", "version": "git add package.json", "postversion": "git push && git push --tags", "prepare": "npx simple-git-hooks && npm run test:source && npm run compile && npm run test:bundles", "format": "prettier --write \"**/*.{js,ts,json,md}\"" }, "keywords": [ "react", "redux", "reselect", "memoize", "cache" ], "repository": { "type": "git", "url": "git+https://github.com/toomuchdesign/re-reselect.git" }, "author": "Andrea Carraro <me@andreacarraro.it>", "license": "MIT", "peerDependencies": { "reselect": "^5.0.0" }, "devDependencies": { "@babel/core": "^7.23.9", "@babel/preset-env": "^7.23.9", "@rollup/plugin-babel": "^6.0.4", "@types/jest": "^29.5.11", "all-contributors-cli": "^6.26.1", "babel-jest": "^29.7.0", "jest": "^29.7.0", "lint-staged": "^13.3.0", "prettier": "^3.2.4", "reselect": "^5.0.1", "rimraf": "^5.0.5", "rollup": "^4.9.6", "rollup-plugin-copy": "^3.5.0", "simple-git-hooks": "^2.9.0", "ts-jest": "^29.1.2", "typescript": "^5.3.3" }, "jest": { "preset": "ts-jest/presets/js-with-ts", "moduleFileExtensions": [ "js", "ts" ], "coverageReporters": [ "text", "lcov" ], "coveragePathIgnorePatterns": [ "__util__" ], "testEnvironment": "node", "setupFilesAfterEnv": [ "<rootDir>/jest.setup.ts" ] }, "simple-git-hooks": { "pre-commit": "npx lint-staged" }, "lint-staged": { "**/*.{js,ts}": [ "prettier --write", "npm t -- ." ], "**/*.md": [ "prettier --write" ] } }