Skip to content

Commit

Permalink
feat(all): add compile script
Browse files Browse the repository at this point in the history
  • Loading branch information
adam-sokolowski committed Apr 10, 2020
1 parent 40d9baa commit d0c25da
Show file tree
Hide file tree
Showing 4 changed files with 724 additions and 26 deletions.
4 changes: 4 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
],
"scripts": {
"sass:lint": "stylelint './**/*.scss' --syntax scss",
"sass:compile": "sass src/flags/_index.scss dist/index.css",
"release:patch": "standard-version --release-as patch",
"release:minor": "standard-version --release-as minor",
"reset:githooks": "rm -rf ./.git/hooks/* && rm -rf node_modules/husky && yarn install --check-files"
Expand All @@ -24,6 +25,9 @@
"hooks": {
"pre-commit": [
"yarn sass:lint"
],
"pre-push": [
"yarn sass:compile"
]
}
},
Expand Down
2 changes: 0 additions & 2 deletions src/flags/l.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
@import "_mixins";

// Laos
&-la {
background:
Expand Down
2 changes: 0 additions & 2 deletions src/flags/n.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
@import "_mixins";

// Namibia
&-na {
background:
Expand Down
Loading

0 comments on commit d0c25da

Please sign in to comment.