Replace node-sass (depreciated) with sass (dart)

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2021-05-21 17:45:37 +02:00
parent 49b0100e1b
commit 003b291bfe
No known key found for this signature in database
GPG Key ID: A061B9DDE0CA0773
3 changed files with 194 additions and 2721 deletions

1409
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -29,18 +29,18 @@
"devDependencies": { "devDependencies": {
"autoprefixer": "^9.8.0", "autoprefixer": "^9.8.0",
"clean-css-cli": "^4.3.0", "clean-css-cli": "^4.3.0",
"node-sass": "^4.14.1",
"postcss-cli": "^7.1.1", "postcss-cli": "^7.1.1",
"rimraf": "^3.0.2" "rimraf": "^3.0.2",
"sass": "^1.33.0"
}, },
"scripts": { "scripts": {
"build": "npm run build-sass && npm run build-autoprefix && npm run build-cleancss", "build": "npm run build-sass && npm run build-autoprefix && npm run build-cleancss",
"build-autoprefix": "postcss --use autoprefixer --map false --output css/bulma.css css/bulma.css", "build-autoprefix": "postcss --use autoprefixer --map false --output css/bulma.css css/bulma.css",
"build-cleancss": "cleancss -o css/bulma.min.css css/bulma.css", "build-cleancss": "cleancss -o css/bulma.min.css css/bulma.css",
"build-sass": "node-sass --output-style expanded --source-map true bulma.sass css/bulma.css", "build-sass": "sass bulma.sass css/bulma.css",
"clean": "rimraf css", "clean": "rimraf css",
"rtl": "npm run rtl-sass && npm run rtl-autoprefix && npm run rtl-cleancss", "rtl": "npm run rtl-sass && npm run rtl-autoprefix && npm run rtl-cleancss",
"rtl-sass": "node-sass --output-style expanded --source-map true bulma-rtl.sass css/bulma-rtl.css", "rtl-sass": "sass bulma-rtl.sass css/bulma-rtl.css",
"rtl-autoprefix": "postcss --use autoprefixer --map false --output css/bulma-rtl.css css/bulma-rtl.css", "rtl-autoprefix": "postcss --use autoprefixer --map false --output css/bulma-rtl.css css/bulma-rtl.css",
"rtl-cleancss": "cleancss -o css/bulma-rtl.min.css css/bulma-rtl.css", "rtl-cleancss": "cleancss -o css/bulma-rtl.min.css css/bulma-rtl.css",
"deploy": "npm run clean && npm run build && npm run rtl", "deploy": "npm run clean && npm run build && npm run rtl",

1498
yarn.lock

File diff suppressed because it is too large Load Diff