-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
63 lines (63 loc) · 1.61 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
{
"name": "",
"version": "1.0.0",
"description": "",
"main": "index.js",
"watch": {
"webpack": "src/js/**",
"html": {
"patterns": [
"src/index.html",
"script/makehtml.js"
],
"extensions": "html,js"
},
"css": {
"patterns": [
"src/css/**"
],
"extensions": "css"
}
},
"scripts": {
"start": "http-server",
"reload": "reload -b -d build/web",
"build": "npm-run-all --parallel webpack html css",
"webpack": "webpack || exit 1",
"html": "node script/makehtml.js --title='{{title}}' --path={{path}}",
"css": "mkdir -p build/web/css/ && rsync -a --delete src/css/ build/web/css/",
"clean": "rm -rf build/*",
"watch": "npm-watch",
"gif": "script/gif-gen.sh",
"video": "script/video-gen.sh",
"preview": "node build/save-frames.bundle.js --width=1200 --height=630 --single_frame --out=preview.png"
},
"husky": {
"hooks": {
"post-commit": "script/video-preview.sh >/dev/null & "
}
},
"author": "Jezzamon",
"license": "ISC",
"devDependencies": {
"@babel/cli": "^7.24.1",
"@babel/core": "^7.24.3",
"@babel/preset-env": "^7.24.3",
"babel-loader": "^9.1.3",
"canvas": "^2.11.2",
"command-line-args": "^5.2.1",
"http-server": "^14.1.1",
"husky": "^9.0.11",
"mkdirp": "^3.0.1",
"mustache": "^4.2.0",
"npm-run-all": "^4.1.5",
"npm-watch": "^0.11.0",
"pretty-ms": "^9.0.0",
"reload": "^3.2.1",
"single-line-log": "^1.1.2",
"webpack": "^5.91.0",
"webpack-cli": "^5.1.4",
"webpack-node-externals": "^3.0.0"
},
"dependencies": {}
}