UNPKG

@rstest/core

Version:
109 lines 2.51 kB
{ "name": "@rstest/core", "version": "0.1.3", "description": "The Rsbuild-based test tool.", "bugs": { "url": "https://github.com/web-infra-dev/rstest/issues" }, "repository": { "type": "git", "url": "https://github.com/web-infra-dev/rstest", "directory": "packages/core" }, "keywords": [ "rstest", "test", "rstack", "rspack" ], "license": "MIT", "type": "module", "main": "./dist/public.js", "types": "./dist-types/public.d.ts", "bin": { "rstest": "./bin/rstest.js" }, "exports": { ".": { "types": "./dist-types/public.d.ts", "default": "./dist/public.js" }, "./node": { "types": "./dist-types/node.d.ts", "default": "./dist/node.js" }, "./globals": { "types": "./globals.d.ts" }, "./importMeta": { "types": "./importMeta.d.ts" } }, "files": [ "bin", "dist", "dist-types", "compiled", "globals.d.ts", "importMeta.d.ts" ], "dependencies": { "chai": "^5.2.1", "@types/chai": "^5.2.2", "@rsbuild/core": "1.4.15", "birpc": "2.5.0", "pathe": "^2.0.3", "std-env": "^3.9.0", "tinypool": "^1.1.1" }, "devDependencies": { "@vitest/expect": "^3.2.4", "@vitest/snapshot": "^3.2.4", "@babel/code-frame": "^7.27.1", "@jridgewell/trace-mapping": "0.3.29", "@microsoft/api-extractor": "^7.52.10", "@rslib/core": "0.11.2", "@sinonjs/fake-timers": "^14.0.0", "@types/babel__code-frame": "^7.0.6", "@types/jsdom": "^21.1.7", "@types/sinonjs__fake-timers": "^8.1.5", "@types/source-map-support": "^0.5.10", "cac": "^6.7.14", "happy-dom": "^18.0.1", "jest-diff": "^30.0.5", "jsdom": "^26.1.0", "license-webpack-plugin": "^4.0.2", "picocolors": "^1.1.1", "rslog": "^1.2.11", "source-map-support": "^0.5.21", "stacktrace-parser": "0.1.11", "tinyglobby": "^0.2.14", "tinyspy": "^4.0.3", "@rstest/tsconfig": "0.0.1" }, "peerDependencies": { "happy-dom": "*", "jsdom": "*" }, "peerDependenciesMeta": { "happy-dom": { "optional": true }, "jsdom": { "optional": true } }, "engines": { "node": ">=18.0.0" }, "publishConfig": { "access": "public", "registry": "https://registry.npmjs.org/" }, "scripts": { "build": "rslib build && npx prettier ./LICENSE.md --write", "typecheck": "tsc --noEmit", "dev": "rslib build --watch", "test": "npx rstest --globals" } }