-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
56 lines (56 loc) · 1.22 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
{
"version": "0.1.1",
"license": "MIT",
"main": "dist/index.js",
"typings": "dist/index.d.ts",
"name": "fullscreen-img",
"author": "baiyun",
"homepage": "https://github.com/isbasex/fullscreen-img",
"repository": {
"type": "git",
"url": "https://github.com/isbasex/fullscreen-img.git"
},
"module": "dist/fullscreen-img.esm.js",
"files": [
"dist",
"src"
],
"scripts": {
"start": "tsdx watch --format cjs,esm,umd",
"build": "tsdx build --format cjs,esm,umd",
"test": "tsdx test",
"lint": "tsdx lint",
"prepare": "tsdx build",
"size": "size-limit",
"analyze": "size-limit --why"
},
"devDependencies": {
"@baiyun/prettier-config": "^1.0.1",
"@size-limit/preset-small-lib": "^8.1.0",
"@types/jest": "^29.1.2",
"husky": "^8.0.1",
"prettier": "^2.7.1",
"size-limit": "^8.1.0",
"tsdx": "^0.14.1",
"tslib": "^2.4.0",
"typescript": "^4.8.4"
},
"size-limit": [
{
"path": "dist/fullscreen-img.cjs.production.min.js",
"limit": "10 KB"
},
{
"path": "dist/fullscreen-img.esm.js",
"limit": "10 KB"
}
],
"engines": {
"node": ">=10"
},
"husky": {
"hooks": {
"pre-commit": "tsdx lint"
}
}
}