-
Notifications
You must be signed in to change notification settings - Fork 61
Expand file tree
/
Copy pathpackage.json
More file actions
69 lines (69 loc) · 2.33 KB
/
package.json
File metadata and controls
69 lines (69 loc) · 2.33 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
{
"name": "@ruby/wasm-wasi",
"version": "2.6.2",
"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:all": "npm run test:run && ENABLE_COMPONENT_TESTS=1 npm run test:run",
"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.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": "../../../vendor/jco",
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-typescript": "^11.1.6",
"@types/node": "20.12.2",
"prettier": "^3.3.3",
"typescript": "^5.4.3",
"vitest": "^2.0.5"
},
"dependencies": {
"@bjorn3/browser_wasi_shim": "^0.3.0",
"tslib": "^2.6.3"
}
}