UNPKG

mobx

Version:

Simple, scalable state management.

133 lines 3.54 kB
{ "name": "mobx", "version": "5.13.0", "description": "Simple, scalable state management.", "main": "lib/mobx.js", "umd:main": "lib/mobx.umd.js", "module": "lib/mobx.module.js", "browser": { "./lib/mobx.js": "./lib/mobx.js", "./lib/mobx.module.js": "./lib/mobx.module.js" }, "unpkg": "lib/mobx.umd.min.js", "jsnext:main": "lib/mobx.module.js", "react-native": "lib/mobx.module.js", "typings": "lib/mobx.d.ts", "scripts": { "test": "jest", "watch": "jest --watch", "test:mixed-versions": "jest --testRegex mixed-versions", "test:all": "yarn lint && yarn jest -i && yarn test:flow && yarn test:mixed-versions", "test:webpack": "node scripts/webpack-regression-tests.js", "test:flow": "node_modules/.bin/flow check", "test:performance": "PERSIST=true time node --expose-gc test/perf/index.js", "test:ci": "yarn test:all && yarn test:performance && yarn test -i --coverage && yarn test:webpack && yarn size", "prettier": "prettier \"**/*.js\" \"**/*.jsx\" \"**/*.tsx\" \"**/*.ts\"", "_prepublish": "yarn small-build", "quick-build": "tsc --pretty", "small-build": "node scripts/build.js", "lint": "eslint src/**/*.ts", "size": "size-limit", "publish-script": "node scripts/publish.js" }, "repository": { "type": "git", "url": "https://github.com/mobxjs/mobx.git" }, "author": "Michel Weststrate", "license": "MIT", "bugs": { "url": "https://github.com/mobxjs/mobx/issues" }, "files": [ "lib", "LICENSE" ], "homepage": "https://mobx.js.org/", "devDependencies": { "@babel/core": "^7.3.4", "@babel/plugin-proposal-class-properties": "^7.3.4", "@babel/plugin-proposal-decorators": "^7.3.0", "@babel/plugin-transform-runtime": "^7.3.4", "@babel/preset-env": "^7.3.4", "@babel/runtime": "^7.3.4", "@types/jest": "^24.0.11", "@types/node": "^11.11.3", "@typescript-eslint/eslint-plugin": "^1.4.2", "babel-jest": "^24.5.0", "chalk": "^1.1.3", "coveralls": "^3.0.3", "eslint": "^5.15.2", "flow-bin": "^0.59.0", "fs-extra": "^7.0.1", "husky": "^1.3.1", "iterall": "^1.2.2", "jest": "^24.5.0", "lint-staged": "^8.1.5", "prettier": "^1.16.4", "rollup": "^1.6.0", "rollup-plugin-filesize": "^6.0.1", "rollup-plugin-node-resolve": "^4.0.1", "rollup-plugin-replace": "^2.1.0", "rollup-plugin-terser": "^4.0.4", "serializr": "^1.5.1", "shelljs": "^0.8.3", "size-limit": "^1.3.3", "tape": "^4.10.1", "ts-jest": "^24.0.0", "tslib": "^1.9.3", "typescript": "^3.3.3333" }, "dependencies": {}, "keywords": [ "mobx", "mobservable", "observable", "react-component", "react", "reactjs", "reactive", "model", "frp", "functional-reactive-programming", "state management", "data flow" ], "lint-staged": { "*.{ts,tsx,js,jsx}": [ "prettier --write", "git add" ] }, "jest": { "globals": { "ts-jest": { "tsConfig": "tsconfig.test.json" } }, "transform": { "^.+\\.tsx?$": "ts-jest", "^.+\\.jsx?$": "babel-jest" }, "testRegex": "test/base/.*\\.(t|j)sx?$", "moduleFileExtensions": [ "ts", "tsx", "js", "jsx", "json" ], "testPathIgnorePatterns": [ "/node_modules/", "/\\./" ], "watchPathIgnorePatterns": [ "<rootDir>/node_modules/" ] }, "husky": { "hooks": { "pre-commit": "lint-staged" } } }