-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
76 lines (76 loc) · 1.8 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
{
"name": "svga-web",
"version": "2.4.0",
"packageManager": "pnpm@9.3.0",
"description": "A SVGA player for modern Web.",
"homepage": "https://github.com/Naeemo/svga-web",
"publishConfig": {
"registry": "https://registry.npmjs.org"
},
"bugs": {
"url": "https://github.com/Naeemo/svga-web/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Naeemo/svga-web.git"
},
"keywords": [
"svga",
"svga web player",
"Typescript",
"svga.lite"
],
"files": [
"dist",
"src"
],
"type": "module",
"main": "./dist/svga-web.js",
"module": "./dist/svga-web.umd.cjs",
"exports": {
".": {
"import": "./dist/svga-web.js",
"require": "./dist/svga-web.umd.cjs"
}
},
"types": "src/index.ts",
"scripts": {
"prestart": "prettier --check ./src && tsc -p ./",
"start": "eslint ./src && vite",
"prebuild": "prettier --check ./src && tsc -p ./",
"build": "vite build",
"prepublish": "pnpm build",
"proto": "node scripts/generate-proto.mjs"
},
"author": "naeemo<naeemo@qq.com>",
"license": "MIT",
"devDependencies": {
"@types/node": "^20.14.2",
"@types/offscreencanvas": "^2019.6.4",
"@types/pako": "^2.0.0",
"@typescript-eslint/eslint-plugin": "^7.13.0",
"@typescript-eslint/parser": "^7.13.0",
"eslint": "^9.5.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.1.3",
"husky": "^9.0.11",
"lint-staged": "^15.2.7",
"pako": "^2.0.4",
"prettier": "^3.3.2",
"protobufjs": "^7.3.2",
"protobufjs-cli": "^1.0.0",
"typescript": "^5.4.5",
"vite": "^5.3.1"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.+(ts|js|json|md|html)": [
"eslint --fix",
"prettier --write"
]
}
}