-
Notifications
You must be signed in to change notification settings - Fork 10
/
package.json
130 lines (130 loc) · 4.54 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
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
{
"name": "html2canvas-pro",
"description": "Screenshots with JavaScript. Next generation!",
"main": "dist/html2canvas-pro.js",
"module": "dist/html2canvas-pro.esm.js",
"typings": "dist/types/index.d.ts",
"browser": "dist/html2canvas-pro.js",
"version": "1.5.8",
"author": {
"name": "yorickshan",
"email": "[email protected]",
"url": "https://github.com/yorickshan"
},
"license": "MIT",
"keywords": [
"html2canvas",
"screenshot"
],
"engines": {
"node": ">=16.0.0"
},
"homepage": "https://yorickshan.github.io/html2canvas-pro/",
"repository": {
"type": "git",
"url": "https://github.com/yorickshan/html2canvas-pro"
},
"devDependencies": {
"@commitlint/cli": "^19.3.0",
"@commitlint/config-conventional": "^19.2.2",
"@rollup/plugin-commonjs": "^26.0.1",
"@rollup/plugin-json": "^6.1.0",
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-typescript": "^11.1.6",
"@types/chai": "^4.1.7",
"@types/express": "^4.17.13",
"@types/glob": "^8.1.0",
"@types/jest": "^29.5.12",
"@types/jest-image-snapshot": "^6.4.0",
"@types/karma": "^6.3.0",
"@types/mocha": "^10.0.7",
"@types/node": "^20.14.12",
"@types/platform": "^1.3.4",
"@types/promise-polyfill": "^6.0.3",
"@typescript-eslint/eslint-plugin": "^4.33.0",
"@typescript-eslint/parser": "^4.33.0",
"appium-ios-simulator": "^6.1.10",
"base64-arraybuffer": "1.0.2",
"body-parser": "^1.19.0",
"chai": "5.1.1",
"conventional-changelog-cli": "^5.0.0",
"cors": "^2.8.5",
"cz-conventional-changelog": "^3.3.0",
"es6-promise": "^4.2.8",
"eslint": "^7.32.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "4.2.1",
"express": "^4.17.1",
"filenamify-url": "1.0.0",
"glob": "^11.0.0",
"husky": "^8.0.0",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"jest-image-snapshot": "^6.4.0",
"jquery": "^3.5.1",
"js-polyfills": "^0.1.42",
"karma": "^6.3.2",
"karma-chrome-launcher": "^3.1.0",
"karma-edge-launcher": "^0.4.2",
"karma-firefox-launcher": "^2.1.0",
"karma-ie-launcher": "^1.0.0",
"karma-junit-reporter": "^2.0.1",
"karma-mocha": "^2.0.1",
"karma-safarinative-launcher": "^1.1.0",
"karma-sauce-launcher": "^4.3.6",
"lint-staged": "^15.2.7",
"mocha": "^10.7.0",
"node-simctl": "^7.5.3",
"platform": "^1.3.6",
"prettier": "^2.3.2",
"puppeteer": "^22.12.1",
"replace-in-file": "^3.0.0",
"rimraf": "^6.0.1",
"rollup": "^2.79.1",
"rollup-plugin-sourcemaps": "^0.6.3",
"serve-index": "^1.9.1",
"slash": "1.0.0",
"standard-version": "^9.5.0",
"ts-jest": "^29.1.5",
"ts-node": "^10.9.2",
"tslib": "^2.3.0",
"typescript": "^5.5.4",
"uglify-js": "^3.13.10",
"vitepress": "^1.3.0",
"yargs": "^17.0.1"
},
"scripts": {
"prebuild": "rimraf dist/ && rimraf build/ && mkdirp dist && mkdirp build",
"build": "tsc --module commonjs && rollup -c rollup.config.ts && npm run build:create-reftest-list && npm run build:testrunner && npm run build:minify",
"build:testrunner": "rollup -c tests/rollup.config.ts",
"build:minify": "uglifyjs --compress --comments /^!/ -o dist/html2canvas-pro.min.js --mangle -- dist/html2canvas-pro.js",
"build:reftest-result-list": "ts-node scripts/create-reftest-result-list.ts",
"build:create-reftest-list": "ts-node scripts/create-reftest-list.ts tests/reftests/ignore.txt build/reftests.ts",
"release": "sh scripts/version-upgrade.sh",
"format": "prettier --write \"{src,tests,scripts}/**/*.ts\"",
"lint": "eslint src/**/*.ts --max-warnings 0",
"test": "npm run lint && npm run unittest && npm run karma",
"unittest": "jest",
"reftests-diff": "mkdirp tmp/snapshots && jest --roots=tests --testMatch=**/reftest-diff.ts",
"karma": "ts-node tests/karma",
"watch": "rollup -c rollup.config.ts -w",
"watch:unittest": "mocha --require ts-node/register --watch-extensions ts -w src/**/__tests__/*.ts",
"start": "ts-node tests/server --port=8080 --cors=8081",
"commitlint": "commitlint --config .commitlintrc.json -e -V",
"tag": "sh scripts/create-tag.sh",
"prepare": "if [ \"$SKIP_PREPARE\" != \"true\" ]; then husky install; fi",
"docs:dev": "vitepress dev docs",
"docs:build": "vitepress build docs",
"docs:preview": "vitepress preview docs"
},
"dependencies": {
"css-line-break": "^2.1.0",
"text-segmentation": "^1.0.3"
},
"lint-staged": {
"{src,tests}/**/*.ts": [
"prettier --write",
"eslint --fix"
]
}
}