-
-
Notifications
You must be signed in to change notification settings - Fork 24
/
package.json
90 lines (90 loc) · 2.19 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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
{
"name": "fontaine",
"type": "module",
"version": "0.5.0",
"packageManager": "pnpm@9.12.3",
"description": "Automatic font fallback based on font metrics",
"author": {
"name": "Daniel Roe",
"email": "daniel@roe.dev",
"url": "https://github.com/danielroe"
},
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/unjs/fontaine.git"
},
"keywords": [
"fonts",
"cls",
"web-vitals",
"performance"
],
"sideEffects": false,
"exports": {
".": {
"import": "./dist/index.mjs",
"require": "./dist/index.cjs"
}
},
"main": "./dist/index.cjs",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"files": [
"dist"
],
"scripts": {
"build": "unbuild",
"dev": "vitest",
"demo": "vite dev playground",
"demo:dev": "pnpm demo --config test/vite.config.mjs",
"lint": "eslint .",
"prepare": "simple-git-hooks install && pnpm build",
"prepublishOnly": "pnpm lint && pnpm test",
"release": "pnpm test && bumpp && npm publish",
"test": "vitest run"
},
"dependencies": {
"@capsizecss/metrics": "^3.3.0",
"@capsizecss/unpack": "^2.3.0",
"magic-regexp": "^0.8.0",
"magic-string": "^0.30.12",
"pathe": "^1.1.2",
"ufo": "^1.5.4",
"unplugin": "^1.14.1"
},
"devDependencies": {
"@antfu/eslint-config": "3.8.0",
"@nuxtjs/eslint-config-typescript": "latest",
"@types/node": "22.9.0",
"@types/serve-handler": "6.1.4",
"@typescript-eslint/eslint-plugin": "8.13.0",
"@typescript-eslint/parser": "8.13.0",
"@vitest/coverage-v8": "2.1.4",
"bumpp": "9.8.1",
"eslint": "9.14.0",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-prettier": "latest",
"execa": "9.5.1",
"get-port-please": "3.1.2",
"lint-staged": "15.2.10",
"prettier": "latest",
"serve-handler": "6.1.6",
"simple-git-hooks": "2.11.1",
"typescript": "5.6.3",
"unbuild": "latest",
"vite": "5.4.10",
"vitest": "2.1.4"
},
"resolutions": {
"fontaine": "link:."
},
"simple-git-hooks": {
"pre-commit": "npx lint-staged"
},
"lint-staged": {
"*.{js,ts,mjs,cjs,json,.*rc}": [
"npx eslint --fix"
]
}
}