-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
81 lines (81 loc) · 2.31 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
{
"name": "react-mug",
"version": "0.9.0",
"license": "Apache-2.0",
"files": [
"./package.json",
"./README.md",
"./README.zh-Hans.md",
"./LICENSE",
"./dist/",
"./tests/tsd.d.ts"
],
"exports": {
".": {
"import": {
"types": "./dist/types/index.d.ts",
"default": "./dist/react-mug.esm.min.js"
},
"default": {
"types": "./dist/types/index.d.ts",
"default": "./dist/react-mug.cjs.min.js"
}
}
},
"module": "./dist/react-mug.esm.min.js",
"main": "./dist/react-mug.cjs.min.js",
"types": "./dist/types/index.d.ts",
"description": "Possibly the optimal way to functionally manage states. / 可能是最好用的函数式状态库。",
"keywords": [
"react-mug",
"react",
"mug",
"state-management",
"state",
"management"
],
"repository": "openquoll/react-mug",
"author": "Open Quoll",
"scripts": {
"build": "run-s build:bundle build:type",
"build:bundle": "rollup -c",
"build:type": "tsc -p ./builder/tsconfig.types.json",
"clean:built": "shx rm -fr ./dist/ ./builder/cache/",
"clean:installed": "shx rm -fr ./package-lock.json ./node_modules/",
"test": "run-s test:main test:type",
"test:main": "jest",
"test:type": "tsd -t ./tests/tsd.d.ts -f \"./@(src|tests)/**/*.test-d.ts?(x)\"",
"test:type-watch": "chokidar \"./src/**/*.ts?(x)\" \"./tests/**/*.test-d.ts?(x)\" --command \"npm run test:type\" --initial"
},
"peerDependencies": {
"react": ">= 17"
},
"devDependencies": {
"@rollup/plugin-terser": "^0.4.4",
"@rollup/plugin-typescript": "~12.1.0",
"@swc/core": "~1.7.11",
"@testing-library/dom": "~10.4.0",
"@testing-library/react": "~16.0.0",
"@trivago/prettier-plugin-sort-imports": "~4.3.0",
"@types/copy-paste": "~1.1.33",
"@types/jest": "~29.5.12",
"@types/react": "~18.3.9",
"@types/react-dom": "~18.3.0",
"chokidar-cli": "~3.0.0",
"copy-paste": "~1.5.3",
"immer": "~10.1.1",
"jest": "~29.7.0",
"jest-environment-jsdom": "~29.7.0",
"npm-run-all": "^4.1.5",
"prettier": "~3.2.5",
"react": "~18.3.1",
"react-dom": "~18.3.1",
"rollup": "~4.22.5",
"shx": "~0.3.4",
"ts-jest": "~29.2.5",
"ts-node": "~10.9.2",
"tsd": "~0.31.1",
"tslib": "~2.7.0",
"typescript": "~5.6.2"
}
}