213 shaares
3 résultats
taggé
Scss
A tester ! Ça peut m’être très utile :3
Et comment les éviter
{
"name": "toto",
"version": "1.0.0",
"description": "fdsvfkdgbvfi",
"author": "MOA",
"license": "MIT",
"scripts": {
"build": "npm run build-clean-dist && npm run build-sass && npm run build-autoprefix && npm run optimize-css",
"build-clean-dist": "rimraf dist",
"build-sass": "node-sass --output-style expanded --source-map true scss/target.scss dist/target.css",
"build-autoprefix": "postcss --use autoprefixer --map false --output dist/target.css dist/target.css",
"optimize-css": "cleancss -o dist/target.min.css dist/target.css"
},
"devDependencies": {
"rimraf": "2.6.2",
"clean-css-cli": "4.1.11",
"node-sass": "4.8.3",
"autoprefixer": "8.2.0",
"postcss-cli": "5.0.0"
}
}