-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
94 lines (94 loc) · 2.16 KB
/
package.json
File metadata and controls
94 lines (94 loc) · 2.16 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
{
"name": "watr",
"version": "4.5.0",
"description": "Light & fast WAT compiler – WebAssembly Text to binary, parse, print, transform",
"main": "watr.js",
"bin": {
"watr": "./bin/watr.js"
},
"types": "types/watr.d.ts",
"exports": {
".": {
"types": "./types/watr.d.ts",
"default": "./watr.js"
},
"./dist": "./dist/watr.js",
"./dist/watr.min.js": "./dist/watr.min.js",
"./parse": {
"types": "./types/src/parse.d.ts",
"default": "./src/parse.js"
},
"./print": {
"types": "./types/src/print.d.ts",
"default": "./src/print.js"
},
"./compile": {
"types": "./types/src/compile.d.ts",
"default": "./src/compile.js"
}
},
"typesVersions": {
"*": {
"parse": [
"./types/src/parse.d.ts"
],
"print": [
"./types/src/print.d.ts"
],
"compile": [
"./types/src/compile.d.ts"
]
}
},
"type": "module",
"scripts": {
"build": "esbuild watr.js --bundle --format=esm --outfile=dist/watr.js && esbuild watr.js --bundle --format=esm --minify --outfile=dist/watr.min.js",
"test": "node test",
"test:repl": "npx playwright test",
"types": "npx tsc src/*.js watr.js --allowJs --declaration --emitDeclarationOnly --declarationMap --outDir types",
"prepublishOnly": "npm test && npm run build && npm run types",
"prepare": "git submodule update --init --recursive 2>/dev/null || true"
},
"repository": {
"type": "git",
"url": "git+https://github.com/dy/watr.git"
},
"files": [
"src",
"types",
"watr.js",
"dist",
"bin"
],
"keywords": [
"wat",
"wasm",
"webassembly",
"compiler",
"wat2wasm",
"wabt",
"wast",
"parser",
"printer",
"formatter",
"bytecode",
"binary",
"text-format",
"s-expression",
"assembly",
"jit",
"codegen",
"zero-dependency"
],
"author": "Dmitry Iv",
"license": "MIT",
"bugs": {
"url": "https://github.com/dy/watr/issues"
},
"homepage": "https://github.com/dy/watr#readme",
"devDependencies": {
"@playwright/test": "^1.57.0",
"esbuild": "^0.24.2",
"tst": "^9.0.0"
}
}