vitest-webgl-canvas-mock
Version:
Mock both 2D and WebGL contexts in Vitest.
54 lines (53 loc) • 1.26 kB
JSON
{
"name": "vitest-webgl-canvas-mock",
"version": "1.1.0",
"description": "Mock both 2D and WebGL contexts in Vitest.",
"main": "src/index.js",
"types": "types/index.d.ts",
"type": "module",
"publishConfig": {
"registry": "https://registry.npmjs.org/"
},
"scripts": {
"test": "vitest",
"build": "babel src --out-dir lib",
"prepare": "npm run build"
},
"dependencies": {
"cssfontparser": "^1.2.1",
"parse-color": "^1.0.0"
},
"devDependencies": {
"@babel/cli": "^7.4.4",
"@babel/core": "^7.4.4",
"@babel/plugin-proposal-class-properties": "^7.4.4",
"@babel/preset-env": "^7.4.4",
"babel-plugin-version": "^0.2.3",
"jest": "^24.8.0",
"vitest": "^0.29.7"
},
"repository": {
"type": "git",
"url": "git+https://github.com/RSamaium/vitest-webgl-canvas-mock.git"
},
"keywords": [
"mock",
"vitest",
"vitest-mock",
"echarts",
"canvas",
"test",
"unit",
"stub",
"webgl",
"pixi",
"pixi.js",
"pixijs"
],
"author": "Samuel Ronce & adamfsk",
"license": "MIT",
"bugs": {
"url": "https://github.com/RSamaium/vitest-webgl-canvas-mock/issues"
},
"homepage": "https://github.com/RSamaium/vitest-webgl-canvas-mock#readme"
}