-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
71 lines (71 loc) · 2.06 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
{
"name": "@hugocxl/react-to-image",
"description": "Transform your React components into images",
"productName": "@hugocxl/react-to-image",
"version": "0.0.9",
"license": "MIT",
"private": false,
"author": "hugocxl (http://github.com/hugocxl)",
"homepage": "https://hugocxl.github.io/react-to-image/",
"repository": {
"type": "git",
"url": "https://github.com/hugocxl/react-to-image"
},
"bugs": {
"url": "https://hugocxl.github.io/react-to-image/issues"
},
"files": [
"dist"
],
"main": "dist/index.js",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"source": "src/index.ts",
"scripts": {
"dev": "tsup --format=esm,cjs --no-dts --watch",
"build": "tsup",
"test": "jest",
"test:coverage": "jest --coverage",
"clean": "rm -rf dist && rm -rf node_modules",
"fix": "pnpm lint:fix . && pnpm format:fix .",
"lint": "eslint --cache",
"lint:check": "pnpm lint",
"lint:fix": "pnpm lint --fix",
"styles": "stylelint --cache",
"styles:check": "pnpm styles",
"styles:fix": "pnpm styles --fix",
"format": "prettier --cache",
"format:check": "pnpm format --check",
"format:fix": "pnpm format --write",
"types": "tsc",
"types:check": "pnpm types --noEmit",
"prepare": "husky install",
"release": "changeset publish",
"release-dev": "changeset version --snapshot dev && changeset publish --tag dev",
"postversion": "git push && git push --tags"
},
"peerDependencies": {
"html-to-image": ">=1",
"react": ">=16"
},
"devDependencies": {
"@changesets/changelog-github": "^0",
"@changesets/cli": "^2",
"@testing-library/dom": "^9",
"@testing-library/jest-dom": "^6",
"@testing-library/react": "^14",
"@types/jest": "^29",
"@types/react": "^18",
"@typescript-eslint/eslint-plugin": "^6",
"@typescript-eslint/parser": "^6",
"eslint": "^8",
"husky": "^8",
"jest-environment-jsdom": "^29",
"jest": "^29",
"lint-staged": "^14",
"prettier": "^3",
"ts-jest": "^29",
"tsup": "^8",
"typescript": "^5"
}
}