{"_id":"@dogatana/honkit-plugin-styles-sass","_rev":"1-eb32b6e34bfba89f0522488a70721f90","name":"@dogatana/honkit-plugin-styles-sass","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@dogatana/honkit-plugin-styles-sass","authors":["<GitBook> contact@gitbook.com","dogatana@gmail.com"],"description":"Use SASS stylesheets instead of CSS","main":"index.js","version":"1.0.0","engines":{"gitbook":">=2.5.0"},"dependencies":{"q":"^1.5.1","node-sass":"^4.14.1","lodash":"^4.17.5"},"homepage":"https://github.com/dogatana/honkit-plugin-styles-sass","repository":{"type":"git","url":"git+https://github.com/dogatana/honkit-plugin-styles-sass.git"},"license":"Apache-2.0","bugs":{"url":"https://github.com/dogatana/honkit-plugin-styles-sass.git/issues"},"publishConfig":{"access":"public"},"gitHead":"d30493c3e1fef3a038281928a1fc106397e4eed8","_id":"@dogatana/honkit-plugin-styles-sass@1.0.0","_nodeVersion":"12.18.1","_npmVersion":"6.14.5","dist":{"integrity":"sha512-ivjutIetVDVbd9vJuQ0AV8UCr4A4GJNzYF+Mmi6Ar+d9iwZ0oiCUKZni9wTf9jOgW2mBmY71Ckp7guu0YcrrPw==","shasum":"6889a6c1eee62db98d59c50fc51d2f361e522a90","tarball":"https://registry.npmjs.org/@dogatana/honkit-plugin-styles-sass/-/honkit-plugin-styles-sass-1.0.0.tgz","fileCount":4,"unpackedSize":16101,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfv12BCRA9TVsSAnZWagAAYUMP/2nJ+rBKsElbJUqJMxs/\nq2XUEOUuJDWJshPCFhm3n/dJAEajDp/RzM8/I3fIOjTgoGSRH7FQA2QaY7/Y\nUsZ8PhhXUTNfJEFqzQyiXP9NqINNyyy0hvnrJYTdtU2iOow0dmEUOKbjbjRE\nbMp0YdJVtmk3n9uxG+fKAs8oAa6xnnhvRHQ0dfWsGDaRyPfZXQ7/VNRxjRIF\nPsIL9otrNbPNNuFk9+zmNDOgjEw1Cl9Hu0oOAPhAm4hbxalI262hI+k7MywX\numDQFTmAUeJqQZGX9KhUM/AHbYc8J7c07NBE2zAhfLvSFfPxqYMLosQFzISX\nocsQqeJXjVa6zuT9PONFy8aoOZ0u5JnO1kJN0jM1XiPgW+o8KL+T35XKQdpo\ncadkrVy+JPQsruIorRCYv/1rtUOF+Yp9awBn6uhasx2yGNBRrg59SaG4NIOR\nBDSPkS9wC+miLhZG2bQklsIitjGbRVy+OUpieRL7g1HpoF/Ilzf1eRe/Ybns\nzTKQjxp10UYutNupZKtg/+m+4KXcrYzdCD1peFdJq+EyaTu1JogfUUY1sfBu\nXcVFmbvxpJKJFSUPtWYa5MlDFUTCDUAY3QT21g/LZXWaWx7b/ONAEti3ftjo\nf93qXN1DBWFUHQpF9Bz06BYK/rMEbwBTRWlYgk9yMxjEpJxUxGR5OiU9PwUK\nOhQk\r\n=vk9i\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIG11kT3SQqstIZ/DGgW7v9rW+fms/1kc8OGr2Swg49KiAiBkUytNdzDHJT5q65bhawJDuMFSp1fF9sqjrjmHSEONxg=="}]},"_npmUser":{"name":"dogatana","email":"dogatana@gmail.com"},"directories":{},"maintainers":[{"name":"dogatana","email":"dogatana@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/honkit-plugin-styles-sass_1.0.0_1606376832946_0.0699721533560802"},"_hasShrinkwrap":false}},"time":{"created":"2020-11-26T07:47:12.894Z","1.0.0":"2020-11-26T07:47:13.079Z","modified":"2022-04-05T05:06:18.598Z"},"maintainers":[{"name":"dogatana","email":"dogatana@gmail.com"}],"description":"Use SASS stylesheets instead of CSS","homepage":"https://github.com/dogatana/honkit-plugin-styles-sass","repository":{"type":"git","url":"git+https://github.com/dogatana/honkit-plugin-styles-sass.git"},"bugs":{"url":"https://github.com/dogatana/honkit-plugin-styles-sass.git/issues"},"license":"Apache-2.0","readme":"# SASS Stylesheets for Honkit\r\n\r\nThis plugin makes it easy to use SASS custom stylesheets instead of CSS for your book.\r\n\r\nAdd it to your `book.json`, with some custom stylesheets:\r\n\r\n```js\r\n{\r\n    \"plugins\": [\"@dogatana/styles-sass\"],\r\n    \"styles\": {\r\n        \"pdf\": \"./styles/pdf.sass\"\r\n    }\r\n}\r\n```\r\n\r\n## Fork of gitbook-plugin-styles-sass\r\n\r\nhonkit-plugin-styles-sass is a fork of https://github.com/GitbookIO/plugin-styles-sass\r\n\r\nGitbook is now deprecated and node-sass 3.4.1 seems too old to use now.\r\n\r\nThis plugin aims to be used with Honkit.\r\n\r\n\r\n## Changes from gitbook-plugin-styles-sass\r\n\r\n- update version of dependencies\r\n- outputStyle of node-sass is `expaned` by default\r\n- outputStyle can be specified in book.json\r\n\r\n```js\r\n{\r\n    \"pluginsConfig\": {\r\n        \"styles-sass\": {\r\n            \"outputStyle\": \"compressed\"\r\n        }\r\n    }\r\n}\r\n```\r\n- outputStyle must be one of `nested`, `expanded`, `compact` and `compressed`\r\n- remove DateTime string from the name of output\r\n- directory path is preserved as specified in book.json\r\n\r\nex) In the following case, _book/styles/website/sample.css will be stored.\r\n```js\r\n{\r\n    \"styles\": {\r\n        \"website\": \"styles/website/sample.scss\"\r\n    }\r\n}\r\n```\r\n- input .scss and .sass files are not copied to _book\r\n","readmeFilename":"README.md"}