-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
45 lines (45 loc) · 1.31 KB
/
package.json
File metadata and controls
45 lines (45 loc) · 1.31 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
{
"name": "screengrab.js",
"version": "0.1.3",
"type": "module",
"main": "./lib/cjs/index.js",
"module": "./lib/esm/index.js",
"files": [
"lib/"
],
"scripts": {
"tsc": "npm run tsc:esm && npm run tsc:cjs",
"tsc:esm": "tsc -p tsconfig.esm.json",
"tsc:cjs": "tsc -p tsconfig.cjs.json",
"tsc:clean": "rm -fr lib/*",
"prepublishOnly": "npm run tsc",
"start": "vite --host",
"dev": "vite",
"dev:lib": "nodemon -w ./src -e 'ts, js' -x npm run build",
"build": "tsc && vite build && npm run build:copy",
"build:copy": "cp dist/*.js ./lib/",
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
"preview": "vite preview"
},
"dependencies": {
"screengrab.js": "^0.0.2"
},
"devDependencies": {
"@types/node": "^20.11.30",
"@types/react": "^18.2.43",
"@types/react-dom": "^18.2.17",
"@typescript-eslint/eslint-plugin": "^6.14.0",
"@typescript-eslint/parser": "^6.14.0",
"@vitejs/plugin-react-swc": "^3.5.0",
"esbuild": "^0.19.11",
"eslint": "^8.55.0",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-react-refresh": "^0.4.5",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"typescript": "^5.2.2",
"vite": "^5.0.8",
"vite-plugin-global": "^0.0.1"
},
"license": "MIT"
}