-
-
Notifications
You must be signed in to change notification settings - Fork 139
Expand file tree
/
Copy pathpackage.json
More file actions
152 lines (152 loc) · 6.07 KB
/
package.json
File metadata and controls
152 lines (152 loc) · 6.07 KB
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
141
142
143
144
145
146
147
148
149
150
151
152
{
"name": "@legendapp/state",
"version": "3.0.0-beta.45",
"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": {
"check": "bun run lint:check && bun run format:check && bun buntestsilent",
"build": "bunx tsup && bun run posttsup.ts",
"test": "jest",
"preversion": "bun run buntestsilent",
"postversion": "bun run build && git push --follow-tags",
"jestclear": "jest --clearCache",
"publish:manual": "bun run check && bun run build && cd dist && npm publish",
"publish:minor": "bun run check && npm version minor && cd dist && npm publish",
"publish:alpharelease": "bun run check && npm version prerelease --preid=alpha && cd dist && npm publish --tag alpha",
"publish:betarelease": "bun run check && npm version prerelease --preid=beta && cd dist && npm publish --tag beta",
"publish:nextrelease": "bun run check && npm version prerelease --preid=next && cd dist && npm publish --tag next",
"publish:patch": "bun run check && npm version patch && cd dist && npm publish",
"publish:premajor": "bun run check && npm version premajor --preid=next && cd dist && npm publish --tag next",
"publish:preminor": "bun run check && npm version preminor --preid=next && cd dist && npm publish --tag next",
"publish:prepatch": "bun run check && npm version prepatch --preid=next && cd dist && npm publish --tag next",
"publish:rcrelease": "bun run check && 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": "bun run checksize:core && bun run checksize:react && bun 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 300",
"buntestsilent": "bun test --timeout 300 > /dev/null 2>&1",
"upgrade": "bunx npm-check-updates@latest --interactive --format group -p bun"
},
"lsexports": [
".",
"sync",
"react",
"react-native",
"react-web",
"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",
"expo-sqlite": "^15.0.6",
"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.4.2",
"react": "18.3.1",
"react-native": "^0.74.1",
"react-native-mmkv": "^4.0.0",
"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.7.2"
},
"dependencies": {
"use-sync-external-store": "^1.2.2"
},
"peerDependencies": {
"expo-sqlite": "^15.0.0"
},
"peerDependenciesMeta": {
"expo-sqlite": {
"optional": true
}
},
"overrides": {
"react": "18.3.1"
},
"author": "Legend <contact@legendapp.com> (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"
]
}
}