forked from Willow-Systems/v5.johnnydecimal.com
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
47 lines (47 loc) · 1.94 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
{
"name": "v5.johnnydecimal.com",
"type": "module",
"version": "5",
"private": true,
"//": "The prebuild script copies 11.01 over src/pages/index.mdx so it also becomes the home page at the site root. We use `sed` to fix the path to the layout component, and it needs `shx` so that it works on Node over on Netlify.",
"scripts": {
"previous-predev-unused": "cp ./src/content/10-19-concepts/11-core/11.01-introduction.mdx ./src/content/index.mdx && shx sed -i 's/\\.\\.\\/\\.\\.\\/\\.\\.\\//\\.\\.\\//' src/pages/index.mdx > /dev/null",
"predev": "cp ./src/content/site/10-19-concepts/11-core/11.01-introduction.mdx ./src/content/site/index.mdx",
"dev": "astro dev --host",
"start": "astro dev",
"prebuild": "npm run prebuild-1101-copy-to-index && npm run prebuild-generate-redirects",
"prebuild-1101-copy-to-index": "cp ./src/content/site/10-19-concepts/11-core/11.01-introduction.mdx ./src/content/site/index.mdx",
"prebuild-generate-redirects": "node ./src/js/generateRedirects.js",
"build": "astro build",
"preview": "astro preview",
"bp": "astro build && astro preview",
"astro": "astro",
"links": "clear && muffet -b 10000 -e sitemap -e script.js http://localhost:8888",
"cyo": "npx cypress open --e2e",
"cyr": "npx cypress run",
"prodlike": "DEV=false npm run dev"
},
"dependencies": {
"@astrojs/mdx": "^1.1.2",
"@astrojs/rss": "^3.0.0",
"@astrojs/sitemap": "^3.0.1",
"@johnnydecimal/jdgetacidtypefromstring": "^0.0.4",
"astro": "^3.3.0"
},
"devDependencies": {
"@simonsmith/cypress-image-snapshot": "^8.1.2",
"cypress": "^13.3.1",
"markdown-it": "^13.0.2",
"prettier": "^3.0.3",
"prettier-plugin-astro": "^0.12.0",
"rehype-autolink-headings": "^7.0.0",
"rehype-slug": "^6.0.0",
"sanitize-html": "^2.11.0",
"sass": "^1.69.3",
"scss": "^0.2.4",
"shx": "^0.3.4"
},
"optionalDependencies": {
"@esbuild/linux-x64": "^0.19.4"
}
}