Skip to content

Commit

Permalink
Add scripts to package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
yaroslavrick committed Sep 6, 2023
1 parent f099744 commit a2fc035
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,12 @@
"build:css:compile": "sass ./app/assets/stylesheets/application.bootstrap.scss:./app/assets/builds/application.css --no-source-map --load-path=node_modules",
"build:css:prefix": "postcss ./app/assets/builds/application.css --use=autoprefixer --output=./app/assets/builds/application.css",
"build:css": "yarn build:css:compile && yarn build:css:prefix",
"watch:css": "nodemon --watch ./app/assets/stylesheets/ --ext scss --exec \"yarn build:css\""
"watch:css": "nodemon --watch ./app/assets/stylesheets/ --ext scss --exec \"yarn build:css\"",
"watch:js": "yarn build --watch",
"build:assets": "yarn build:css && yarn build",
"watch:assets": "yarn watch:css & yarn watch:js"
},
"browserslist": [
"defaults"
]
}
}

0 comments on commit a2fc035

Please sign in to comment.