generated from freeCodeCamp/template
-
-
Notifications
You must be signed in to change notification settings - Fork 70
/
package.json
57 lines (57 loc) · 1.63 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
{
"name": "@freecodecamp/contribute",
"type": "module",
"version": "1.0.0",
"private": true,
"scripts": {
"preinstall": "npx only-allow pnpm",
"prepare": "npx is-ci || npx husky",
"dev": "pnpm run develop",
"develop": "astro dev",
"start": "node ./run-server.mjs",
"build": "rm -rf ./dist && astro check && astro build",
"preview": "wrangler pages dev ./dist",
"astro": "astro",
"format": "prettier . --write --cache && eslint . --cache --fix",
"lint": "prettier . --check --cache && eslint . --cache",
"playwright:run": "playwright test",
"playwright:watch": "playwright test --ui"
},
"lint-staged": {
"**/*.{astro,mjs,cjs,js,jsx,ts,tsx,yaml,yml}": [
"pnpm format"
],
"**/*.{mdx,md}": [
"npx prettier . --write"
]
},
"dependencies": {
"@astrojs/check": "0.9.4",
"@astrojs/cloudflare": "^11.0.5",
"@astrojs/starlight": "0.27.1",
"@astrojs/starlight-tailwind": "2.0.3",
"@astrojs/tailwind": "5.1.2",
"astro": "4.16.7",
"tailwindcss": "3.4.14",
"typescript": "5.6.3"
},
"devDependencies": {
"@playwright/test": "1.48.2",
"@types/node": "20.17.3",
"@typescript-eslint/eslint-plugin": "7.18.0",
"@typescript-eslint/parser": "7.18.0",
"dotenv": "16.4.5",
"eslint": "8.57.1",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-astro": "0.34.0",
"eslint-plugin-prettier": "5.2.1",
"husky": "9.1.6",
"is-ci": "3.0.1",
"lint-staged": "15.2.10",
"prettier": "3.3.3",
"prettier-plugin-astro": "0.14.1",
"sharp": "0.33.5",
"wrangler": "^3.78.4"
},
"packageManager": "[email protected]"
}