@data-client/normalizr
Version:
Normalizes and denormalizes JSON according to schema for Redux and Flux applications
136 lines • 3.43 kB
JSON
{
"name": "@data-client/normalizr",
"version": "0.15.4",
"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"
},
"./imm": {
"types": "./lib/imm.d.ts",
"default": "./lib/imm.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": "0.15.4",
"@js-temporal/polyfill": "^0.5.0",
"@types/jest": "30.0.0",
"@types/node": "^24.0.0",
"immutable": "5.1.4",
"rollup-plugins": "1.0.0"
}
}