chore: passage sous npm, changement de version

This commit is contained in:
Kazhnuz 2024-09-22 17:52:56 +02:00
parent 59d1f36e75
commit a95fe8b83c
3 changed files with 32 additions and 1 deletions

3
.gitignore vendored Normal file
View file

@ -0,0 +1,3 @@
dist/
package-lock.json
node_modules/

View file

@ -13,7 +13,7 @@
<link rel="shortcut icon" href="favicon.ico">
<!-- framework utilisés -->
<link href="css/clear-typography.css" rel="stylesheet">
<link href="dist/clear-typography.min.css" rel="stylesheet">
</head>

28
package.json Normal file
View file

@ -0,0 +1,28 @@
{
"name": "clear-typography.css",
"version": "2.99.0",
"description": "A minimal and simple css stylesheet, inspired by motherfuckingwebsite",
"main": "scss/clear-typography.scss",
"scripts": {
"scss": "sass --watch scss/clear-typography.scss dist/clear-typography.css",
"scss-no-source-map": "sass --watch --no-source-map scss/clear-typography.scss dist/clear-typography.css",
"minify": "sass --watch scss/clear-typography.scss --style compressed dist/clear-typography.min.css",
"minify-no-source-map": "sass --watch --no-source-map scss/clear-typography.scss --style compressed dist/clear-typography.min.css",
"build": "sass scss/clear-typography.scss dist/clear-typography.css && sass scss/clear-typography.scss --style compressed dist/clear-typography.min.css",
"serve": "http-server ./ & npm run minify"
},
"repository": {
"type": "git",
"url": "https://git.kobold.cafe/kazhnuz/clear-typograhy.css"
},
"keywords": [
"css",
"scss"
],
"author": "Kazhnuz",
"license": "GPL-3.0-or-later",
"dependencies": {
"http-server": "^14.1.1",
"sass": "^1.78.0"
}
}