-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathpackage.json
76 lines (76 loc) · 2 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": "fastimage",
"version": "6.0.1",
"description": "A module that finds the size and type of an image by fetching and reading as little data as needed.",
"homepage": "https://sw.cowtech.it/fastimage",
"repository": {
"type": "git",
"url": "git+https://github.com/ShogunPanda/fastimage.git"
},
"keywords": [
"fast",
"fastimage",
"image",
"size",
"dimensions",
"resolution",
"width",
"height",
"png",
"jpeg",
"bmp",
"gif",
"psd",
"tiff",
"webp",
"svg"
],
"bugs": {
"url": "https://github.com/ShogunPanda/fastimage/issues"
},
"author": "Shogun <[email protected]>",
"license": "ISC",
"private": false,
"files": [
"dist",
"CHANGELOG.md",
"LICENSE.md",
"README.md"
],
"type": "module",
"exports": "./dist/index.js",
"types": "./dist/index.d.ts",
"scripts": {
"dev": "swc --strip-leading-paths --delete-dir-on-start -s -w -d dist src",
"build": "swc --strip-leading-paths --delete-dir-on-start -d dist src",
"postbuild": "concurrently npm:lint npm:typecheck",
"format": "prettier -w src test",
"lint": "eslint --cache",
"typecheck": "tsc -p . --emitDeclarationOnly",
"test": "c8 -c test/config/c8-local.json node --env-file=test.env --test test/*.test.ts",
"test:ci": "c8 -c test/config/c8-ci.json node --env-file=test.env --test-reporter=tap --test test/*.test.ts",
"ci": "npm run build && npm run test:ci",
"prepublishOnly": "npm run ci",
"postpublish": "git push origin && git push origin -f --tags"
},
"dependencies": {
"image-size": "^1.2.0",
"undici": "^7.2.0"
},
"devDependencies": {
"@cowtech/eslint-config": "10.2.0",
"@swc-node/register": "^1.10.9",
"@swc/cli": "0.5.2",
"@swc/core": "^1.10.3",
"@types/node": "^22.10.2",
"c8": "^10.1.3",
"chokidar": "^4.0.3",
"concurrently": "^9.1.1",
"eslint": "^9.17.0",
"prettier": "^3.4.2",
"typescript": "^5.7.2"
},
"engines": {
"node": ">= 20.18.0"
}
}