Skip to content

Commit 62c2c00

Browse files
committed
WIP
1 parent 25abccf commit 62c2c00

7 files changed

Lines changed: 238 additions & 391 deletions

File tree

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,5 @@ package-lock.json
66
# Build artifacts
77
theme/hypergraph.js
88
theme/hypergraph.js.LICENSE.txt
9+
dist
10+
*.map

package-lock.json

Lines changed: 153 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,10 @@
99
"serve:mdbook": "mdbook serve",
1010
"watch:js": "webpack --watch",
1111
"build": "npm run build:js && npm run build:mdbook",
12-
"build:js": "webpack",
12+
"build:js": "npm run build:preprocessor && webpack",
13+
"build:preprocessor": "tsc -p tsconfig.preprocessor.json",
1314
"build:mdbook": "mdbook build",
14-
"clean": "rm -rf book node_modules package-lock.json theme/hypergraph.js",
15+
"clean": "rm -rf book node_modules package-lock.json theme/hypergraph.js preprocessors/*.js",
1516
"test": "npm run build"
1617
},
1718
"dependencies": {
@@ -21,7 +22,12 @@
2122
"js-yaml": "^4.1.0"
2223
},
2324
"devDependencies": {
25+
"@types/cytoscape": "^3.21.9",
26+
"@types/js-yaml": "^4.0.9",
27+
"@types/node": "^24.7.0",
2428
"concurrently": "^8.2.2",
29+
"ts-loader": "^9.5.4",
30+
"typescript": "^5.9.3",
2531
"webpack": "^5.89.0",
2632
"webpack-cli": "^5.1.4"
2733
},

0 commit comments

Comments
 (0)