-
-
Notifications
You must be signed in to change notification settings - Fork 687
Expand file tree
/
Copy pathpackage.json
More file actions
53 lines (53 loc) · 1.47 KB
/
package.json
File metadata and controls
53 lines (53 loc) · 1.47 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
{
"name": "@assemblyscript/loader",
"description": "A convenient loader for AssemblyScript modules.",
"keywords": [
"assemblyscript",
"loader",
"glue",
"interop",
"webassembly",
"wasm"
],
"version": "0.0.0",
"author": "Daniel Wirtz <dcode+assemblyscript@dcode.io>",
"contributors": [
"MaxGraey <maxgraey@gmail.com>"
],
"license": "Apache-2.0",
"homepage": "https://assemblyscript.org",
"repository": {
"type": "git",
"url": "https://github.com/AssemblyScript/assemblyscript.git",
"directory": "lib/loader"
},
"bugs": {
"url": "https://github.com/AssemblyScript/assemblyscript/issues"
},
"type": "module",
"main": "./umd/index.js",
"types": "index.d.ts",
"exports": {
"import": "./index.js",
"require": "./umd/index.js"
},
"scripts": {
"asbuild": "npm run asbuild:default && npm run asbuild:legacy",
"asbuild:default": "node ../../bin/asc tests/assembly/index.ts --outFile tests/build/default.wasm --exportRuntime --exportTable",
"asbuild:legacy": "node ../../bin/asc tests/assembly/index.ts --disable mutable-globals --outFile tests/build/legacy.wasm --exportRuntime --exportTable",
"build": "npx esm2umd loader index.js > umd/index.js",
"test": "node tests && node tests/umd"
},
"files": [
"index.d.ts",
"index.js",
"package.json",
"umd/index.d.ts",
"umd/index.js",
"umd/package.json",
"README.md"
],
"devDependencies": {
"esm2umd": "^0.1.2"
}
}