forked from richardanaya/tour_of_rust
-
Notifications
You must be signed in to change notification settings - Fork 18
/
package.json
24 lines (24 loc) · 883 Bytes
/
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
{
"scripts": {
"lint:lessons": "prettier --write ./lessons/*/*.yaml",
"lint:webassembly": "prettier --write ./wasm/*/*.yaml",
"lint": "npm run lint:lessons && npm run lint:webassembly && eslint --fix generate.js docs/",
"prebuild": "npm run clean",
"build": "node generate.js lessons docs beta && node generate.js wasm docs/webassembly beta",
"serve": "npm run build && cd docs && python -m http.server 8080",
"clean": "rimraf ./docs/*.html && rimraf ./docs/webassembly/*.html",
"watch": "nodemon -w lessons/**/* -w wasm/**/* -e yaml --exec npm run serve"
},
"dependencies": {
"js-yaml": "^3.14.0",
"showdown": "^1.9.1"
},
"devDependencies": {
"eslint": "^7.26.0",
"eslint-config-airbnb-base": "^14.2.1",
"eslint-plugin-import": "^2.22.1",
"nodemon": "^2.0.20",
"prettier": "^2.2.1",
"rimraf": "^3.0.2"
}
}