renme compile job to build

This commit is contained in:
Jonas Leder 2022-03-08 08:57:52 +01:00
parent 947e64d94c
commit 0349c0533e
No known key found for this signature in database
GPG Key ID: 8A53DD45A7D7B44B
2 changed files with 2 additions and 2 deletions

View File

@ -7,7 +7,7 @@ COPY . .
RUN mkdir public/js
RUN mkdir public/css
RUN yarn install --network-timeout 1000000
RUN yarn compile
RUN yarn build
# |--------------------------------------------------------------------------
# | Install PHP dependencies

View File

@ -6,7 +6,7 @@
"author": "jonasled <git@jonasled.de>",
"license": "GPL-3.0-or-later",
"scripts": {
"compile": "concurrently \"yarn css\" \"yarn js\"",
"build": "concurrently \"yarn css\" \"yarn js\"",
"css": "stylus styl/ -o public/css/ ",
"js": "webpack --config ./webpack.conf.js",
"watch": "concurrently \"stylus -w styl/ -o public/css/\" \"cd public && php -S 0.0.0.0:1234\" \"webpack --config ./webpack.conf.js --mode development --watch\""