UNPKG

4.1 kBJSONView Raw
1{
2 "name": "mobx-state-tree",
3 "version": "5.4.2",
4 "description": "Opinionated, transactional, MobX powered state container",
5 "main": "dist/mobx-state-tree.js",
6 "umd:main": "dist/mobx-state-tree.umd.js",
7 "module": "dist/mobx-state-tree.module.js",
8 "browser": {
9 "./dist/mobx-state-tree.js": "./dist/mobx-state-tree.js",
10 "./dist/mobx-state-tree.module.js": "./dist/mobx-state-tree.module.js"
11 },
12 "unpkg": "dist/mobx-state-tree.umd.min.js",
13 "jsnext:main": "dist/mobx-state-tree.module.js",
14 "react-native": "dist/mobx-state-tree.module.js",
15 "typings": "dist/index.d.ts",
16 "sideEffects": false,
17 "scripts": {
18 "clean": "shx rm -rf dist && shx rm -rf lib",
19 "build": "yarn clean && tsc && cpr lib dist --filter=\\.js$ && rollup -c",
20 "jest:perf": "jest --testPathPattern=/__tests__/perf/",
21 "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",
22 "test": "yarn test:dev && yarn test:prod",
23 "test:dev": "cross-env NODE_ENV=development JEST_JUNIT_OUTPUT=./test-results/dev.xml yarn jest",
24 "test:prod": "cross-env NODE_ENV=production JEST_JUNIT_OUTPUT=./test-results/prod.xml yarn jest",
25 "test:all": "yarn test && yarn test:dev && yarn test:prod && yarn size && yarn coverage",
26 "size": "size-limit",
27 "coverage": "yarn jest --coverage",
28 "tag-new-version": "yarn version && git push --tags",
29 "deduplicate": "yarn-deduplicate -s fewer yarn.lock",
30 "build-docs": "yarn run fix-typedoc && shx rm -rf ./docs/API && typedoc --options ./typedocconfig.js",
31 "publish-docs": "yarn build-docs && cd ./website && GIT_USER=jamonholmgren USE_SSH=true yarn run publish-gh-pages",
32 "start": "cd website && yarn start",
33 "prepare": "husky install",
34 "lint": "tslint -c ./tslint.json 'src/**/*.ts'",
35 "fix-typedoc": "shx rm -rf ./node_modules/typedoc/node_modules/typescript",
36 "prettier:list": "prettier --list-different \"src/**/*.ts\" \"__tests__/**/*.ts\"",
37 "prettier:check": "prettier --check \"src/**/*.ts\" \"__tests__/**/*.ts\"",
38 "prettier:write": "prettier --write \"src/**/*.ts\" \"__tests__/**/*.ts\""
39 },
40 "lint-staged": {
41 "*.{ts,tsx,js,jsx}": [
42 "prettier --write"
43 ]
44 },
45 "repository": {
46 "type": "git",
47 "url": "https://github.com/mobxjs/mobx-state-tree.git"
48 },
49 "author": "Michel Weststrate",
50 "license": "MIT",
51 "bugs": {
52 "url": "https://github.com/mobxjs/mobx-state-tree/issues"
53 },
54 "files": [
55 "dist/"
56 ],
57 "devDependencies": {
58 "@size-limit/preset-big-lib": "^5.0.3",
59 "@types/jest": "^26.0.3",
60 "@types/node": "^12.0.2",
61 "codecov": "^3.8.3",
62 "concat": "^1.0.3",
63 "coveralls": "^3.1.0",
64 "cpr": "^3.0.1",
65 "cross-env": "^7.0.3",
66 "husky": "^7.0.0",
67 "jest": "^26.1.0",
68 "jest-junit": "^11.0.1",
69 "lint-staged": "^11.1.2",
70 "mobx": "^6.3.0",
71 "prettier": "^2.4.1",
72 "rollup": "^2.18.1",
73 "rollup-plugin-commonjs": "^10.0.0",
74 "rollup-plugin-filesize": "^9.0.1",
75 "rollup-plugin-node-resolve": "^5.0.0",
76 "rollup-plugin-replace": "^2.1.0",
77 "rollup-plugin-terser": "^6.1.0",
78 "shx": "^0.3.2",
79 "size-limit": "^5.0.3",
80 "spec.ts": "^1.1.3",
81 "ts-jest": "^26.1.1",
82 "ts-node": "^8.10.2",
83 "tslib": "^2.0.0",
84 "tslint": "^6.1.3",
85 "tslint-config-prettier": "^1.18.0",
86 "typedoc": "0.15.8",
87 "typedoc-plugin-markdown": "2.2.11",
88 "typescript": "^3.8.3",
89 "yarn-deduplicate": "^3.1.0"
90 },
91 "peerDependencies": {
92 "mobx": "^6.3.0"
93 },
94 "keywords": [
95 "mobx",
96 "mobx-state-tree",
97 "promise",
98 "reactive",
99 "frp",
100 "functional-reactive-programming",
101 "state management"
102 ],
103 "gitHead": "27ec7ac0b0743a367fb01a7f40192f3042bd91f2",
104 "prettier": {
105 "printWidth": 100,
106 "tabWidth": 2,
107 "singleQuote": false,
108 "trailingComma": "none",
109 "semi": false
110 },
111 "size-limit": [
112 {
113 "path": "./dist/mobx-state-tree.min.js",
114 "limit": "25 KB",
115 "webpack": false,
116 "running": false
117 }
118 ]
119}