-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
63 lines (63 loc) · 1.64 KB
/
Copy pathpackage.json
File metadata and controls
63 lines (63 loc) · 1.64 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
{
"name": "@scalar/ruby-fmt",
"version": "0.6.2",
"description": "Ruby formatter (syntax_tree on CRuby/wasm) - runs on plain Node, no Ruby install",
"keywords": [
"ruby",
"formatter",
"syntax_tree",
"wasm",
"prettier",
"typescript"
],
"homepage": "https://github.com/scalar/formatters/tree/main/packages/ruby#readme",
"bugs": "https://github.com/scalar/formatters/issues/new/choose",
"repository": {
"type": "git",
"url": "git+https://github.com/scalar/formatters.git",
"directory": "packages/ruby"
},
"author": "Scalar (https://github.com/scalar)",
"license": "MIT",
"type": "module",
"sideEffects": false,
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
"./package.json": "./package.json",
".": {
"browser": {
"types": "./dist/index.browser.d.ts",
"import": "./dist/index.browser.js",
"default": "./dist/index.browser.js"
},
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"default": "./dist/index.js"
},
"./wasm": "./ruby_fmt.wasm.br"
},
"files": [
"dist",
"ruby_fmt.wasm.br",
"LICENSE",
"licenses"
],
"engines": {
"node": ">=18"
},
"publishConfig": {
"access": "public"
},
"scripts": {
"build": "tsc -p tsconfig.build.json && tsc-alias -p tsconfig.build.json -f",
"types:check": "tsc -p tsconfig.json --noEmit",
"wasm:build": "../../build/ruby_fmt/build.sh",
"prepack": "node ../../scripts/check-publishable.ts"
},
"dependencies": {
"@bjorn3/browser_wasi_shim": "^0.4.2",
"@ruby/wasm-wasi": "^2.8.1",
"brotli-dec-wasm": "^2.3.2"
}
}