generated from foxkit-js/library-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
69 lines (69 loc) · 1.88 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
{
"name": "astro-template",
"version": "0.0.0",
"description": "",
"author": "YOUR_NAME_HERE",
"license": "MIT",
"private": true,
"type": "module",
"scripts": {
"prepare": "simple-git-hooks",
"format": "prettier -w . --plugin=prettier-plugin-astro",
"format:check": "prettier -c . --plugin=prettier-plugin-astro",
"lint": "eslint .",
"lint:fix": "eslint --fix .",
"lint:strict": "eslint --max-warnings 0 .",
"dev": "astro dev",
"typecheck": "astro check && tsc --noEmit",
"test": "uvu -r esbuild-register tests -i utils",
"build:types": "astro sync",
"build": "astro build"
},
"nano-staged": {
"**/*.{js,jsx,ts,tsx,css,json,md,yml}": [
"prettier -w"
],
"**/*.astro": [
"prettier -w --plugin=prettier-plugin-astro"
]
},
"simple-git-hooks": {
"pre-commit": "pnpm nano-staged"
},
"browserslist": [
"last 2 versions",
">0.5% and not dead"
],
"dependencies": {
"@astrojs/preact": "^3.5.3",
"@csstools/postcss-global-data": "^3.0.0",
"@nanostores/preact": "^0.5.2",
"astro": "^4.16.9",
"classcat": "^5.0.5",
"nanostores": "^0.11.3",
"postcss": "^8.4.47",
"postcss-preset-env": "^10.0.9",
"preact": "^10.24.3",
"react": "npm:@preact/compat@^18.3.1",
"react-dom": "npm:@preact/compat@^18.3.1",
"sharp": "0.32.6"
},
"devDependencies": {
"@astrojs/check": "^0.9.4",
"@types/node": "^22.9.0",
"esbuild": "^0.24.0",
"esbuild-register": "^3.6.0",
"eslint": "^8.57.0",
"eslint-config-foxkit": "4.1.2",
"eslint-config-foxkit-react": "^1.0.3",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-astro": "^1.3.0",
"eslint-plugin-import": "^2.31.0",
"nano-staged": "^0.8.0",
"prettier": "^3.3.3",
"prettier-plugin-astro": "^0.14.1",
"simple-git-hooks": "^2.11.1",
"typescript": "5.6.3",
"uvu": "^0.5.6"
}
}