You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
145 lines
4.0 KiB
145 lines
4.0 KiB
{
|
|
"_from": "mobx@^3.3.1",
|
|
"_id": "mobx@3.5.1",
|
|
"_inBundle": false,
|
|
"_integrity": "sha1-jmguxTXPROBABbnjfi32asyXWkI=",
|
|
"_location": "/mobx",
|
|
"_phantomChildren": {},
|
|
"_requested": {
|
|
"type": "range",
|
|
"registry": true,
|
|
"raw": "mobx@^3.3.1",
|
|
"name": "mobx",
|
|
"escapedName": "mobx",
|
|
"rawSpec": "^3.3.1",
|
|
"saveSpec": null,
|
|
"fetchSpec": "^3.3.1"
|
|
},
|
|
"_requiredBy": [
|
|
"/pillarjs"
|
|
],
|
|
"_resolved": "https://registry.npmjs.org/mobx/-/mobx-3.5.1.tgz",
|
|
"_shasum": "8e682ec535cf44e04005b9e37e2df66acc975a42",
|
|
"_spec": "mobx@^3.3.1",
|
|
"_where": "/var/www/htdocs/coze/socket/node_modules/pillarjs",
|
|
"author": {
|
|
"name": "Michel Weststrate"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/mobxjs/mobx/issues"
|
|
},
|
|
"bundleDependencies": false,
|
|
"dependencies": {},
|
|
"deprecated": false,
|
|
"description": "Simple, scalable state management.",
|
|
"devDependencies": {
|
|
"@types/jest": "^21.1.9",
|
|
"@types/node": "^7.0.22",
|
|
"babel-core": "^6.26.0",
|
|
"babel-jest": "^22.0.4",
|
|
"babel-plugin-transform-decorators-legacy": "^1.3.4",
|
|
"babel-preset-es2015": "^6.3.13",
|
|
"babel-preset-react": "^6.3.13",
|
|
"babel-preset-stage-1": "^6.3.13",
|
|
"browserify": "^12.0.1",
|
|
"chalk": "^1.1.3",
|
|
"coveralls": "^2.11.4",
|
|
"flow-bin": "^0.59.0",
|
|
"fs-extra": "^3.0.1",
|
|
"husky": "^0.14.3",
|
|
"iterall": "^1.0.2",
|
|
"jest": "^22.0.4",
|
|
"lint-staged": "^3.6.1",
|
|
"lodash.intersection": "^3.2.0",
|
|
"ncp": "^2.0.0",
|
|
"nscript": "^0.1.10",
|
|
"prettier": "^1.4.4",
|
|
"regenerator-runtime": "^0.11.1",
|
|
"rollup": "^0.41.6",
|
|
"rollup-plugin-filesize": "^1.3.2",
|
|
"rollup-plugin-node-resolve": "^3.0.0",
|
|
"size-limit": "^0.2.0",
|
|
"tape": "^4.2.2",
|
|
"ts-jest": "^22.0.0",
|
|
"tslib": "^1.7.1",
|
|
"typescript": "^2.1.4",
|
|
"uglify-js": "^2.6.1"
|
|
},
|
|
"files": [
|
|
"lib",
|
|
"LICENSE",
|
|
"bower.json"
|
|
],
|
|
"homepage": "https://mobx.js.org/",
|
|
"jest": {
|
|
"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/"
|
|
]
|
|
},
|
|
"jsnext:main": "lib/mobx.module.js",
|
|
"keywords": [
|
|
"mobx",
|
|
"mobservable",
|
|
"observable",
|
|
"react-component",
|
|
"react",
|
|
"reactjs",
|
|
"reactive",
|
|
"model",
|
|
"frp",
|
|
"functional-reactive-programming",
|
|
"state management",
|
|
"data flow"
|
|
],
|
|
"license": "MIT",
|
|
"lint-staged": {
|
|
"*.{ts,tsx,js,jsx}": [
|
|
"prettier --write --print-width 100 --tab-width 4 --no-semi",
|
|
"git add"
|
|
]
|
|
},
|
|
"main": "lib/mobx.js",
|
|
"module": "lib/mobx.module.js",
|
|
"name": "mobx",
|
|
"react-native": "lib/mobx.module.js",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/mobxjs/mobx.git"
|
|
},
|
|
"scripts": {
|
|
"_prepublish": "npm run small-build",
|
|
"lint": "tslint -c tslint.json src/*.ts src/types/*.ts src/api/*.ts src/core/*.ts src/utils/*.ts",
|
|
"precommit": "lint-staged",
|
|
"prettier": "prettier --write --print-width 100 --tab-width 4 --no-semi \"**/*.js\" \"**/*.jsx\" \"**/*.tsx\" \"**/*.ts\"",
|
|
"quick-build": "tsc --pretty",
|
|
"size": "size-limit 20KB lib/mobx.js",
|
|
"small-build": "node scripts/build.js",
|
|
"test": "yarn quick-build && yarn jest",
|
|
"test:all": "yarn small-build && yarn jest -i && yarn test:flow && yarn test:mixed-versions",
|
|
"test:flow": "flow check",
|
|
"test:mixed-versions": "jest --testRegex mixed-versions",
|
|
"test:performance": "npm run small-build && PERSIST=true time node --expose-gc test/perf/index.js",
|
|
"test:travis": "yarn test:all && yarn test:performance && yarn test -i --coverage && yarn test:webpack && yarn size",
|
|
"test:watch": "yarn test --watch",
|
|
"test:webpack": "node scripts/webpack-regression-tests.js"
|
|
},
|
|
"typings": "lib/mobx.d.ts",
|
|
"umd:main": "lib/mobx.umd.js",
|
|
"version": "3.5.1"
|
|
}
|