mirror of
https://github.com/zhigang1992/mobx-utils.git
synced 2026-01-12 17:32:29 +08:00
96 lines
2.2 KiB
JSON
96 lines
2.2 KiB
JSON
{
|
|
"name": "mobx-utils",
|
|
"version": "6.0.4",
|
|
"description": "Utility functions and common patterns for MobX",
|
|
"main": "mobx-utils.umd.js",
|
|
"module": "mobx-utils.module.js",
|
|
"jsnext:main": "mobx-utils.module.js",
|
|
"react-native": "mobx-utils.module.js",
|
|
"typings": "lib/mobx-utils.d.ts",
|
|
"sideEffects": false,
|
|
"scripts": {
|
|
"prettier": "prettier --write \"**/*.js\" \"**/*.jsx\" \"**/*.tsx\" \"**/*.ts\"",
|
|
"build": "tsc -p src && rollup -c",
|
|
"watch": "jest --watch",
|
|
"test": "jest",
|
|
"prepublishOnly": "npm run build && npm run build-docs",
|
|
"coverage": "jest --coverage",
|
|
"build-docs": "npm run build && documentation readme lib/mobx-utils.js --section API"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/mobxjs/mobx-utils.git"
|
|
},
|
|
"author": "Michel Weststrate",
|
|
"license": "MIT",
|
|
"bugs": {
|
|
"url": "https://github.com/mobxjs/mobx-utils/issues"
|
|
},
|
|
"files": [
|
|
"lib/",
|
|
"mobx-utils.umd.js",
|
|
"mobx-utils.module.js"
|
|
],
|
|
"devDependencies": {
|
|
"@types/jest": "^25.2.3",
|
|
"coveralls": "^3.1.0",
|
|
"documentation": "^13.0.0",
|
|
"faucet": "*",
|
|
"husky": "^4.2.5",
|
|
"jest": "^26.0.1",
|
|
"lint-staged": "^10.2.6",
|
|
"lodash.clonedeep": "*",
|
|
"lodash.clonedeepwith": "*",
|
|
"lodash.intersection": "*",
|
|
"mobx": "^6.0.0",
|
|
"prettier": "^2.0.5",
|
|
"rollup": "^2.10.8",
|
|
"rxjs": "^6.6.3",
|
|
"shelljs": "^0.8.4",
|
|
"ts-jest": "^26.0.0",
|
|
"typescript": "^4.0.3"
|
|
},
|
|
"dependencies": {},
|
|
"peerDependencies": {
|
|
"mobx": "^6.0.0"
|
|
},
|
|
"keywords": [
|
|
"mobx",
|
|
"mobx-utils",
|
|
"promise",
|
|
"reactive",
|
|
"frp",
|
|
"functional-reactive-programming",
|
|
"state management"
|
|
],
|
|
"jest": {
|
|
"transform": {
|
|
"^.+\\.ts?$": "ts-jest"
|
|
},
|
|
"testRegex": "test/.*\\.(t|j)sx?$",
|
|
"moduleFileExtensions": [
|
|
"ts",
|
|
"tsx",
|
|
"js",
|
|
"jsx",
|
|
"json"
|
|
],
|
|
"testPathIgnorePatterns": [
|
|
"/node_modules/",
|
|
"/lib/",
|
|
"/coverage/",
|
|
"/\\./"
|
|
],
|
|
"watchPathIgnorePatterns": [
|
|
"<rootDir>/node_modules/"
|
|
]
|
|
},
|
|
"lint-staged": {
|
|
"*.{ts,tsx,js,jsx}": "prettier --write"
|
|
},
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "lint-staged"
|
|
}
|
|
}
|
|
} |