forked from hustcc/jest-canvas-mock
-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathpackage.json
91 lines (91 loc) · 2.1 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
85
86
87
88
89
90
91
{
"name": "jest-webgl-canvas-mock",
"version": "2.5.3",
"description": "Mock both 2D and WebGL contexts in Jest.",
"main": "lib/index.js",
"types": "types/index.d.ts",
"publishConfig": {
"registry": "https://registry.npmjs.org/"
},
"scripts": {
"test": "jest --no-cache",
"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-jest": "^25.3.0",
"babel-plugin-version": "^0.2.3",
"coveralls": "^3.0.11",
"husky": "^4.2.5",
"jest": "^29.5.0",
"jest-environment-jsdom": "^29.5.0",
"jsdom": "^22.1.0",
"prettier": "^2.0.4"
},
"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"
}
},
"jest": {
"testEnvironment": "jsdom",
"collectCoverage": true,
"collectCoverageFrom": [
"src/classes/**/*.js",
"src/mock/**/*.js"
],
"setupFiles": [
"@inrupt/jest-jsdom-polyfills",
"./src/index.js",
"./__mocks__/worker.js"
]
},
"repository": {
"type": "git",
"url": "git+https://github.com/adamfsk/jest-webgl-canvas-mock.git"
},
"keywords": [
"mock",
"jest",
"jest-mock",
"echarts",
"canvas",
"test",
"unit",
"stub",
"webgl",
"pixi",
"pixi.js",
"pixijs"
],
"files": [
"CHANGELOG.md",
"lib/",
"types/"
],
"author": "adamfsk",
"license": "MIT",
"bugs": {
"url": "https://github.com/adamfsk/jest-webgl-canvas-mock/issues"
},
"homepage": "https://github.com/adamfsk/jest-webgl-canvas-mock#readme"
}