Skip to content

Commit c498e2f

Browse files
committed
Port scripts to js.
1 parent 1b6e6d7 commit c498e2f

File tree

5 files changed

+1845
-3656
lines changed

5 files changed

+1845
-3656
lines changed

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,11 @@
33
"type": "module",
44
"version": "0.0.1",
55
"scripts": {
6-
"prebuild": "node scripts/fetchData.js",
76
"dev": "astro dev",
87
"start": "astro dev",
98
"build": "pnpm generate_content && astro check && astro build && pnpm pagefind --site dist",
10-
"update_data": "NODE_TLS_REJECT_UNAUTHORIZED=0 node scripts/fetchData.js",
11-
"generate_content": "pipx run scripts/generate_content.py",
9+
"update_data": "NODE_TLS_REJECT_UNAUTHORIZED=0 node src/scripts/fetchData.js",
10+
"generate_content": "node src/scripts/generateContent.js",
1211
"preview": "astro preview",
1312
"astro": "astro",
1413
"format": "prettier --write --plugin=prettier-plugin-astro ."
@@ -43,6 +42,7 @@
4342
"typescript": "^5.7.3"
4443
},
4544
"devDependencies": {
45+
"js-yaml": "^4.1.0",
4646
"prettier": "^3.4.2",
4747
"prettier-plugin-astro": "^0.14.1"
4848
},

0 commit comments

Comments
 (0)