-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
55 lines (55 loc) · 1.95 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
{
"name": "esbuild-plugin-wat",
"description": "esbuild plugin for importing WebAssembly files",
"version": "0.2.7",
"repository": {
"type": "git",
"url": "https://github.com/mitschabaude/esbuild-plugin-wat"
},
"keywords": [
"wasm",
"wat",
"esbuild"
],
"author": "Gregor <gregor.mitscha-baude@gmx.at>",
"license": "MIT",
"type": "module",
"main": "index.js",
"exports": {
".": {
"import": "./index.js"
}
},
"browser": "index.js",
"types": "index.d.ts",
"files": [
"index.js",
"index.d.ts",
"lib"
],
"bin": {
"watbundle": "./bin/watbundle.js"
},
"dependencies": {
"@webassemblyjs/ast": "https://github.com/mitschabaude/webassemblyjs/releases/latest/download/webassemblyjs-ast.tgz",
"@webassemblyjs/wasm-parser": "https://github.com/mitschabaude/webassemblyjs/releases/latest/download/webassemblyjs-wasm-parser.tgz",
"@webassemblyjs/wast-parser": "https://github.com/mitschabaude/webassemblyjs/releases/latest/download/webassemblyjs-wast-parser.tgz",
"@webassemblyjs/wast-printer": "https://github.com/mitschabaude/webassemblyjs/releases/latest/download/webassemblyjs-wast-printer.tgz",
"binaryen": "latest",
"find-cache-dir": "^3.3.1",
"minimist": "^1.2.5",
"parse-imports": "^1.1.0",
"wabt": "latest"
},
"devDependencies": {
"esbuild": "^0.12.19"
},
"scripts": {
"test": "node test/build.js test/sum.js && node dist/test/sum.js",
"test-simple": "node test/build.js test/simple.js && node dist/test/simple.js",
"test-raw": "node test/build-nobundle.js test/simple-raw.js && node dist/test/simple-raw.js",
"test-watch": "node test/build-watch.js test/sum.js & nodemon dist/test/sum.js",
"test-manual": "node test/build-nowrap.js test/sum-manual.js && node dist/test/sum-manual.js",
"build": "npx esbuild lib/wrap-wasm-import.ts > lib/wrap-wasm-import.js && node lib/code-to-text.js lib/wrap-wasm-import.js > lib/wrap-wasm-code.js"
}
}