-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
56 lines (56 loc) · 2 KB
/
Copy pathpackage.json
File metadata and controls
56 lines (56 loc) · 2 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
{
"name": "course-builder",
"private": true,
"version": "0.1.0",
"description": "Whitelabel VitePress course builder with multi-course manifest support.",
"scripts": {
"dev": "npm run courses:sync && vitepress dev docs",
"build": "npm run courses:sync && vitepress build docs",
"preview": "vitepress preview docs",
"lint": "eslint . --max-warnings=0",
"format": "prettier --write README.md WHITELABEL.md package.json .github/workflows docs/.vitepress scripts tests",
"format:check": "prettier --check README.md WHITELABEL.md package.json .github/workflows docs/.vitepress scripts tests",
"prepare": "husky",
"test": "npm run courses:sync && node --test tests/*.test.mjs",
"docs:dev": "npm run courses:sync && vitepress dev docs",
"docs:build": "npm run courses:sync && vitepress build docs",
"docs:preview": "vitepress preview docs",
"lecture:run": "tsx",
"courses:sync": "node scripts/sync-course-docs.mjs",
"course:list": "node scripts/set-active-course.mjs --list",
"course:new": "node scripts/new-course.mjs",
"course:activate": "node scripts/set-active-course.mjs",
"screenshots:readme": "node --import tsx scripts/capture-readme-screenshots.ts",
"pdf:export": "node --import tsx scripts/build-course-pdfs.ts",
"pdf:build": "npm run docs:build && npm run pdf:export"
},
"devDependencies": {
"@faker-js/faker": "^9.9.0",
"@eslint/js": "^9.27.0",
"eslint": "^9.27.0",
"globals": "^16.0.0",
"husky": "^9.1.7",
"lint-staged": "^15.2.5",
"mermaid": "^11.14.0",
"pdf-lib": "^1.17.1",
"playwright": "^1.59.1",
"prettier": "^3.5.3",
"tsx": "^4.19.0",
"typescript-eslint": "^8.32.0",
"typescript": "^5.7.0",
"vitepress": "^1.6.4",
"vitepress-plugin-mermaid": "^2.0.17"
},
"dependencies": {
"github-slugger": "^2.0.0"
},
"lint-staged": {
"*.{js,mjs,ts}": [
"eslint --fix",
"prettier --write"
],
"*.{md,json,yml,yaml,css,vue}": [
"prettier --write"
]
}
}