-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
48 lines (48 loc) · 1.95 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
{
"name": "polkadot-blockchain-academy",
"version": "1.0.0",
"description": "OpenRust - Content",
"license": "MIT",
"scripts": {
"dev": "reveal-md ./ --watch --absolute-url http://localhost:1948",
"help-rmd": "reveal-md --help",
"tag:current": "git checkout main && yarn && yarn run build:all && mv build current",
"move-tags": "mv current build",
"clean": "rm -rf build",
"build": "yarn run clean && reveal-md ./ --static build",
"deploy": "gh-pages -d build",
"serve": "http-server ./build -p 1949 -s & echo server started http://localhost:1949",
"lint": "prettier --config .prettierrc.cjs '**/*.md' --check",
"lint:write": "prettier --config .prettierrc.cjs --write '**/*.md'",
"mod-links": "MOD_NUMBER=$0; find syllabus/ -path syllabus/${MOD_NUMBER}\\*.md -print0 | xargs -0 -n1 markdown-link-check -c .github/workflows/mlc_config.json && echo \"\nCheck complete for mod\"",
"links": "markdown-link-check -c .github/workflows/mlc_config.json",
"extract": "ts-node extractSyllabus.ts",
"dev:agenda": "vite",
"build:agenda": "yarn run extract && vite build",
"build:all": "yarn run build && yarn run build:agenda && cp -R dist/* build/.",
"lint:agenda": "prettier --config .prettierrc.cjs '**/*.tsx' --check",
"lint-fix:agenda": "prettier --config .prettierrc.cjs --write '**/*.tsx'"
},
"dependencies": {
"glob": "^10.3.10",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"reveal-md": "^5.5.2"
},
"devDependencies": {
"@types/react": "^18.2.55",
"@types/react-dom": "^18.2.19",
"@typescript-eslint/eslint-plugin": "^6.21.0",
"@typescript-eslint/parser": "^6.21.0",
"@vitejs/plugin-react-swc": "^3.5.0",
"gh-pages": "^6.1.0",
"http-server": "^14.1.1",
"markdown-link-check": "^3.10.3",
"prettier": "^2.6.2",
"ts-node": "^10.9.2",
"typescript": "^5.3.3",
"vite": "^5.1.0",
"vite-plugin-svgr": "^4.2.0"
},
"packageManager": "yarn@3.2.1"
}