-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
84 lines (84 loc) · 2.61 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
{
"name": "assemblyscript-unittest-framework",
"version": "0.0.0",
"description": "assemblyscript unit test framework",
"main": "assembly/index.ts",
"bin": {
"as-test": "bin/as-test.js"
},
"type": "module",
"engines": {
"node": ">= 16.6.0"
},
"prettier": "@schleifner/prettier-config",
"scripts": {
"build": "node scripts/build_instrumentation.js -j 2 && tsc --build ./transform/tsconfig.json && tsc --build ./src/tsconfig.json",
"test:as": "node bin/as-test.js",
"test:ts": "cross-env NODE_OPTIONS=--experimental-vm-modules jest",
"test:cpp": "cmake -B build -S . && cmake --build build --parallel 2 --target wasm-instrumentation-test wasm-opt && build/bin/wasm-instrumentation-test",
"test": "npm run test:as && npm run test:ts && npm run test:cpp",
"lint:ts": "eslint src transform tests/ts/test --max-warnings=0",
"lint:as": "npx eslint --config ./assembly/eslint.config.mjs assembly --max-warnings=0",
"lint": "npm run lint:ts && prettier -c .",
"lint:fix:ts": "eslint src transform tests/ts/test --fix && prettier --write .",
"example": "node bin/as-test.js --config example/as-test.config.cjs ; node bin/as-test.js --config example/as-test.config.js"
},
"dependencies": {
"@assemblyscript/loader": ">=0.25.1",
"@assemblyscript/wasi-shim": "^0.1.0",
"chalk": "^5.2.0",
"commander": "^8.3.0",
"cross-spawn": "^7.0.3",
"fast-glob": "^3.3.3",
"fs-extra": "^11.1.1",
"semver": "^7.5.3",
"wasmparser": "5.11.1"
},
"peerDependencies": {
"assemblyscript": ">=0.25.1"
},
"devDependencies": {
"@schleifner/eslint-config-base": "^2.0.0",
"@schleifner/prettier-config": "^1.0.0",
"@types/cross-spawn": "^6.0.2",
"@types/fs-extra": "^9.0.13",
"@types/jest": "^29.5.2",
"@types/node": "^20.9.1",
"assemblyscript-prettier": "^3.0.1",
"cross-env": "^7.0.3",
"ignore": "^7.0.3",
"jest": "^29.5.0",
"prettier": "^3.0.0",
"ts-jest": "^29.1.0",
"ts-node": "^10.9.2",
"typescript": "^5.7.0"
},
"keywords": [
"Assemblyscript",
"WASM",
"test"
],
"publishConfig": {
"repository": "https://registry.npmjs.org/"
},
"repository": {
"type": "git",
"url": "git+https://github.com/wasm-ecosystem/assemblyscript-unittest-framework.git"
},
"contributors": [
"Congcong Cai <[email protected]>",
"XMadrid <[email protected]>"
],
"license": "Apache-2.0",
"files": [
"assembly/**/*",
"bin/**/*",
"dist/**/*",
"build_wasm/bin/wasm-instrumentation.js",
"docs/**/*",
"transform/**/*",
"resource/**/*",
"LICENSE",
"README.md"
]
}