generated from qq15725/starter-ts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
82 lines (82 loc) · 1.92 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
{
"name": "modern-text",
"type": "module",
"version": "0.5.13",
"packageManager": "[email protected]",
"description": "Measure and render text in a way that describes the DOM.",
"author": "wxm",
"license": "MIT",
"homepage": "https://github.com/qq15725/modern-text",
"repository": {
"type": "git",
"url": "git+https://github.com/qq15725/modern-text.git"
},
"bugs": {
"url": "https://github.com/qq15725/modern-text/issues"
},
"keywords": [
"text",
"text-measure",
"text-texture",
"text-canvas",
"measure",
"typescript"
],
"sideEffects": false,
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.cjs"
}
},
"main": "./dist/index.mjs",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"browser": "./dist/index.js",
"typesVersions": {
"*": {
"*": [
"./dist/*",
"./dist/index.d.ts"
]
}
},
"files": [
"dist"
],
"scripts": {
"build": "vite build && unbuild",
"dev": "vite docs",
"lint": "eslint .",
"version": "conventional-changelog -p angular -i CHANGELOG.md -s && git add CHANGELOG.md",
"release": "bumpp package.json --commit \"release: v%s\" --push --all --tag",
"start": "esno src/index.ts",
"test": "vitest",
"typecheck": "tsc --noEmit",
"prepare": "simple-git-hooks"
},
"dependencies": {
"modern-font": "^0.3.2",
"modern-path2d": "^0.2.6"
},
"devDependencies": {
"@antfu/eslint-config": "^3.7.3",
"@types/node": "^22.7.4",
"bumpp": "^9.6.1",
"conventional-changelog-cli": "^5.0.0",
"eslint": "^9.12.0",
"lint-staged": "^15.2.10",
"simple-git-hooks": "^2.11.1",
"typescript": "^5.6.2",
"unbuild": "^2.0.0",
"vite": "^5.4.8",
"vitest": "^2.1.2"
},
"simple-git-hooks": {
"pre-commit": "pnpm lint-staged"
},
"lint-staged": {
"*": "eslint --fix"
}
}