-
Notifications
You must be signed in to change notification settings - Fork 6
/
package.json
85 lines (85 loc) · 2.3 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
{
"name": "unwasm",
"version": "0.3.9",
"description": "WebAssembly tools for JavaScript",
"repository": "unjs/unwasm",
"license": "MIT",
"sideEffects": false,
"type": "module",
"exports": {
"./examples/*": "./examples/*",
"./plugin": {
"import": {
"types": "./dist/plugin.d.mts",
"default": "./dist/plugin.mjs"
},
"require": {
"types": "./dist/plugin.d.ts",
"default": "./dist/plugin.cjs"
}
},
"./tools": {
"import": {
"types": "./dist/tools.d.mts",
"default": "./dist/tools.mjs"
},
"require": {
"types": "./dist/tools.d.ts",
"default": "./dist/tools.cjs"
}
}
},
"files": [
"dist",
"*.d.ts",
"examples/*.wasm",
"examples/package.json",
"examples/*.mjs"
],
"scripts": {
"build": "unbuild && pnpm build:examples",
"build:examples": "node ./examples/build.mjs",
"dev": "vitest dev",
"lint": "eslint --cache --ext .ts,.js,.mjs,.cjs . && prettier -c src test",
"lint:fix": "eslint --cache --ext .ts,.js,.mjs,.cjs . --fix && prettier -c src test -w",
"prepack": "pnpm build",
"release": "pnpm test && changelogen --release && npm publish && git push --follow-tags",
"test": "pnpm lint && pnpm test:types && vitest run --coverage",
"test:types": "tsc --noEmit --skipLibCheck"
},
"dependencies": {
"knitwork": "^1.1.0",
"magic-string": "^0.30.9",
"mlly": "^1.6.1",
"pathe": "^1.1.2",
"pkg-types": "^1.0.3",
"unplugin": "^1.10.1"
},
"devDependencies": {
"@rollup/plugin-node-resolve": "^15.2.3",
"@types/node": "^20.12.7",
"@vitest/coverage-v8": "^1.5.0",
"@webassemblyjs/wasm-parser": "^1.12.1",
"assemblyscript": "^0.27.27",
"automd": "^0.3.7",
"changelogen": "^0.5.5",
"esbuild": "^0.20.2",
"eslint": "^8.57.0",
"eslint-config-unjs": "^0.2.1",
"jiti": "^1.21.0",
"miniflare": "^3.20240405.1",
"prettier": "^3.2.5",
"rollup": "^4.14.2",
"typescript": "^5.4.5",
"unbuild": "^2.0.0",
"vite": "^5.2.8",
"vitest": "^1.5.0"
},
"resolutions": {
"@webassemblyjs/helper-wasm-bytecode": "1.12.1",
"@webassemblyjs/ieee754": "1.12.1",
"@webassemblyjs/leb128": "1.12.1",
"@webassemblyjs/utf8": "1.12.1"
},
"packageManager": "[email protected]"
}