forked from canvg/canvg
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
115 lines (115 loc) · 3.23 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
108
109
110
111
112
113
114
115
{
"name": "canvg",
"version": "3.0.9",
"description": "JavaScript SVG parser and renderer on Canvas.",
"authors": [
{
"name": "Gabe Lerner",
"email": "[email protected]"
},
{
"name": "Brett Zamir"
},
{
"name": "Dan Green",
"url": "https://twitter.com/dangreen58"
}
],
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/canvg/canvg"
},
"bugs": {
"url": "https://github.com/canvg/canvg/issues"
},
"type": "module",
"sideEffects": false,
"main": "lib/index.cjs",
"module": "lib/index.es.js",
"raw": "lib/index.babel.js",
"umd": "lib/umd.js",
"types": "lib/index.d.ts",
"exports": {
"require": "./lib/index.cjs",
"import": "./lib/index.es.js"
},
"engines": {
"node": ">=10.0.0"
},
"scripts": {
"lint": "eslint --cache 'rollup.config.js' 'src/**/*.ts' 'test/**/*.{js,ts}'",
"jest": "cross-env NODE_ENV=test jest -c jest.config.json",
"jest:debug": "cross-env NODE_ENV=test node --inspect node_modules/.bin/jest --watch --no-cache --runInBand -c jest.config.json",
"typecheck": "tsc --noEmit --pretty --skipLibCheck",
"checkSize": "size-limit",
"test": "yarn typecheck && yarn lint && yarn jest && yarn build && yarn checkSize",
"build:docs": "./scripts/buildDocs.sh",
"start": "ts-node -P ./tsconfig.dev.json test/common/server.ts",
"start:node": "ts-node -P ./tsconfig.dev.json -T test/node/index.ts",
"build": "cross-env NODE_ENV=production rollup -c",
"cleanPublish": "yarn test && clean-publish"
},
"keywords": [
"javascript",
"client",
"browser",
"svg",
"canvas"
],
"dependencies": {
"@babel/runtime": "^7.12.5",
"@types/raf": "^3.4.0",
"core-js": "^3.8.3",
"raf": "^3.4.1",
"regenerator-runtime": "^0.13.7",
"rgbcolor": "^1.0.1",
"stackblur-canvas": "^2.0.0",
"svg-pathdata": "^6.0.3"
},
"devDependencies": {
"@babel/cli": "^7.6.4",
"@babel/core": "^7.6.4",
"@babel/node": "^7.6.3",
"@rollup/plugin-babel": "^5.0.0",
"@rollup/plugin-commonjs": "^18.0.0",
"@rollup/plugin-eslint": "^8.0.1",
"@rollup/plugin-node-resolve": "^13.0.5",
"@rollup/plugin-replace": "^3.0.0",
"@size-limit/preset-small-lib": "^4.4.0",
"@trigen/babel-preset": "^7.0.2",
"@trigen/browserslist-config": "^7.0.2",
"@trigen/eslint-config": "^7.0.6",
"@types/jest": "^27.0.2",
"@types/node-fetch": "^3.0.3",
"@types/puppeteer": "^5.4.2",
"@types/xmldom": "^0.1.29",
"babel-jest": "^27.2.5",
"builtin-modules": "*",
"canvas": "^2.1.0",
"clean-publish": "^3.4.1",
"cross-env": "^7.0.0",
"eslint": "^7.0.0",
"http-server": "^0.12.0",
"husky": "^4.0.9",
"jest": "^27.2.5",
"jest-circus": "^27.2.5",
"jest-image-snapshot": "^4.3.0",
"lint-staged": "^10.0.2",
"node-fetch": "^2.6.0",
"puppeteer": "^10.4.0",
"rollup": "^2.10.5",
"rollup-plugin-node-globals": "^1.4.0",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-typescript2": "^0.30.0",
"size-limit": "^4.4.0",
"ts-node-dev": "^1.0.0-pre.39",
"tsconfig-paths": "^3.8.0",
"typedoc": "^0.20.16",
"typescript": "3.9.7",
"xmldom": "^0.6.0"
},
"files": [
"lib"
]
}