forked from etienne-martin/svg-to-img
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
107 lines (107 loc) · 2.41 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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
{
"name": "@nodepit/svg-to-img",
"version": "3.1.0",
"description": "A node.js library to convert SVGs to images built with Puppeteer.",
"homepage": "https://github.com/NodePit/svg-to-img",
"keywords": [
"svg",
"png",
"jpg",
"jpeg",
"image",
"puppeteer",
"node"
],
"main": "dist/index.js",
"types": "dist/index.d.ts",
"author": {
"name": "Etienne Martin",
"url": "http://etiennemartin.ca/"
},
"contributors": [
"Philipp Katz (https://gitlab.com/qqilihq)"
],
"scripts": {
"dev": "tsc --pretty --watch",
"lint": "eslint --fix ./src",
"pretest": "npm run lint",
"test": "jest src --coverage --verbose",
"test:watch": "jest src --coverage --verbose --watch",
"coverage": "coveralls < ./coverage/lcov.info",
"prebuild": "rm -rf dist/ && npm run lint",
"build": "tsc --pretty",
"prepare": "npm run build && husky install"
},
"jest": {
"setupFiles": [
"jest-canvas-mock"
],
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json",
"node"
],
"coveragePathIgnorePatterns": [
"/node_modules/",
"/coverage/",
"/dist/",
"/typings/",
"/tests/"
],
"coverageThreshold": {
"global": {
"branches": 100,
"functions": 100,
"lines": 100,
"statements": -10
}
},
"testMatch": [
"**/?(*.)(test).(tsx|ts)"
],
"collectCoverageFrom": [
"src/**/*.(tsx|ts)"
],
"testURL": "http://localhost"
},
"repository": {
"type": "git",
"url": "https://github.com/NodePit/svg-to-img"
},
"bugs": {
"url": "https://github.com/NodePit/svg-to-img/issues"
},
"engines": {
"node": ">= 10.18.1"
},
"license": "MIT",
"devDependencies": {
"@types/jest": "27.4.1",
"@types/node": "10.17.60",
"@types/rimraf": "3.0.2",
"@typescript-eslint/eslint-plugin": "^5.21.0",
"@typescript-eslint/parser": "^5.21.0",
"coveralls": "3.1.1",
"eslint": "^8.14.0",
"eslint-plugin-prettier": "^4.0.0",
"husky": "7.0.4",
"image-size": "1.0.1",
"jest": "27.5.1",
"jest-canvas-mock": "2.4.0",
"prettier": "2.6.2",
"puppeteer": "13.7.0",
"rimraf": "3.0.2",
"ts-expect": "^1.3.0",
"ts-jest": "27.1.4",
"typescript": "4.6.4"
},
"dependencies": {
"puppeteer-core": "13.7.0"
}
}