UNPKG

mobx-keystone

Version:

A MobX powered state management solution based on data trees with first class support for TypeScript, snapshots, patches and much more

99 lines (98 loc) 3.4 kB
{ "name": "mobx-keystone", "version": "1.11.5", "description": "A MobX powered state management solution based on data trees with first class support for TypeScript, snapshots, patches and much more", "keywords": [ "mobx", "mobx-keystone", "mobx-state-tree", "reactive", "frp", "functional-reactive-programming", "state management" ], "repository": { "type": "git", "url": "https://github.com/xaviergonz/mobx-keystone.git" }, "bugs": { "url": "https://github.com/xaviergonz/mobx-keystone/issues" }, "homepage": "https://mobx-keystone.js.org", "license": "MIT", "author": "Javier González Garcés", "source": "./src/index.ts", "exports": { "./package.json": "./package.json", ".": { "types": "./dist/types/index.d.ts", "script": "./dist/mobx-keystone.umd.js", "import": "./dist/mobx-keystone.esm.mjs", "require": "./dist/mobx-keystone.umd.js", "default": "./dist/mobx-keystone.esm.mjs" } }, "esmodule": "./dist/mobx-keystone.esm.js", "module": "./dist/mobx-keystone.esm.js", "jsnext:main": "./dist/mobx-keystone.esm.js", "react-native": "./dist/mobx-keystone.umd.js", "umd:main": "./dist/mobx-keystone.umd.js", "unpkg": "./dist/mobx-keystone.umd.js", "jsdelivr": "./dist/mobx-keystone.umd.js", "main": "./dist/mobx-keystone.umd.js", "types": "./dist/types/index.d.ts", "typings": "./dist/types/index.d.ts", "sideEffects": false, "files": [ "src", "dist", "LICENSE", "CHANGELOG.md", "README.md" ], "scripts": { "quick-build": "tsc", "quick-build-tests": "tsc -p test", "copy-root-files": "shx cp ../../README.md . && shx cp ../../LICENSE . && shx cp ../../CHANGELOG.md .", "build": "yarn quick-build && yarn copy-root-files && shx rm -rf dist && vite build && shx cp dist/mobx-keystone.esm.mjs dist/mobx-keystone.esm.js", "test": "jest", "test:ci": "yarn test -i --coverage", "test:perf": "yarn build && yarn test:perf:run", "test:perf:run": "cd perf_bench && NODE_ENV=production /usr/bin/time node --expose-gc --require ts-node/register ./report.ts", "memtest": "cd perf_bench && NODE_ENV=production node --expose-gc --require ts-node/register ./memtest.ts", "build-docs": "shx rm -rf api-docs && typedoc --options ./typedocconfig.js src/index.ts && shx rm -rf ../../apps/site/copy-to-build/api && shx mkdir -p ../../apps/site/copy-to-build/api && shx cp -R ./api-docs/* ../../apps/site/copy-to-build/api" }, "peerDependencies": { "mobx": "^6.0.0 || ^5.0.0 || ^4.0.0" }, "devDependencies": { "@babel/core": "^7.28.5", "@babel/plugin-proposal-class-properties": "^7.18.6", "@babel/plugin-proposal-decorators": "^7.28.0", "@babel/preset-env": "^7.28.5", "@babel/preset-typescript": "^7.28.5", "@swc/core": "^1.15.0", "@swc/jest": "^0.2.39", "@types/jest": "^30.0.0", "@types/node": "^24.10.0", "babel-jest": "^30.2.0", "jest": "^30.2.0", "mobx-v4": "npm:mobx@^4.15.7", "mobx-v5": "npm:mobx@^5.15.7", "shx": "^0.4.0", "spec.ts": "^1.1.3", "ts-jest": "^29.4.5", "ts-node": "^10.9.2", "typedoc": "^0.28.14", "typescript": "^5.9.3" }, "dependencies": { "fast-deep-equal": "^3.1.3", "nanoid": "^3.3.11", "ts-toolbelt": "^9.6.0", "tslib": "^2.8.1" }, "directories": { "test": "test" } }