Sort styles

This commit is contained in:
Bart Louwers
2024-06-22 14:34:50 +02:00
parent 3aa3f4de88
commit 353a22aa59
2 changed files with 46 additions and 45 deletions

View File

@@ -10,7 +10,8 @@
"lint": "eslint ./src ./cypress --ext ts,tsx,js,jsx --report-unused-disable-directives --max-warnings 0",
"test": "cypress run",
"cy:open": "cypress open",
"lint-css": "stylelint \"src/styles/*.scss\""
"lint-css": "stylelint \"src/styles/*.scss\"",
"sort-styles": "jq 'sort_by(.id)' src/config/styles.json > tmp.json && mv tmp.json src/config/styles.json"
},
"repository": {
"type": "git",