-
Notifications
You must be signed in to change notification settings - Fork 22
/
Copy pathpackage.json
107 lines (107 loc) · 2.4 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": "svg-to-img",
"version": "2.0.9",
"description": "A node.js library to convert SVGs to images built with Puppeteer.",
"homepage": "https://github.com/etienne-martin/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/"
},
"scripts": {
"dev": "tsc --pretty --watch",
"lint": "tslint -c tslint.json -p tsconfig.json --fix",
"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": {
"hooks": {
"pre-commit": "npm run build && npm run test",
"pre-push": "npm run build && npm run test"
}
},
"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/etienne-martin/svg-to-img"
},
"bugs": {
"url": "https://github.com/etienne-martin/svg-to-img/issues"
},
"engines": {
"node": ">= 7.6.0"
},
"license": "MIT",
"devDependencies": {
"@types/image-size": "0.0.29",
"@types/jest": "22.2.3",
"@types/puppeteer": "1.10.1",
"@types/rimraf": "2.0.2",
"coveralls": "3.0.2",
"husky": "0.15.0-rc.13",
"image-size": "0.6.3",
"jest": "22.4.4",
"jest-canvas-mock": "1.1.0",
"rimraf": "2.6.2",
"ts-jest": "22.4.6",
"tslint": "5.11.0",
"tslint-config-prettier": "1.17.0",
"tslint-eslint-rules": "4.1.1",
"typescript": "2.9.2"
},
"dependencies": {
"puppeteer": "1.1.1"
}
}