Skip to content

Commit

Permalink
Changed folder structure
Browse files Browse the repository at this point in the history
  • Loading branch information
BelleNottelling committed Jan 30, 2024
1 parent 479cf06 commit f2475db
Show file tree
Hide file tree
Showing 9 changed files with 8 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: build
path: ./dist/*.css
path: ./build/dist/*.css
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

node_modules/
tmp/
dist/
build/
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"scripts": {
"build": "npm-run-all compile-default compile-typography process process-min process-typography process-min-typography",
"compile-default": "sass ./src/default.scss ./tmp/simple-grid.css",
"compile-typography": "sass ./src/typography.scss ./tmp/typography.css",
"process": "lightningcss --browserslist ./tmp/simple-grid.css -o dist/simple-grid.css",
"process-min": "lightningcss --minify --browserslist ./tmp/simple-grid.css -o dist/simple-grid-min.css",
"process-typography": "lightningcss --browserslist ./tmp/typography.css -o dist/typography.css",
"process-min-typography": "lightningcss --minify --browserslist ./tmp/typography.css -o dist/typography-min.css"
"compile-default": "sass ./sass/default.scss ./build/tmp/simple-grid.css",
"compile-typography": "sass ./sass/typography.scss ./build/tmp/typography.css",
"process": "lightningcss --browserslist ./build/tmp/simple-grid.css -o ./build/distsimple-grid.css",
"process-min": "lightningcss --minify --browserslist ./build/tmp/simple-grid.css -o ./build/distsimple-grid-min.css",
"process-typography": "lightningcss --browserslist ./build/tmp/typography.css -o ./build/disttypography.css",
"process-min-typography": "lightningcss --minify --browserslist ./build/tmp/typography.css -o ./build/disttypography-min.css"
},
"dependencies": {
"lightningcss-cli": "^1.23.0",
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit f2475db

Please sign in to comment.