UNPKG

mobx-state-tree

Version:

Opinionated, transactional, MobX powered state container

117 lines (116 loc) 4.26 kB
{ "name": "mobx-state-tree", "version": "7.2.0", "description": "Opinionated, transactional, MobX powered state container", "main": "dist/mobx-state-tree.js", "umd:main": "dist/mobx-state-tree.umd.js", "module": "dist/mobx-state-tree.module.js", "browser": { "./dist/mobx-state-tree.js": "./dist/mobx-state-tree.js", "./dist/mobx-state-tree.module.js": "./dist/mobx-state-tree.module.js" }, "unpkg": "dist/mobx-state-tree.umd.min.js", "jsnext:main": "dist/mobx-state-tree.module.js", "react-native": "dist/mobx-state-tree.module.js", "typings": "dist/index.d.ts", "sideEffects": false, "scripts": { "clean": "shx rm -rf dist lib", "build": "bun run clean && tsc && cpr lib/src dist --filter=\\.js$ && rollup -c", "test:dev": "NODE_ENV=development bun test", "test:prod": "MST_TESTING=1 NODE_ENV=production bun test", "test:all": "bun run test:dev && bun run test:prod && bun run size", "test:perf": "bun test ./__tests__/perf/", "test:perf:compiled": "bun run build && bun run jest:perf && TS_NODE_COMPILER_OPTIONS='{\"module\": \"commonjs\"}' /usr/bin/time node --expose-gc --require ts-node/register __tests__/perf/report.ts", "typecheck": "tsc --noEmit", "size": "size-limit", "tag-new-version": "yarn version && git push --tags", "build-docs": "bun run fix-typedoc && shx rm -rf ./docs/API && typedoc --options ./typedocconfig.js && node scripts/fix-docs-source-links.js", "publish-docs": "bun run build-docs && cd ./website && GIT_USER=jamonholmgren USE_SSH=true bun run publish-gh-pages", "start": "cd website && bun run start", "prepare": "husky install", "lint": "tslint -c ./tslint.json 'src/**/*.ts'", "fix-typedoc": "shx rm -rf ./node_modules/typedoc/node_modules/typescript", "prettier:list": "prettier --list-different \"src/**/*.ts\" \"__tests__/**/*.ts\"", "prettier:check": "prettier --check \"src/**/*.ts\" \"__tests__/**/*.ts\"", "prettier:write": "prettier --write \"src/**/*.ts\" \"__tests__/**/*.ts\"" }, "lint-staged": { "*.{ts,tsx,js,jsx}": [ "prettier --write" ] }, "repository": { "type": "git", "url": "https://github.com/mobxjs/mobx-state-tree.git" }, "author": "Michel Weststrate", "license": "MIT", "bugs": { "url": "https://github.com/mobxjs/mobx-state-tree/issues" }, "files": [ "dist/" ], "dependencies": { "ts-essentials": "^9.4.1" }, "devDependencies": { "@size-limit/preset-big-lib": "^5.0.3", "@types/bun": "^1.0.6", "@types/node": "^12.0.2", "concat": "^1.0.3", "coveralls": "^3.1.0", "cpr": "^3.0.1", "husky": "^7.0.0", "lint-staged": "^11.1.2", "mobx": "^6.13.1", "prettier": "3.4.1", "rollup": "^2.18.1", "rollup-plugin-commonjs": "^10.0.0", "rollup-plugin-filesize": "^9.0.1", "rollup-plugin-node-resolve": "^5.0.0", "rollup-plugin-replace": "^2.1.0", "rollup-plugin-terser": "^6.1.0", "shx": "^0.3.2", "size-limit": "^5.0.3", "ts-node": "^8.10.2", "tslib": "^2.0.0", "tslint": "^6.1.3", "tslint-config-prettier": "^1.18.0", "typedoc": "0.15.8", "typedoc-plugin-markdown": "2.2.11", "typescript": "^5.3.3", "yarn-deduplicate": "^3.1.0" }, "peerDependencies": { "mobx": "^6.3.0" }, "keywords": [ "mobx", "mobx-state-tree", "promise", "reactive", "frp", "functional-reactive-programming", "state management" ], "gitHead": "27ec7ac0b0743a367fb01a7f40192f3042bd91f2", "prettier": { "printWidth": 100, "semi": false, "tabWidth": 4, "singleQuote": false, "trailingComma": "none", "arrowParens": "avoid", "useTabs": false }, "size-limit": [ { "path": "./dist/mobx-state-tree.min.js", "limit": "25 KB", "webpack": false, "running": false } ] }