-
Notifications
You must be signed in to change notification settings - Fork 83
/
package.json
100 lines (100 loc) · 3.12 KB
/
package.json
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
95
96
97
98
99
100
{
"name": "@wasmer/sdk",
"version": "0.8.0",
"unpkg": "dist/unpkg.mjs",
"main": "dist/index.mjs",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"keywords": [
"webassembly",
"wasm",
"wasi",
"wasix"
],
"description": "Wasmer Javascript SDK. It allows interacting with Wasmer Packages in Node.js and the Browser.",
"author": "Wasmer Engineering Team <[email protected]>",
"license": "MIT",
"bugs": {
"url": "https://github.com/wasmerio/wasmer-js/issues"
},
"homepage": "https://github.com/wasmerio/wasmer-js",
"repository": {
"type": "git",
"url": "git+https://github.com/wasmerio/wasmer-js.git"
},
"publishConfig": {
"access": "public"
},
"exports": {
".": {
"types": "./dist/index.d.ts",
"default": "./dist/index.mjs"
},
"./node": {
"types": "./dist/node.d.ts",
"default": "./dist/node.mjs"
},
"./unpkg": {
"types": "./dist/unpkg.d.ts",
"default": "./dist/unpkg.mjs"
},
"./wasm": {
"unwasm": "./dist/wasmer_js_bg.wasm",
"types": "./dist/wasm.d.ts",
"default": "./dist/wasmer_js_bg.wasm"
},
"./wasm-inline": {
"unwasm": "./dist/wasm-inlined.mjs",
"types": "./dist/wasm-inlined.d.ts",
"default": "./dist/wasm-inlined.mjs"
},
"./package.json": "./package.json",
"./*": "./dist/*"
},
"scripts": {
"build": "wasm-pack build --release --target=web --weak-refs --no-pack && wasm-opt pkg/wasmer_js_bg.wasm -O2 -o pkg/wasmer_js_bg.wasm && npm run build:rollup",
"build:rollup": "rollup -c --environment BUILD:production",
"build:dev": "wasm-pack build --dev --target=web --weak-refs --no-pack && rollup -c --environment BUILD:development",
"dev": "rollup -c -w",
"test": "web-test-runner --node-resolve --esbuild-target auto --config ./web-dev-server.config.mjs",
"test-reg": "web-test-runner --node-resolve --esbuild-target auto --config ./web-dev-server.config.mjs --group reg",
"docs": "typedoc --options docs/typedoc.json",
"doc:watch": "typedoc --watch",
"fmt": "prettier . --write",
"clean": "rimraf dist coverage pkg target"
},
"files": [
"dist",
"README.md",
"LICENSE"
],
"devDependencies": {
"@babel/preset-env": "^7.23.3",
"@esm-bundle/chai": "^4.3.4-fix.0",
"@rollup/plugin-alias": "^5.1.0",
"@rollup/plugin-commonjs": "^26.0.1",
"@rollup/plugin-json": "^6.1.0",
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-replace": "^5.0.7",
"@rollup/plugin-terser": "^0.4.4",
"@rollup/plugin-typescript": "^11.1.5",
"@rollup/plugin-wasm": "^6.2.2",
"@types/mocha": "^10.0.7",
"@web/dev-server-esbuild": "^1.0.1",
"@web/test-runner": "^0.18.0",
"dotenv": "^16.4.5",
"prettier": "^3.1.0",
"rimraf": "^5.0.5",
"rollup": "^4.19.2",
"rollup-plugin-copy": "^3.5.0",
"rollup-plugin-dts": "^6.1.1",
"rollup-plugin-esbuild": "^6.1.1",
"rollup-plugin-typescript2": "^0.36.0",
"typedoc": "^0.25.4",
"typescript": "^5.3.3"
},
"browserslist": "> 0.5%, last 2 versions, Firefox ESR, not dead",
"dependencies": {
"web-worker": "^1.3.0"
}
}