-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathpackage.json
99 lines (99 loc) · 2.16 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
{
"name": "mobx-sync",
"version": "3.0.0",
"description": "A library to persist your mobx stores.",
"author": "acrazing <joking.young@gmail.com>",
"main": "dist/mobx-sync.cjs.js",
"module": "dist/mobx-sync.esm.js",
"types": "dist/index.d.ts",
"files": [
"src/",
"dist/"
],
"scripts": {
"clean": "rm -rf dist",
"bundle": "rollup --config rollup.config.ts",
"build": "run-s clean bundle",
"test": "jest",
"prepublishOnly": "run-s test build"
},
"repository": {
"type": "git",
"url": "git+https://github.com/acrazing/mobx-sync.git"
},
"license": "MIT",
"devDependencies": {
"@rollup/plugin-commonjs": "^13.0.0",
"@types/jest": "^26.0.0",
"husky": "^4.2.5",
"jest": "^26.0.1",
"lint-staged": "^10.2.10",
"mobx": "^5.10.1",
"monofile-utilities": "^4.11.1",
"npm-run-all": "^4.1.5",
"prettier": "^2.0.5",
"rollup": "^2.16.1",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-sourcemaps": "^0.6.2",
"rollup-plugin-typescript2": "^0.27.1",
"ts-jest": "^26.1.0",
"typescript": "^3.9.5"
},
"dependencies": {
"tslib": "^2.0.0"
},
"peerDependencies": {
"mobx": "*"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,jsx,ts,tsx,json,css,less,scss,md}": [
"prettier --write"
]
},
"jest": {
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json",
"node",
"mjs"
],
"cacheDirectory": ".cache/jest",
"collectCoverage": false,
"collectCoverageFrom": [
"<rootDir>/src/**/*.{ts,tsx}",
"!**/*.d.ts"
],
"coverageDirectory": "temp/coverage",
"globals": {
"__DEV__": true,
"ENV": {}
},
"testMatch": [
"<rootDir>/src/**/*.spec.{ts,tsx}"
],
"transform": {
"^.+\\.tsx?$": "ts-jest"
}
},
"prettier": {
"printWidth": 80,
"tabWidth": 2,
"useTabs": false,
"semi": true,
"singleQuote": true,
"jsxSingleQuote": false,
"trailingComma": "all",
"bracketSpacing": true,
"jsxBracketSameLine": false,
"arrowParens": "always",
"endOfLine": "lf"
}
}