-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
99 lines (99 loc) · 3.75 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
{
"name": "head-start",
"type": "module",
"version": "0.0.1",
"license": "ISC",
"scripts": {
"astro": "astro",
"prebuild": "run-s prep",
"build": "astro build",
"postbuild": "npm run post",
"cloudflare:build": "jiti scripts/build.ts",
"create": "plop --plopfile config/plop/plopfile.mjs",
"create:api": "plop --plopfile config/plop/plopfile.mjs api",
"create:block": "plop --plopfile config/plop/plopfile.mjs block",
"create:component": "plop --plopfile config/plop/plopfile.mjs component",
"create:page": "plop --plopfile config/plop/plopfile.mjs page",
"predev": "run-s prep",
"dev": "run-p dev:* --print-label",
"dev:astro": "astro dev",
"dev:graphql": "chokidar 'src/**/*.graphql' -c 'npm run prep:datocms-types'",
"dev:icons": "chokidar 'src/assets/icons/*.svg' -c 'npm run prep:icons'",
"dev:translations": "jiti scripts/watch-translations.ts",
"prep": "run-s prep:* --print-label",
"prep:clean-astro-env": "rm -rf node_modules/.astro",
"prep:cloudflare-env": "touch .dev.vars",
"prep:datocms-types": "graphql-codegen --config .graphqlrc.ts",
"prep:download-redirects": "jiti scripts/download-redirects.ts",
"prep:download-site-data": "jiti scripts/download-site-data.ts",
"prep:download-translations": "jiti scripts/download-translations.ts",
"prep:icons": "svg-sprite --symbol --symbol-dest='src/assets' --symbol-sprite=icon-sprite.svg src/assets/icons/*.svg && jiti scripts/icon-types.ts",
"preview": "wrangler pages dev ./dist",
"lint": "run-s lint:* --print-label",
"lint:astro": "astro check",
"lint:eslint": "eslint . --ext .js,.ts,.astro",
"lint:html": "html-validate --config config/htmlvalidate/config.json dist/",
"pretest": "npm run prep",
"test": "run-s test:*",
"test:unit": "vitest run",
"post": "echo 'add post:x scripts and change this like to \"run-s post:* --print-label\"'",
"postinstall": "npx husky install"
},
"dependencies": {
"@astrojs/check": "^0.9.3",
"@astrojs/cloudflare": "^12.0.0-beta.0",
"@astrojs/sitemap": "^3.1.6",
"@nanostores/persistent": "^0.10.1",
"@rollup/plugin-graphql": "^2.0.3",
"accept-language-parser": "^1.5.0",
"astro": "^5.0.0-beta.2",
"datocms-listen": "^0.1.15",
"datocms-structured-text-utils": "^2.0.4",
"get-video-id": "^3.6.5",
"globby": "^13.2.2",
"hls.js": "^1.5.2",
"html-validate": "^8.7.4",
"jiti": "^1.20.0",
"nanostores": "^0.9.5",
"oembed-providers": "^1.0.20230906",
"pretty-bytes": "^6.1.1",
"promise-all-props": "^3.0.0",
"regexparam": "^3.0.0",
"rosetta": "^1.1.0",
"typescript": "^5.6.3"
},
"devDependencies": {
"@astrojs/ts-plugin": "^1.10.2",
"@datocms/cli": "^2.0.5",
"@datocms/cma-client-node": "^2.0.0",
"@graphql-codegen/cli": "^5.0.0",
"@graphql-codegen/introspection": "^4.0.0",
"@graphql-codegen/typescript": "^4.0.1",
"@graphql-codegen/typescript-document-nodes": "^4.0.11",
"@graphql-codegen/typescript-operations": "^4.0.1",
"@types/accept-language-parser": "^1.5.6",
"@types/dotenv-safe": "^8.1.4",
"@types/eventsource": "^1.1.15",
"@types/jsdom": "^21.1.7",
"@typescript-eslint/eslint-plugin": "^6.7.2",
"@typescript-eslint/parser": "^6.7.2",
"chokidar-cli": "^3.0.0",
"datocms-listen": "^0.1.15",
"dotenv-safe": "^8.2.0",
"eslint": "^8.49.0",
"eslint-plugin-astro": "^0.29.0",
"eventsource": "^2.0.2",
"husky": "^8.0.3",
"jsdom": "^25.0.0",
"msw": "^2.4.2",
"nano-staged": "^0.8.0",
"npm-run-all": "^4.1.5",
"plop": "^4.0.0",
"svg-sprite": "^2.0.2",
"vitest": "^1.6.0",
"wrangler": "^3.23.0"
},
"nano-staged": {
"*.{astro,js,ts}": "npm run lint:eslint -- --fix --max-warnings 0"
}
}