generated from okikio/spring-easing
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
172 lines (172 loc) · 5.9 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
164
165
166
167
168
169
170
171
172
{
"name": "transferables",
"version": "1.0.1",
"type": "module",
"sideEffects": false,
"description": "Utility library that lists out all transferable objects that can be transfered between Workers and the main thread.",
"umd": "Transferables",
"access": "public",
"legacy": "lib/index.cjs",
"main": "lib/index.cjs",
"browser": "lib/index.umd.js",
"module": "lib/index.js",
"exports": {
".": {
"require": {
"types": "./lib/index.d.cts",
"default": "./lib/index.cjs"
},
"import": {
"types": "./lib/index.d.ts",
"default": "./lib/index.js"
}
},
"./lib/*": "./lib/*",
"./src/*": "./src/*",
"./package.json": "./package.json"
},
"directories": {
"lib": "./lib",
"src": "./src"
},
"files": [
"lib",
"src"
],
"publishConfig": {
"provenance": true
},
"scripts": {
"start": "pnpm browser:fixture",
"dev": "pnpm browser:fixture",
"test": "vitest",
"test:run": "vitest run tests",
"build": "tsup",
"playwright:init": "playwright install --with-deps",
"browser:fixture": "vite build ./benchmark/fixtures --target \"esnext\" && vite preview ./benchmark/fixtures --port 3000",
"browser:fixture:dev": "vite dev ./benchmark/fixtures --port 3000",
"benchmark:browser": "playwright test ./benchmark/browsers.spec.ts",
"benchmark:browser:chrome": "rm -rf ./benchmark/results/chromium.md && playwright test --browser=chromium ./benchmark/browsers.spec.ts",
"benchmark:browser:firefox": "rm -rf ./benchmark/results/firefox.md && playwright test --browser=firefox ./benchmark/browsers.spec.ts",
"benchmark:browser:safari": "rm -rf ./benchmark/results/safari.md && playwright test --browser=webkit ./benchmark/browsers.spec.ts",
"benchmark:node": "tsx ./benchmark/structuredclone.bench.ts",
"benchmark:node:worker": "tsx ./benchmark/worker.bench.ts",
"benchmark:node:messagechannel": "tsx ./benchmark/messagechannel.bench.ts",
"benchmark:node:all": "rm -rf ./benchmark/results/node.md && pnpm benchmark:node && pnpm benchmark:node:worker && pnpm benchmark:node:messagechannel",
"benchmark:deno": "deno run --allow-run --allow-env --allow-read --allow-write --allow-hrtime --allow-sys ./benchmark/structuredclone.bench.ts",
"benchmark:deno:worker": "deno run --allow-run --allow-env --allow-read --allow-write --allow-hrtime --allow-sys ./benchmark/worker.bench.ts",
"benchmark:deno:messagechannel": "deno run --allow-run --allow-env --allow-read --allow-write --allow-hrtime --allow-sys ./benchmark/messagechannel.bench.ts",
"benchmark:deno:all": "rm -rf ./benchmark/results/deno.md && pnpm benchmark:deno && pnpm benchmark:deno:worker && pnpm benchmark:deno:messagechannel",
"benchmark:bun": "bun run ./benchmark/structuredclone.bench.ts",
"benchmark:bun:worker": "bun run ./benchmark/worker.bench.ts",
"benchmark:bun:messagechannel": "bun run ./benchmark/messagechannel.bench.ts",
"benchmark:bun:all": "rm -rf ./benchmark/results/bun.md && pnpm benchmark:bun && pnpm benchmark:bun:worker && pnpm benchmark:bun:messagechannel",
"benchmark": "pnpm benchmark:node:all && pnpm benchmark:deno:all && pnpm benchmark:bun:all",
"benchmark:all": "pnpm benchmark && pnpm benchmark:browser",
"commitlint": "commitlint --edit",
"pre-release": "pnpm test:run && pnpm build",
"semantic-release": "semantic-release",
"prepare": "[ \"$NODE_ENV\" = \"production\" ] || [ -n \"$CI\" ] && echo \"Skipping Husky Install...\" || husky"
},
"engines": {
"node": ">=22"
},
"release": {
"branches": [
"main"
],
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/changelog",
"@semantic-release/npm",
"@semantic-release/git",
[
"@semantic-release/github",
{
"assets": [
"lib/**",
"src/**"
]
}
]
]
},
"changelog": {
"repo": "transferables",
"labels": {
"breaking": ":boom: Breaking Change",
"enhancement": ":rocket: Enhancement",
"bug": ":bug: Bug Fix",
"documentation": ":memo: Documentation",
"internal": ":house: Internal",
"revert": ":rewind: Revert"
},
"cacheDir": ".changelog"
},
"repository": {
"type": "git",
"url": "https://github.com/okikio/transferables.git"
},
"keywords": [
"transferable-objects",
"transferable",
"typescript",
"webworker",
"worker",
"structuredClone",
"uint8array",
"int8array",
"uint8clampedarray",
"int16array",
"uint16array",
"int32array",
"uint32array",
"float32array",
"float64array",
"arraybuffer",
"messageport",
"messagechannel",
"readablestream",
"writablestream",
"transformstream",
"streams"
],
"author": {
"name": "Okiki Ojo",
"email": "hey@okikio.dev",
"url": "https://okikio.dev"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/okikio/transferables/issues"
},
"homepage": "https://github.com/okikio/transferables",
"devDependencies": {
"@commitlint/cli": "^19.3.0",
"@commitlint/config-conventional": "^19.2.2",
"@deno/shim-deno": "^0.19.1",
"@playwright/test": "^1.43.1",
"@poolifier/tatami-ng": "npm:@jsr/poolifier__tatami-ng@^0.4.4",
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/git": "^10.0.1",
"@std/fmt": "npm:@jsr/std__fmt@^0.224.0",
"@swc/core": "^1.5.0",
"@types/node": "^20.12.7",
"@types/web": "^0.0.143",
"bun": "^1.1.4",
"esbuild-plugin-umd-wrapper": "^2.0.0",
"husky": "^9.0.11",
"markdown-table": "^3.0.3",
"micromark": "^4.0.0",
"micromark-extension-gfm": "^3.0.0",
"pnpm": "^9.0.6",
"pretty-bytes": "^6.1.1",
"semantic-release": "^23.0.8",
"tsup": "^8.0.2",
"tsx": "^4.7.3",
"typescript": "^5.4.5",
"vite": "^5.2.10",
"vitest": "^1.5.2"
}
}