Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
145 lines (145 loc) · 5.39 KB
/
Copy pathpackage.json
File metadata and controls
145 lines (145 loc) · 5.39 KB
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
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
{
"name": "head-start",
"type": "module",
"version": "0.0.1",
"workspaces": [
"config/datocms"
],
"license": "ISC",
"scripts": {
"analyze": "ANALYZE=true npm run build",
"astro": "astro",
"prebuild": "run-s prep",
"build": "astro build",
"postbuild": "npm run post",
"cloudflare:build": "jiti scripts/build.ts",
"cloudflare:deploy": "jiti scripts/deploy.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": "node 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-file-proxy-map": "node scripts/download-file-proxy-map.ts",
"prep:download-redirects": "node scripts/download-redirects.ts",
"prep:download-site-data": "node scripts/download-site-data.ts",
"prep:download-translations": "node scripts/download-translations.ts",
"prep:download-item-types": "node scripts/download-item-types.ts",
"prep:icons": "svg-sprite --svg-doctype=false --symbol --symbol-dest='src/assets' --symbol-sprite=icon-sprite.svg src/assets/icons/*.svg && jiti scripts/icon-types.ts",
"deploy": "wrangler deploy",
"preview": "wrangler dev",
"lint": "run-s lint:* --print-label",
"lint:astro": "astro check",
"lint:eslint": "eslint .",
"lint:html": "html-validate --config config/htmlvalidate/config.json dist/",
"pretest": "npm run prep",
"test": "run-s test:*",
"test:unit": "vitest run",
"post": "run-s post:* --print-label",
"post:remove-public-dir-readme": "rm dist/client/README.md",
"postinstall": "husky",
"seed:docs": "npm run seed:docs --workspace=config/datocms",
"cms:manage": "jiti scripts/cms-manage.ts",
"cms:environments:create": "jiti scripts/cms-create-environment.ts",
"cms:environments:destroy": "jiti scripts/cms-destroy-environment.ts",
"cms:environments:sync": "jiti scripts/cms-sync-environment.ts",
"cms:environments:promote": "jiti scripts/cms-promote-environment.ts",
"cms:migrations:generate": "jiti scripts/cms-generate-migration.ts",
"cms:upload-block-previews": "jiti scripts/upload-block-previews.ts"
},
"dependencies": {
"@astrojs/check": "^0.9.10",
"@astrojs/cloudflare": "^14.3.3",
"@astrojs/sitemap": "^3.7.4",
"@datocms/astro": "^0.6.16",
"@datocms/content-link": "^0.3.23",
"@fontsource/archivo": "^5.3.0",
"@inquirer/prompts": "^8.7.4",
"@nanostores/persistent": "^1.3.5",
"@rollup/plugin-graphql": "^3.0.0",
"accept-language-parser": "^1.5.0",
"astro": "^7.3.5",
"datocms-listen": "^0.1.15",
"datocms-structured-text-utils": "^6.0.0",
"get-video-id": "^4.2.0",
"github-slugger": "^2.0.0",
"hast-util-from-html": "^2.0.3",
"hast-util-select": "^6.0.4",
"hast-util-to-html": "^9.0.5",
"hast-util-to-string": "^3.0.1",
"hls.js": "^1.7.3",
"html-validate": "^11.17.0",
"jiti": "^2.7.0",
"nanostores": "^1.5.5",
"oembed-providers": "^1.0.20260604",
"pretty-bytes": "^7.2.0",
"promise-all-props": "^3.0.0",
"regexparam": "^3.0.0",
"rehype-parse": "^9.0.1",
"rehype-remark": "^10.0.1",
"remark-gfm": "^4.0.1",
"remark-stringify": "^11.0.0",
"rosetta": "^1.1.0",
"scule": "^1.3.0",
"unified": "^11.0.5",
"unist-util-visit": "^5.1.0",
"workbox-cacheable-response": "^7.4.1",
"workbox-expiration": "^7.4.1",
"workbox-routing": "^7.4.1",
"workbox-strategies": "^7.4.1"
},
"devDependencies": {
"@astrojs/ts-plugin": "^1.10.12",
"@datocms/cli": "^4.0.28",
"@datocms/cma-client-node": "^6.1.3",
"@eslint/js": "^10.0.1",
"@graphql-codegen/cli": "^7.4.6",
"@graphql-codegen/typescript": "^6.1.2",
"@graphql-codegen/typescript-document-nodes": "^6.1.1",
"@graphql-codegen/typescript-operations": "^6.1.10",
"@stylistic/eslint-plugin": "^5.10.0",
"@types/accept-language-parser": "^1.5.6",
"@types/dotenv-safe": "^9.1.0",
"@types/jsdom": "^28.0.3",
"chokidar-cli": "^3.0.0",
"datocms-listen": "^0.1.15",
"dotenv-safe": "^9.1.0",
"eslint": "^10.13.0",
"eslint-plugin-astro": "^3.2.1",
"eslint-plugin-depend": "^1.5.0",
"eventsource": "^4.1.0",
"globals": "^17.13.0",
"husky": "^9.1.7",
"jsdom": "^29.1.1",
"msw": "^2.15.0",
"nano-staged": "^1.0.2",
"npm-run-all": "^4.1.5",
"plop": "^4.0.5",
"proper-tags": "^2.0.2",
"rehype-stringify": "^10.0.1",
"robots-parser": "^3.0.1",
"sonda": "^0.14.0",
"svg-sprite": "^2.0.2",
"typescript": "^6.0.3",
"typescript-eslint": "^8.72.0",
"vitest": "^4.1.10",
"wrangler": "^4.99.0"
},
"nano-staged": {
"*.{astro,js,ts}": "npm run lint:eslint -- --fix --max-warnings 0"
},
"overrides": {
"tty-table": {
"csv": "^6.6.4"
}
}
}