Hugo generates stats about the HTML elements, IDs and classes that can be found in the website, and we post-process the rendered CSS with postcss-purgecss that uses those stats to remove unused selectors. Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
28 lines
787 B
JSON
28 lines
787 B
JSON
{
|
|
"name": "matrix-spec",
|
|
"version": "0.0.1",
|
|
"description": "Hugo theme for the Matrix specification.",
|
|
"main": "none.js",
|
|
"scripts": {
|
|
"get-proposals": "node ./scripts/proposals.js",
|
|
"test": "echo \"Error: no test specified\" && exit 1"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/matrix-org/matrix-spec.git"
|
|
},
|
|
"author": "The Matrix.org Foundation C.I.C.",
|
|
"private": true,
|
|
"license": "Apache-2.0",
|
|
"bugs": {
|
|
"url": "https://github.com/matrix-org/matrix-spec"
|
|
},
|
|
"homepage": "https://github.com/matrix-org/matrix-spec#readme",
|
|
"devDependencies": {
|
|
"@fullhuman/postcss-purgecss": "^6.0.0",
|
|
"autoprefixer": "^10.4.20",
|
|
"node-fetch": "^2.6.7",
|
|
"postcss": "^8.4.49",
|
|
"postcss-cli": "^11.0.0"
|
|
}
|
|
}
|