forked from Hi-Rust/hi-rust.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
29 lines (29 loc) · 1.1 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
{
"name": "rust",
"private": true,
"version": "1.0.5",
"scripts": {
"lint:lessons": "prettier --write ./frontend/lessons/*/*.yaml",
"lint": "npm run lint:lessons && npm run lint:webassembly && eslint --fix generate.js docs/",
"prebuild": "npm run clean",
"build": "node ./frontend/generate.js ./frontend/lessons docs",
"serve": "npm run build && python fast.py",
"clean": "rimraf --glob ./docs/*.html",
"watch": "nodemon -w ./frontend/lessons/**/* -w ./frontend/generate.js -w ./docs/tour.css -w ./docs/tour.js -e yaml --exec npm run serve",
"tauri": "tauri",
"ajou": "xcopy .\\docs\\* ..\\rust-study.ajousw.kr\\docs\\ /EXCLUDE:exclude.txt /E /Y >nul 2>&1 && xcopy .\\frontend\\* ..\\rust-study.ajousw.kr\\frontend\\ /EXCLUDE:exclude.txt /E /Y >nul 2>&1"
},
"dependencies": {
"js-yaml": "^4.1.0",
"showdown": "^2.1.0"
},
"devDependencies": {
"@tauri-apps/cli": "^1.2.3",
"eslint": "^8.35.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-plugin-import": "^2.27.5",
"nodemon": "^2.0.21",
"prettier": "^2.8.4",
"rimraf": "^4.4.0"
}
}