UNPKG

@data-client/normalizr

Version:

Normalizes and denormalizes JSON according to schema for Redux and Flux applications

133 lines (132 loc) 3.35 kB
{ "name": "@data-client/normalizr", "version": "0.14.22", "description": "Normalizes and denormalizes JSON according to schema for Redux and Flux applications", "homepage": "https://dataclient.io/docs/concepts/normalization", "keywords": [ "normalize", "denormalize", "flux", "redux", "data", "model", "cache", "api", "memoize", "react-native", "ios", "android", "web", "schema", "typescript", "validation", "relational", "reactive", "json" ], "sideEffects": false, "main": "dist/normalizr.js", "react-native": "legacy/index.js", "module": "legacy/index.js", "types": "lib/index.d.ts", "typesVersions": { ">=5.4": { "": [ "lib/index.d.ts" ], "*": [ "lib/index.d.ts" ] }, ">=4.1": { "": [ "ts4.1/index.d.ts" ], "*": [ "ts4.1/index.d.ts" ] }, ">=4.0": { "": [ "ts4.0/index.d.ts" ], "*": [ "ts4.0/index.d.ts" ] }, ">=3.4": { "": [ "ts3.4/index.d.ts" ], "*": [ "ts3.4/index.d.ts" ] } }, "exports": { ".": { "module": "./lib/index.js", "import": "./node.mjs", "require": "./dist/normalizr.js", "browser": "./lib/index.js", "react-native": "./lib/index.js", "default": "./lib/index.js" }, "./package.json": "./package.json" }, "type": "module", "engines": { "node": "^12.17 || ^13.7 || >=14" }, "files": [ "src", "dist", "lib", "node.mjs", "legacy", "ts4.1", "ts4.0", "ts3.4", "LICENSE", "README.md" ], "scripts": { "build": "run build:lib && run build:legacy:lib && run build:bundle", "build:js:development": "BROWSERSLIST_ENV=legacy NODE_ENV=development yarn g:rollup", "build:js:production": "BROWSERSLIST_ENV=legacy NODE_ENV=production yarn g:rollup", "build:js:node": "BROWSERSLIST_ENV=node12 NODE_ENV=development yarn g:rollup && echo '{\"type\":\"commonjs\"}' > dist/package.json", "build:lib": "NODE_ENV=production BROWSERSLIST_ENV='2020' POLYFILL_TARGETS='chrome>88,safari>14' yarn g:babel --out-dir lib", "build:legacy:lib": "NODE_ENV=production BROWSERSLIST_ENV='2018' POLYFILL_TARGETS='chrome>80,safari>13,firefox>72' yarn g:babel --out-dir legacy", "build:bundle": "yarn g:runs build:js:\\*", "build:clean": "yarn g:clean ts3.4 ts4.0 ts4.1", "build:legacy-types": "yarn g:legacy-types 4.1 4.0 3.4", "prepublishOnly": "run build" }, "author": "Nathaniel Tucker <me@ntucker.me> (https://github.com/ntucker)", "funding": "https://github.com/sponsors/ntucker", "contributors": [ "Paul Armstrong", "Dan Abramov" ], "license": "MIT", "repository": { "type": "git", "url": "git+ssh://git@github.com:reactive/data-client.git", "directory": "packages/normalizr" }, "bugs": { "url": "https://github.com/reactive/data-client/issues" }, "dependencies": { "@babel/runtime": "^7.20.0" }, "devDependencies": { "@anansi/browserslist-config": "^1.4.2", "@data-client/endpoint": "workspace:*", "@js-temporal/polyfill": "^0.4.4", "@types/jest": "^29.5.14", "@types/node": "^22.0.0", "immutable": "4.2.2", "rollup-plugins": "workspace:*" } }