-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
115 lines (115 loc) · 3.15 KB
/
Copy pathpackage.json
File metadata and controls
115 lines (115 loc) · 3.15 KB
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": "shotmark",
"version": "1.0.0",
"description": "Lightweight React screenshot annotation library. Capture, draw, copy & download in one line. Zero UI dependency, privacy-first, plugin-based shapes.",
"keywords": [
"screenshot",
"annotation",
"markup",
"capture",
"drawing",
"web-capture",
"react",
"canvas",
"screenshot-tool",
"image-annotation",
"screen-capture",
"browser-screenshot",
"mosaic",
"highlight"
],
"author": "river <heyrivergo@gmail.com>",
"license": "MIT",
"funding": {
"type": "github",
"url": "https://github.com/sponsors/riverdone"
},
"repository": {
"type": "git",
"url": "git+https://github.com/riverdone/shotmark.git"
},
"homepage": "https://github.com/riverdone/shotmark#readme",
"bugs": {
"url": "https://github.com/riverdone/shotmark/issues"
},
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"types": "dist/types/index.d.ts",
"exports": {
".": {
"types": "./dist/types/index.d.ts",
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js"
}
},
"files": [
"dist",
"README.md",
"LICENSE"
],
"sideEffects": false,
"scripts": {
"dev": "storybook dev -p 6006",
"storybook:clean": "rm -rf node_modules/.cache/storybook .storybook/.cache storybook-static",
"storybook:reset": "pnpm storybook:clean && pnpm storybook -- --port 6006 --ci",
"build": "rollup -c && pnpm build:types",
"build:types": "tsc --emitDeclarationOnly --declaration --declarationDir dist/types",
"prepare": "simple-git-hooks",
"lint": "eslint src stories",
"format": "prettier --write .",
"format:check": "prettier --check .",
"test": "vitest",
"test:ui": "vitest --ui",
"test:coverage": "vitest --coverage",
"typecheck": "tsc --noEmit",
"prepublishOnly": "pnpm build",
"storybook": "storybook dev -p 6006",
"build-storybook": "storybook build"
},
"peerDependencies": {
"react": ">=17.0.0",
"react-dom": ">=17.0.0"
},
"dependencies": {
"@emotion/css": "^11.13.5",
"clsx": "^2.1.1"
},
"devDependencies": {
"@eslint/js": "^9.39.5",
"@rollup/plugin-commonjs": "^28.0.3",
"@rollup/plugin-node-resolve": "^16.0.1",
"@rollup/plugin-typescript": "^12.1.2",
"@storybook/addon-essentials": "^8.5.0",
"@storybook/react": "^8.5.0",
"@storybook/react-vite": "^8.5.0",
"@types/react": "^18.3.0",
"@types/react-dom": "^18.3.0",
"@vitest/ui": "^4.1.10",
"eslint": "^9",
"eslint-plugin-react-hooks": "^5",
"happy-dom": "^20.10.6",
"lint-staged": "^15.2.8",
"prettier": "3.9.5",
"react": "^18.3.0",
"react-dom": "^18.3.0",
"rollup": "^4.34.0",
"rollup-plugin-peer-deps-external": "^2.2.4",
"simple-git-hooks": "^2.12.1",
"storybook": "^8.5.0",
"tslib": "^2.8.0",
"typescript": "^5.7.0",
"typescript-eslint": "^8",
"vitest": "^4.1.10"
},
"lint-staged": {
"*.{ts,tsx,js,jsx,json,md,css,scss,yml,yaml}": [
"prettier --write"
]
},
"simple-git-hooks": {
"pre-commit": "pnpm lint-staged && pnpm -s tsc --noEmit"
},
"engines": {
"node": ">=16"
}
}