vitest-canvas-webgl-mock
Version:
Mock both 2D and WebGL contexts in Vitest.
77 lines (76 loc) • 1.82 kB
JSON
{
"name": "vitest-canvas-webgl-mock",
"version": "2.5.3",
"description": "Mock both 2D and WebGL contexts in Vitest.",
"main": "lib/index.js",
"types": "types/index.d.ts",
"publishConfig": {
"registry": "https://registry.npmjs.org/"
},
"scripts": {
"test": "vitest run",
"build": "babel src --out-dir lib",
"prepare": "npm run build",
"prettier": "prettier --write ."
},
"dependencies": {
"cssfontparser": "^1.2.1",
"moo-color": "^1.0.2"
},
"devDependencies": {
"@antv/g2plot": "^2.3.11",
"@babel/cli": "^7.8.4",
"@babel/core": "^7.9.0",
"@babel/plugin-proposal-class-properties": "^7.8.3",
"@babel/preset-env": "^7.9.5",
"@commitlint/cli": "^17.6.1",
"@commitlint/config-angular": "^17.6.1",
"@inrupt/jest-jsdom-polyfills": "^2.5.0",
"babel-plugin-version": "^0.2.3",
"coveralls": "^3.0.11",
"husky": "^4.2.5",
"jsdom": "^22.1.0",
"prettier": "^2.0.4",
"vitest": "^2.1.0"
},
"commitlint": {
"extends": [
"@commitlint/config-angular"
]
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
"pre-commit": "npm run prettier && npm run test && npm run build"
}
},
"repository": {
"type": "git",
"url": "git+https://github.com/nolanzxh/vitest-canvas-webgl-mock.git"
},
"keywords": [
"mock",
"vitest",
"vitest-mock",
"echarts",
"canvas",
"test",
"unit",
"stub",
"webgl",
"pixi",
"pixi.js",
"pixijs"
],
"files": [
"CHANGELOG.md",
"lib/",
"types/"
],
"author": "zxianhua & adamfsk",
"license": "MIT",
"bugs": {
"url": "https://github.com/nolanzxh/vitest-canvas-webgl-mock/issues"
},
"homepage": "https://github.com/nolanzxh/vitest-canvas-webgl-mock#readme"
}