-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
70 lines (70 loc) · 1.57 KB
/
package.json
File metadata and controls
70 lines (70 loc) · 1.57 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
{
"name": "@wasm-fmt/gofmt",
"description": "A wasm based golang formatter",
"author": "magic-akari <akari.ccino@gamil.com>",
"version": "0.7.3",
"license": "MIT",
"keywords": [
"wasm",
"golang",
"formatter"
],
"repository": {
"type": "git",
"url": "git+https://github.com/wasm-fmt/gofmt.git"
},
"homepage": "https://github.com/wasm-fmt/gofmt",
"bugs": {
"url": "https://github.com/wasm-fmt/gofmt/issues"
},
"type": "module",
"exports": {
".": {
"types": "./gofmt.d.ts",
"webpack": "./gofmt.js",
"deno": "./gofmt.js",
"bun": "./gofmt_node.js",
"module-sync": "./gofmt_node.js",
"node": "./gofmt_node.js",
"default": "./gofmt_esm.js"
},
"./esm": {
"types": "./gofmt.d.ts",
"default": "./gofmt_esm.js"
},
"./node": {
"types": "./gofmt.d.ts",
"default": "./gofmt_node.js"
},
"./bundler": {
"types": "./gofmt.d.ts",
"default": "./gofmt.js"
},
"./web": {
"types": "./gofmt_web.d.ts",
"default": "./gofmt_web.js"
},
"./vite": {
"types": "./gofmt_web.d.ts",
"default": "./gofmt_vite.js"
},
"./wasm": "./gofmt.wasm",
"./package.json": "./package.json",
"./*": "./*"
},
"scripts": {
"build": "tinygo build -o=gofmt.wasm -target=wasm-unknown -no-debug ./src/lib.go",
"fmt": "dprint fmt",
"test:go": "go test ./src -v",
"test:node": "node --test test_node/node.test.js",
"test:deno": "deno test test_deno --allow-read",
"test:bun": "bun test test_bun",
"version": "node ./scripts/sync_version.js && git add ."
},
"engines": {
"node": ">=16.17.0"
},
"publishConfig": {
"access": "public"
}
}