-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathpackage.json
163 lines (163 loc) · 4.09 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
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
{
"name": "bunshi",
"description": "A tiny, fast, dependency-free 1.18kb library for creating jotai atoms in a way that lets you lift state up, or push state down.",
"version": "2.1.5",
"license": "MIT",
"author": "ReferralSaaSquatch.com, Inc.",
"homepage": "https://bunshi.org",
"repository": "https://github.com/saasquatch/bunshi",
"files": [
"dist",
"src"
],
"engines": {
"node": ">=10"
},
"scripts": {
"build": "run-s build:*",
"build:code": "tsup --dts",
"build:typings": "downlevel-dts dist dist/ts3",
"dev": "run-p dev:*",
"dev:build": "tsup --watch",
"dev:test": "vitest --watch",
"benchmark": "vitest bench --run",
"test": "run-p test:*",
"test:code": "vitest run --coverage",
"test:typings": "cd examples/old-typescript && npm i && npm run build",
"test:format": "prettier -c src",
"test:size": "size-limit",
"test:browsers": "run-p test:browsers:*",
"test:browsers:chrome": "npm run test:browsers-suite -- --browser=chromium",
"test:browsers:firefox": "npm run test:browsers-suite -- --browser=firefox",
"test:browsers:safari": "npm run test:browsers-suite -- --browser=webkit",
"test:browsers-suite": "vitest --run --exclude src/vue/**/*.test.ts --exclude src/bundle.test.ts",
"format": "prettier -w src",
"test:eslint": "eslint . --ext .js,.ts",
"version": "changeset version && npm i",
"dopublish": "changeset publish"
},
"main": "dist/vanilla.js",
"module": "dist/vanilla.mjs",
"typings": "dist/vanilla.d.ts",
"types": "dist/vanilla.d.ts",
"typesVersions": {
">=4.5": {
"react": [
"./dist/react.d.ts"
],
"vue": [
"./dist/vue.d.ts"
],
".": [
"./dist/vanilla.d.ts"
]
},
">=3.4": {
"react": [
"./dist/ts3/react.d.ts"
],
"vue": [
"./dist/ts3/vue.d.ts"
],
".": [
"./dist/ts3/vanilla.d.ts"
]
}
},
"exports": {
".": {
"types": "./dist/vanilla.d.ts",
"import": "./dist/vanilla.mjs",
"default": "./dist/vanilla.js"
},
"./react": {
"types": "./dist/react.d.ts",
"import": "./dist/react.mjs",
"default": "./dist/react.js"
},
"./vue": {
"types": "./dist/vue.d.ts",
"import": "./dist/vue.mjs",
"default": "./dist/vue.js"
}
},
"peerDependencies": {
"react": ">=16",
"vue": ">=3"
},
"peerDependenciesMeta": {
"react": {
"optional": true
},
"vue": {
"optional": true
}
},
"husky": {
"hooks": {
"pre-commit": "prettier -c src"
}
},
"prettier": {},
"size-limit": [
{
"path": "dist/vanilla.js",
"limit": "3.5 KB"
},
{
"path": "dist/react.js",
"limit": "4.2 KB"
},
{
"path": "dist/vue.js",
"limit": "4.0 KB"
},
{
"path": "dist/vanilla.mjs",
"limit": "3.2 KB"
}
],
"devDependencies": {
"@astrojs/language-server": "^2.3.3",
"@changesets/changelog-github": "^0.5.0",
"@changesets/cli": "^2.27.3",
"@size-limit/preset-small-lib": "^9.0.0",
"@testing-library/react": "^14.1.2",
"@testing-library/vue": "^8.0.1",
"@types/react": "^18",
"@types/use-sync-external-store": "^0.0.6",
"@typescript-eslint/eslint-plugin": "^5.62.0",
"@typescript-eslint/parser": "^5.62.0",
"@vitejs/plugin-vue": "^5.0.4",
"@vitest/browser": "^1.2.2",
"@vitest/coverage-v8": "^1.2.2",
"@vitest/ui": "^1.2.2",
"@vue/tsconfig": "^0.1.3",
"downlevel-dts": "^0.11.0",
"eslint": "^8.57.0",
"eslint-plugin-compat": "^4.2.0",
"happy-dom": "^10.0.3",
"husky": "^7.0.4",
"jotai": "^2.4.2",
"npm-run-all": "^4.1.5",
"playwright": "^1.41.2",
"prettier": "^3.1.0",
"react": "^18",
"react-is": "^18",
"react-test-renderer": "^18",
"size-limit": "^7.0.8",
"tslib": "^2.3.1",
"tsup": "^8.0.1",
"typescript": "^4.6.3",
"use-sync-external-store": "^1.2.0",
"vitest": "^1.2.2",
"vue": "^3.3.4"
},
"browserslist": [
"chrome 64",
"edge 79",
"firefox 67",
"opera 51",
"safari 12"
]
}