Add more static files (vis-network and normalize) to build.
This commit is contained in:
parent
50fdf4b452
commit
f9a415063b
|
@ -18,8 +18,10 @@ in
|
||||||
buildInputs = [ yarnModules bergamot-elm ];
|
buildInputs = [ yarnModules bergamot-elm ];
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $out $out/katex $out/katex-expression $out/bergamot
|
mkdir -p $out $out/katex $out/vis-network $out/normalize $out/katex-expression $out/bergamot
|
||||||
cp ${yarnModules}/node_modules/katex/dist/katex.min.css $out/katex
|
cp ${yarnModules}/node_modules/katex/dist/katex.min.css $out/katex
|
||||||
|
cp ${yarnModules}/node_modules/vis-network/dist/vis-network.min.js $out/vis-network
|
||||||
|
cp ${yarnModules}/node_modules/normalize.css/normalize.css $out/normalize/normalize.css
|
||||||
cp -r ${yarnModules}/node_modules/katex/dist/fonts $out/katex
|
cp -r ${yarnModules}/node_modules/katex/dist/fonts $out/katex
|
||||||
cp ${yarnModules}/node_modules/@navsnpm/katex-expression/dist/katex-expression/* $out/katex-expression
|
cp ${yarnModules}/node_modules/@navsnpm/katex-expression/dist/katex-expression/* $out/katex-expression
|
||||||
cp ${bergamot-elm}/Main.min.js $out/bergamot/bergamot.js
|
cp ${bergamot-elm}/Main.min.js $out/bergamot/bergamot.js
|
||||||
|
|
|
@ -6,6 +6,8 @@
|
||||||
"private": true,
|
"private": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@navsnpm/katex-expression": "^1.1.0",
|
"@navsnpm/katex-expression": "^1.1.0",
|
||||||
"katex": "^0.16.9"
|
"katex": "^0.16.9",
|
||||||
|
"normalize.css": "^8.0.1",
|
||||||
|
"vis-network": "^9.1.9"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
10
yarn.lock
10
yarn.lock
|
@ -20,3 +20,13 @@ katex@^0.16.7, katex@^0.16.9:
|
||||||
integrity sha512-fsSYjWS0EEOwvy81j3vRA8TEAhQhKiqO+FQaKWp0m39qwOzHVBgAUBIXWj1pB+O2W3fIpNa6Y9KSKCVbfPhyAQ==
|
integrity sha512-fsSYjWS0EEOwvy81j3vRA8TEAhQhKiqO+FQaKWp0m39qwOzHVBgAUBIXWj1pB+O2W3fIpNa6Y9KSKCVbfPhyAQ==
|
||||||
dependencies:
|
dependencies:
|
||||||
commander "^8.3.0"
|
commander "^8.3.0"
|
||||||
|
|
||||||
|
normalize.css@^8.0.1:
|
||||||
|
version "8.0.1"
|
||||||
|
resolved "https://registry.yarnpkg.com/normalize.css/-/normalize.css-8.0.1.tgz#9b98a208738b9cc2634caacbc42d131c97487bf3"
|
||||||
|
integrity sha512-qizSNPO93t1YUuUhP22btGOo3chcvDFqFaj2TRybP0DMxkHOCTYwp3n34fel4a31ORXy4m1Xq0Gyqpb5m33qIg==
|
||||||
|
|
||||||
|
vis-network@^9.1.9:
|
||||||
|
version "9.1.9"
|
||||||
|
resolved "https://registry.yarnpkg.com/vis-network/-/vis-network-9.1.9.tgz#8159b34e7c1570150fcc9296213d2b88ed169394"
|
||||||
|
integrity sha512-Ft+hLBVyiLstVYSb69Q1OIQeh3FeUxHJn0WdFcq+BFPqs+Vq1ibMi2sb//cxgq1CP7PH4yOXnHxEH/B2VzpZYA==
|
||||||
|
|
Loading…
Reference in New Issue
Block a user