updating magicbook

This commit is contained in:
Daniel Shiffman 2024-02-26 12:25:34 -05:00
parent c96250968a
commit f7635fecd7
3 changed files with 11 additions and 20 deletions

View file

@ -2,6 +2,7 @@
"title": "Nature of Code",
"prince": {
"license": "license.dat",
"javascript": true,
"timeout": 60000
},
"addPlugins": [
@ -15,27 +16,17 @@
"magicbook/plugins/footer.js",
"magicbook/plugins/callout.js"
],
"files": [
"content/*.html"
],
"files": ["content/*.html"],
"layout": "magicbook/layouts/pdf.html",
"images": {
"colorspace": "grey16",
"files": [
"content/**/*.jpg",
"content/**/*.png",
"magicbook/images/**/*.*"
]
"files": ["content/**/*.jpg", "content/**/*.png", "magicbook/images/**/*.*"]
},
"stylesheets": {
"files": [
"magicbook/stylesheets/index.scss"
]
"files": ["magicbook/stylesheets/index.scss"]
},
"javascripts": {
"files": [
"magicbook/scripts/*.js"
]
"files": ["magicbook/scripts/*.js"]
},
"fonts": {
"files": "magicbook/fonts/**/*.*",
@ -47,4 +38,4 @@
"destination": "build/full"
}
]
}
}

8
package-lock.json generated
View file

@ -29,7 +29,7 @@
"jest": "^29.7.0",
"katex": "^0.16.9",
"lodash-es": "^4.17.21",
"magicbook": "^0.1.32",
"magicbook": "^0.1.33",
"postcss": "^8.4.14",
"postcss-import": "^14.1.0",
"react": "^18.2.0",
@ -17456,9 +17456,9 @@
}
},
"node_modules/magicbook": {
"version": "0.1.32",
"resolved": "https://registry.npmjs.org/magicbook/-/magicbook-0.1.32.tgz",
"integrity": "sha512-yfC+TOVt4zAcR1vsI7XzBiw1xAVeW031hHhHOZCw0w8nHxDtQ0VajdcJ1WBbHKvlxBYjHrasa5SyTF/O+H7HJA==",
"version": "0.1.33",
"resolved": "https://registry.npmjs.org/magicbook/-/magicbook-0.1.33.tgz",
"integrity": "sha512-k+U9YP99V8RWuV0RmVedK0Tsxq8wmXgXup6q++9kwGmyaBthyIUdwTDDVx2sEIgpWETAFNbF2zyLhCWK8H1pnA==",
"dependencies": {
"async": "^3.0.1",
"cheerio": "^1.0.0-rc.3",

View file

@ -45,7 +45,7 @@
"jest": "^29.7.0",
"katex": "^0.16.9",
"lodash-es": "^4.17.21",
"magicbook": "^0.1.32",
"magicbook": "^0.1.33",
"postcss": "^8.4.14",
"postcss-import": "^14.1.0",
"react": "^18.2.0",