mobx-state-tree
Version:
Opinionated, transactional, MobX powered state container
85 lines (84 loc) • 3.55 kB
JSON
{
"name": "mobx-state-tree",
"version": "3.14.1",
"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",
"scripts": {
"clean": "shx rm -rf dist && shx rm -rf lib",
"build": "yarn clean && shx cp ../../README.md . && tsc && cpr lib dist --filter=\\.js$ && rollup -c",
"jest": "jest --testPathPattern=/__tests__/core/",
"jest:perf": "jest --testPathPattern=/__tests__/perf/",
"test:perf": "yarn build && yarn jest:perf && TS_NODE_COMPILER_OPTIONS='{\"module\": \"commonjs\"}' /usr/bin/time node --expose-gc --require ts-node/register __tests__/perf/report.ts",
"test": "yarn test:dev && yarn test:prod && yarn test:others",
"test:dev": "cross-env NODE_ENV=development JEST_JUNIT_OUTPUT=../../test-results/mobx-state-tree/dev.xml yarn jest",
"test:prod": "cross-env NODE_ENV=production JEST_JUNIT_OUTPUT=../../test-results/mobx-state-tree/prod.xml yarn jest",
"test:others": "yarn test:cyclic && yarn test:mobx4",
"test:cyclic": "node -e \"require('.')\"",
"test:mobx4": "yarn add -D mobx@4.9.0 && cross-env JEST_JUNIT_OUTPUT=../../test-results/mobx-state-tree/mobx4.xml yarn jest -i && git checkout package.json ../../yarn.lock && yarn install",
"_prepublish": "yarn build && yarn build-docs",
"fix-docs": "concat -o ../../docs/API/README.md ../../docs/API_header.md ../../docs/API/README.md",
"build-docs": "shx rm -rf ../../docs/API && typedoc --options ./typedocconfig.js && yarn fix-docs",
"lint": "tslint -c ./tslint.json 'src/**/*.ts'"
},
"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/"
],
"devDependencies": {
"@types/jest": "^24.0.11",
"@types/node": "^12.0.2",
"concat": "^1.0.3",
"coveralls": "^3.0.3",
"cpr": "^3.0.1",
"cross-env": "^5.2.0",
"jest": "^24.5.0",
"jest-junit": "^6.3.0",
"mobx": "^5.9.0",
"rollup": "^1.6.0",
"rollup-plugin-commonjs": "^10.0.0",
"rollup-plugin-filesize": "^6.0.1",
"rollup-plugin-node-resolve": "^5.0.0",
"rollup-plugin-replace": "^2.1.0",
"rollup-plugin-terser": "^5.0.0",
"shx": "^0.3.2",
"spec.ts": "^1.1.3",
"ts-jest": "^24.0.0",
"ts-node": "^8.0.3",
"tslib": "^1.9.3",
"tslint": "^5.14.0",
"typedoc": "^0.14.2",
"typedoc-plugin-markdown": "^1.1.27",
"typescript": "^3.5.3"
},
"peerDependencies": {
"mobx": ">=4.8.0 <5.0.0 || >=5.8.0 <6.0.0"
},
"keywords": [
"mobx",
"mobx-state-tree",
"promise",
"reactive",
"frp",
"functional-reactive-programming",
"state management"
],
"gitHead": "8ef9c35db90314ceeac27d73052f01fd0f8cf9eb"
}