-
-
Notifications
You must be signed in to change notification settings - Fork 88
/
package.json
140 lines (140 loc) · 5.65 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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
{
"name": "@legendapp/state",
"version": "3.0.0-beta.19",
"description": "legend-state",
"sideEffects": false,
"private": true,
"main": "./index.js",
"module": "./index.mjs",
"types": "./index.d.ts",
"files": [
"**"
],
"engines": {
"node": ">=16.6.0",
"npm": ">=8.11.0"
},
"scripts": {
"build": "npm run lint:check && npm run format:check && bun buntestsilent && bunx tsup && bun run posttsup.ts",
"test": "jest",
"preversion": "npm run buntestsilent",
"postversion": "npm run build && git push --follow-tags",
"jestclear": "jest --clearCache",
"publish:manual": "npm run build && cd dist && npm publish",
"publish:minor": "npm version minor && cd dist && npm publish",
"publish:alpharelease": "npm version prerelease --preid=alpha && cd dist && npm publish --tag alpha",
"publish:betarelease": "npm version prerelease --preid=beta && cd dist && npm publish --tag beta",
"publish:nextrelease": "npm version prerelease --preid=next && cd dist && npm publish --tag next",
"publish:patch": "npm version patch && cd dist && npm publish",
"publish:premajor": "npm version premajor --preid=next && cd dist && npm publish --tag next",
"publish:preminor": "npm version preminor --preid=next && cd dist && npm publish --tag next",
"publish:prepatch": "npm version prepatch --preid=next && cd dist && npm publish --tag next",
"publish:rcrelease": "npm version prerelease --preid=rc && cd dist && npm publish --tag rc",
"checksize:core": "npx esbuild ./testbundles/bundlecore.js --bundle --outfile=temp-built.js --minify && gzip temp-built.js && stat -f%z ./temp-built.js.gz && rm temp-built.js.*",
"checksize:react": "npx esbuild ./testbundles/bundlereact.js --bundle --outfile=temp-built.js --minify --external:react --external:@legendapp/state && gzip temp-built.js && stat -f%z ./temp-built.js.gz && rm temp-built.js.*",
"checksize:sync": "npx esbuild ./testbundles/bundlesync.js --bundle --outfile=temp-built.js --minify --external:sync --external:@legendapp/state && gzip temp-built.js && stat -f%z ./temp-built.js.gz && rm temp-built.js.*",
"checksize": "npm run checksize:core && npm run checksize:react && npm run checksize:sync",
"lint:write": "eslint ./src ./tests --fix --ext .ts,.tsx",
"lint:check": "eslint ./src ./tests --ext .ts,.tsx",
"format:write": "prettier --write \"src/**/*.{js,jsx,ts,tsx}\"",
"format:check": "prettier --check \"src/**/*.{js,jsx,ts,tsx}\"",
"release": "release-it",
"typecheck": "tsc --noEmit",
"buntest": "bun test --timeout 50",
"buntestsilent": "bun test --timeout 50 > /dev/null 2>&1",
"upgrade": "bunx npm-check-updates@latest --interactive --format group -p bun"
},
"lsexports": [
".",
"sync",
"react",
"trace",
"babel",
"react-reactive/*",
"as/*",
"config/*",
"helpers/*",
"persist-plugins/*",
"sync-plugins/*",
"react-hooks/*"
],
"devDependencies": {
"@babel/preset-env": "^7.24.7",
"@babel/preset-react": "^7.24.7",
"@babel/types": "^7.24.6",
"@commitlint/config-conventional": "^19.2.2",
"@evilmartians/lefthook": "^1.6.13",
"@happy-dom/global-registrator": "^14.12.0",
"@jest/globals": "^29.7.0",
"@react-native-async-storage/async-storage": "^1.23.1",
"@release-it/conventional-changelog": "^8.0.1",
"@supabase/supabase-js": "^2.43.4",
"@swc/cli": "^0.3.12",
"@swc/core": "^1.5.7",
"@tanstack/react-query": "^5.40.0",
"@testing-library/jest-dom": "^6.4.5",
"@testing-library/react": "^15.0.7",
"@types/bun": "^1.1.3",
"@types/jest": "^29.5.12",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"@types/react-native": "^0.72.8",
"@types/use-sync-external-store": "^0.0.6",
"@typescript-eslint/eslint-plugin": "^7.11.0",
"@typescript-eslint/parser": "^7.11.0",
"babel-jest": "^29.7.0",
"babel-plugin-tester": "^11.0.4",
"commitlint": "^19.3.0",
"eslint": "^8.45.0",
"eslint-plugin-react": "^7.32.2",
"eslint-plugin-react-hooks": "^4.6.2",
"expect-type": "^0.19.0",
"fake-indexeddb": "^6.0.0",
"firebase": "^10.12.2",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"json": "^11.0.0",
"next": "^14",
"prettier": "3.3.3",
"react": "18.3.1",
"react-native": "^0.74.1",
"react-native-mmkv": "^2.12.2",
"react-test-renderer": "^18.3.1",
"release-it": "^17.3.0",
"ts-jest": "^29.1.4",
"tslib": "^2.6.2",
"tsup": "^8.0.2",
"typescript": "^5.5.2"
},
"dependencies": {
"use-sync-external-store": "^1.2.2"
},
"overrides": {
"react": "18.3.1"
},
"author": "Legend <[email protected]> (https://github.com/LegendApp)",
"keywords": [
"react",
"react-native",
"state",
"hooks",
"proxy"
],
"repository": {
"type": "git",
"url": "git+https://github.com/LegendApp/legend-state.git"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/LegendApp/legend-state/issues"
},
"homepage": "https://github.com/LegendApp/legend-state#readme",
"publishConfig": {
"registry": "https://registry.npmjs.org/"
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
}
}