diff --git a/magicbook.json b/magicbook.json index 9e5b0fb..749aa71 100644 --- a/magicbook.json +++ b/magicbook.json @@ -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" } ] -} \ No newline at end of file +} diff --git a/package-lock.json b/package-lock.json index 2ea5ba2..cf96933 100644 --- a/package-lock.json +++ b/package-lock.json @@ -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", diff --git a/package.json b/package.json index b14dd1f..2f9d342 100644 --- a/package.json +++ b/package.json @@ -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",