-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
74 lines (74 loc) · 4.33 KB
/
package.json
File metadata and controls
74 lines (74 loc) · 4.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
70
71
72
73
74
{
"name": "as-fixed",
"version": "0.0.0",
"description": "Fixed Point Arithmetic for AssemblyScript",
"types": "assembly/index.ts",
"author": "Steer Protocol",
"contributors": [
"Jairus Tanaka"
],
"license": "MIT",
"scripts": {
"test": "node ./tests/test.js --suite add && node ./tests/test.js --suite sub && node ./tests/test.js --suite mult && node ./tests/test.js --suite div && node ./tests/test.js --suite log && node ./tests/test.js --suite methods",
"build:add": "asc tests/add.spec.ts --bindings esm -o tests/build/add.spec.wasm --textFile tests/build/add.spec.wat --config ./node_modules/@assemblyscript/wasi-shim/asconfig.json --exportRuntime --runtime stub",
"build:add.128": "asc tests/add.128.spec.ts --bindings esm -o tests/build/add.128.spec.wasm --textFile tests/build/add.128.spec.wat --config ./node_modules/@assemblyscript/wasi-shim/asconfig.json --exportRuntime --runtime stub",
"build:sub": "asc tests/sub.spec.ts --bindings esm -o tests/build/sub.spec.wasm --config ./node_modules/@assemblyscript/wasi-shim/asconfig.json --exportRuntime --runtime stub",
"build:sub.128": "asc tests/sub.128.spec.ts --bindings esm -o tests/build/sub.128.spec.wasm --textFile tests/build/sub.128.spec.wat --config ./node_modules/@assemblyscript/wasi-shim/asconfig.json --exportRuntime --runtime stub",
"build:mult": "asc tests/mult.spec.ts --bindings esm -o tests/build/mult.spec.wasm --config ./node_modules/@assemblyscript/wasi-shim/asconfig.json --exportRuntime --runtime stub",
"build:mult.128": "asc tests/mult.128.spec.ts --bindings esm -o tests/build/mult.128.spec.wasm --config ./node_modules/@assemblyscript/wasi-shim/asconfig.json --exportRuntime --runtime stub",
"build:div": "asc tests/div.spec.ts --bindings esm -o tests/build/div.spec.wasm --config ./node_modules/@assemblyscript/wasi-shim/asconfig.json --exportRuntime --runtime stub",
"build:div.128": "asc tests/div.128.spec.ts --bindings esm -o tests/build/div.128.spec.wasm --config ./node_modules/@assemblyscript/wasi-shim/asconfig.json --exportRuntime --runtime stub",
"build:log": "asc tests/log.spec.ts --bindings esm -o tests/build/log.spec.wasm --config ./node_modules/@assemblyscript/wasi-shim/asconfig.json --exportRuntime --runtime stub",
"build:methods": "asc tests/methods.spec.ts --bindings esm -o tests/build/methods.spec.wasm --config ./node_modules/@assemblyscript/wasi-shim/asconfig.json --exportRuntime --runtime stub",
"bench:astral": "astral --optimizeLevel 3 --shrinkLevel 0 --converge --noAssert --uncheckedBehavior never --runtime stub",
"build:test": "asc assembly/test.ts -o build/test.wasm --config ./node_modules/@assemblyscript/wasi-shim/asconfig.json --optimizeLevel 0 --shrinkLevel 0 --noAssert --uncheckedBehavior always --runtime stub --textFile build/test.wat",
"build:bench": "asc bench/benchmark.ts -o bench/benchmark.wasm --config ./node_modules/@assemblyscript/wasi-shim/asconfig.json --optimizeLevel 3 --shrinkLevel 0 --converge --noAssert --uncheckedBehavior always --runtime stub",
"bench:wasmtime": "wasmtime ./bench/benchmark.wasm",
"bench:wavm": "wavm run ./bench/benchmark.wasm",
"test:wasmtime": "wasmtime ./build/test.wasm",
"test:wavm": "wavm run ./build/test.wasm",
"test:lunatic": "lunatic ./build/test.wasm",
"test:wasm3": "wasm3 ./build/test.wasm",
"prettier": "as-prettier -w ."
},
"devDependencies": {
"@as-pect/cli": "^8.1.0",
"@as-tral/cli": "^3.0.2",
"@assemblyscript/wasi-shim": "^0.1.0",
"as-bench": "^0.0.0-alpha",
"assemblyscript": "^0.27.22",
"assemblyscript-prettier": "^3.0.1",
"benchmark": "^2.1.4",
"kati": "^0.6.2",
"microtime": "^3.1.1",
"prettier": "^3.1.1",
"tinybench": "^2.5.1",
"typescript": "^5.3.3",
"visitor-as": "^0.11.4"
},
"dependencies": {
"@hypercubed/as-mpz": "^2.2.0",
"as-big": "^0.2.3",
"as-bigint": "^0.5.3",
"as-bignum": "^0.3.0",
"as-rainbow": "^0.1.0"
},
"overrides": {
"assemblyscript": "$assemblyscript"
},
"repository": {
"type": "git",
"url": "git+https://github.com/JairusSW/fixed.git"
},
"keywords": [
"assemblyscript"
],
"bugs": {
"url": "https://github.com/JairusSW/fixed/issues"
},
"homepage": "https://github.com/JairusSW/fixed#readme",
"type": "module",
"publishConfig": {
"@JairusSW:registry": "https://npm.pkg.github.com"
}
}