Skip to content

Commit

Permalink
run scripts individually
Browse files Browse the repository at this point in the history
  • Loading branch information
AerisG222 committed Dec 23, 2023
1 parent da0f7ad commit cb2b016
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 14 deletions.
1 change: 0 additions & 1 deletion Containerfile.auth
Expand Up @@ -8,7 +8,6 @@ RUN apk --no-cache add \
g++ \
make \
nodejs \
npm \
rsync \
sed

Expand Down
1 change: 0 additions & 1 deletion Containerfile.www
Expand Up @@ -8,7 +8,6 @@ RUN apk --no-cache add \
g++ \
make \
nodejs \
npm \
rsync \
sed

Expand Down
4 changes: 3 additions & 1 deletion _build.sh
Expand Up @@ -181,7 +181,9 @@ build_assets() {
rm -rf node_modules

pnpm i
pnpm run all
pnpm run sass:lint
pnpm run sass:site
pnpm run sass:games

popd
}
Expand Down
8 changes: 3 additions & 5 deletions src/auth/package.json
Expand Up @@ -19,11 +19,9 @@
"stylelint-scss": "^6.0.0"
},
"scripts": {
"all": "npx run-p sass",
"sass": "npx run-p sass:lint sass:site",
"sass:lint": "npx stylelint scss/*.scss 2> /dev/null",
"sass:site": "npx sass --load-path node_modules scss/site.scss wwwroot/css/site.css",
"sass:watch": "npx chokidar 'scss/**/*.scss' -c 'npm run sass'"
"sass:lint": "stylelint scss/*.scss 2> /dev/null",
"sass:site": "sass --load-path node_modules scss/site.scss wwwroot/css/site.css",
"sass:watch": "chokidar 'scss/**/*.scss' -c 'pnpm run sass'"
},
"author": "",
"license": "MIT"
Expand Down
10 changes: 4 additions & 6 deletions src/www/package.json
Expand Up @@ -4,12 +4,10 @@
"license": "MIT",
"main": "index.js",
"scripts": {
"all": "npx run-p sass",
"sass": "npx run-p sass:lint sass:site sass:games",
"sass:lint": "npx stylelint scss/*.scss 2> /dev/null",
"sass:site": "npx sass --load-path node_modules scss/site.scss wwwroot/css/site.css",
"sass:games": "npx sass --load-path node_modules scss/games.scss wwwroot/css/games.css",
"sass:watch": "npx chokidar 'scss/**/*.scss' -c 'npm run sass'"
"sass:lint": "stylelint scss/*.scss 2> /dev/null",
"sass:site": "sass --load-path node_modules scss/site.scss wwwroot/css/site.css",
"sass:games": "sass --load-path node_modules scss/games.scss wwwroot/css/games.css",
"sass:watch": "chokidar 'scss/**/*.scss' -c 'npm run sass'"
},
"dependencies": {
"bootstrap": "^5.2.3",
Expand Down

0 comments on commit cb2b016

Please sign in to comment.