assemblyscript-unittest-framework
Version:
assemblyscript unit test framework
90 lines (89 loc) • 2.87 kB
JSON
{
"name": "assemblyscript-unittest-framework",
"version": "1.3.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": {
"watch:ts": "tsc --build ./src/tsconfig.json --watch",
"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:e2e": " node tests/e2e/run.js",
"test": "npm run test:as && npm run test:ts && npm run test:cpp && npm run test:e2e",
"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",
"docs:dev": "vitepress dev docs",
"docs:build": "vitepress build docs"
},
"dependencies": {
"@assemblyscript/loader": ">=0.25.1",
"chalk": "^5.2.0",
"commander": "^8.3.0",
"cross-spawn": "^7.0.3",
"fs-extra": "^11.1.1",
"glob": "^11.0.0",
"ignore": "^7.0.3",
"semver": "^7.5.3",
"source-map": "^0.7.4",
"wasmparser": "5.11.1"
},
"peerDependencies": {
"assemblyscript": ">=0.25.1"
},
"devDependencies": {
"@schleifner/eslint-config-base": "^2.0.0",
"@schleifner/prettier-config": "^1.0.0",
"@types/fs-extra": "^11.0.4",
"@types/jest": "^29.5.0",
"@types/node": "^22.0.0",
"assemblyscript-prettier": "^3.0.1",
"cross-env": "^7.0.3",
"diff": "^8.0.2",
"jest": "^29.5.0",
"prettier": "^3.0.0",
"ts-jest": "^29.1.0",
"ts-node": "^10.9.2",
"typescript": "^5.7.0",
"vitepress": "^1.6.3"
},
"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 <congcong.cai@bmw.com>",
"XMadrid <xinquan0203@163.com>"
],
"license": "Apache-2.0",
"files": [
"assembly/**/*",
"bin/**/*",
"dist/**/*",
"build_wasm/bin/wasm-instrumentation.js",
"docs/**/*",
"transform/**/*",
"resource/**/*",
"LICENSE",
"README.md"
]
}