mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Merge pull request #500 from thornbill/prepare-script
Restore prepare script
This commit is contained in:
commit
28380365b4
2 changed files with 6 additions and 1 deletions
|
@ -28,6 +28,10 @@ jobs:
|
||||||
yarn install
|
yarn install
|
||||||
displayName: 'Install dependencies'
|
displayName: 'Install dependencies'
|
||||||
|
|
||||||
|
- script: |
|
||||||
|
test -d dist
|
||||||
|
displayName: 'Check dist directory'
|
||||||
|
|
||||||
- script: |
|
- script: |
|
||||||
yarn pack --filename jellyfin-web.tgz
|
yarn pack --filename jellyfin-web.tgz
|
||||||
displayName: 'Build package'
|
displayName: 'Build package'
|
||||||
|
|
|
@ -27,6 +27,7 @@
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"serve": "webpack-dev-server --config webpack.dev.js --open",
|
"serve": "webpack-dev-server --config webpack.dev.js --open",
|
||||||
"build": "webpack --config webpack.prod.js",
|
"build": "webpack --config webpack.prod.js",
|
||||||
"lint": "eslint \"src\""
|
"lint": "eslint \"src\"",
|
||||||
|
"prepare": "webpack --config webpack.prod.js"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue