-
Notifications
You must be signed in to change notification settings - Fork 62
Expand file tree
/
Copy pathpackage.json
More file actions
67 lines (67 loc) · 2.19 KB
/
package.json
File metadata and controls
67 lines (67 loc) · 2.19 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
{
"name": "@ruby/wasm-wasi",
"version": "2.8.1",
"description": "WebAssembly port of CRuby with WASI",
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.js",
"browser": "./dist/index.umd.js",
"typings": "./dist/esm/index.d.ts",
"exports": {
".": {
"browser": "./dist/esm/index.js",
"umd": "./dist/umd/index.js",
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js",
"types": "./dist/esm/browser.d.ts"
},
"./dist/*": {
"browser": "./dist/esm/*.js",
"umd": "./dist/umd/*.js",
"import": "./dist/esm/*.js",
"require": "./dist/cjs/*.js",
"types": "./dist/esm/*.d.ts"
}
},
"files": [
"dist",
"README.md"
],
"repository": "https://github.com/ruby/ruby.wasm",
"homepage": "https://github.com/ruby/ruby.wasm/tree/main/packages/npm-packages/ruby-wasm-wasi",
"publishConfig": {
"access": "public"
},
"keywords": [
"wasm",
"webassembly",
"wasi",
"ruby"
],
"license": "MIT",
"scripts": {
"test:run": "npm run test:unit && npm run test:vitest -- --run && npm run test:e2e",
"test:vitest": "vitest ./test/",
"test:unit": "./tools/run-test-unit.mjs",
"test:e2e": "playwright install && npm run test:e2e:examples && npm run test:e2e:integrations",
"test:e2e:examples": "playwright test -c test-e2e/playwright.examples.config.ts",
"test:e2e:integrations": "playwright test -c test-e2e/playwright.integrations.config.ts",
"serve:example": "BUNDLE_GEMFILE=../../../Gemfile bundle exec ruby -run -e httpd ./example -p 8085",
"format": "prettier --write .",
"build:static": "./tools/pack-bindgen-src.rb ./dist",
"build:rollup": "rollup -c rollup.config.mjs",
"build:tsc": "tsc -p tsconfig.esm.json && tsc -p tsconfig.cjs.json",
"build": "npm run build:rollup && npm run build:tsc && npm run build:static && ./tools/post-build.sh ./dist"
},
"devDependencies": {
"@bytecodealliance/jco": "1.8.1",
"@rollup/plugin-typescript": "^12.1.4",
"@types/node": "24.1.0",
"prettier": "^3.6.2",
"typescript": "^5.9.2",
"vitest": "^3.2.4"
},
"dependencies": {
"@bjorn3/browser_wasi_shim": "^0.4.2",
"tslib": "^2.8.1"
}
}