generated from u3u/ts-lib-starter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
115 lines (115 loc) · 2.55 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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
{
"name": "string-format-jsx",
"version": "1.0.0",
"description": "A lightweight and framework-independent library for template string interpolation similar to JSX elements.",
"keywords": [
"jsx interpolation"
],
"repository": {
"url": "https://github.com/u3u/string-format-jsx.git"
},
"license": "MIT",
"author": "u3u <[email protected]> (https://github.com/u3u)",
"sideEffects": false,
"exports": {
".": {
"import": {
"types": "./dist/index.d.mts",
"default": "./dist/index.mjs"
},
"require": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
}
},
"./*": {
"import": {
"types": "./dist/*.d.mts",
"default": "./dist/*.mjs"
},
"require": {
"types": "./dist/*.d.ts",
"default": "./dist/*.js"
}
}
},
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"typesVersions": {
"*": {
"*": [
"./dist/*",
"./dist/index.d.ts"
]
}
},
"files": [
"dist"
],
"scripts": {
"build": "tsup && fix-tsup-cjs",
"format": "prettier --write .",
"lint": "eslint --fix .",
"prepare": "pnpm build",
"test": "vitest --ui --coverage"
},
"simple-git-hooks": {
"pre-commit": "npx lint-staged --concurrent false"
},
"lint-staged": {
"*.{js,cjs,mjs,jsx,ts,tsx,md}": [
"eslint --fix"
],
"*": [
"prettier --write --ignore-unknown"
]
},
"devDependencies": {
"@total-typescript/ts-reset": "^0.5.1",
"@tsconfig/node20": "^20.1.2",
"@types/node": "^20.10.4",
"@types/react": "^18.2.45",
"@types/react-dom": "^18.2.17",
"@u3u/eslint-config": "^2.14.1",
"@u3u/prettier-config": "^4.1.4",
"@vitest/coverage-v8": "^1.0.4",
"@vitest/ui": "^1.0.4",
"bumpp": "^9.2.1",
"dedent": "^1.5.1",
"eslint": "^8.55.0",
"fix-tsup-cjs": "^1.2.0",
"lint-staged": "^15.2.0",
"prettier": "^3.1.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"simple-git-hooks": "^2.9.0",
"string-format-jsx": "link:",
"tsup": "^8.0.1",
"typescript": "^5.3.3",
"vitest": "^1.0.4"
},
"peerDependencies": {
"react": ">=16.8.0",
"react-dom": ">=16.8.0"
},
"peerDependenciesMeta": {
"react": {
"optional": true
},
"react-dom": {
"optional": true
}
},
"packageManager": "[email protected]",
"publishConfig": {
"access": "public"
},
"pnpm": {
"updateConfig": {
"ignoreDependencies": [
"@types/node"
]
}
}
}