Update readme for Gulp build process and fix build
This commit is contained in:
parent
c54eb7050f
commit
12f42c81dd
2 changed files with 14 additions and 5 deletions
12
README.md
12
README.md
|
@ -45,6 +45,7 @@ Jellyfin Web is the frontend used for most of the clients available for end user
|
||||||
### Dependencies
|
### Dependencies
|
||||||
|
|
||||||
- Yarn
|
- Yarn
|
||||||
|
- Gulp-cli
|
||||||
|
|
||||||
### Getting Started
|
### Getting Started
|
||||||
|
|
||||||
|
@ -60,5 +61,14 @@ Jellyfin Web is the frontend used for most of the clients available for end user
|
||||||
|
|
||||||
3. Run the web client with webpack for local development.
|
3. Run the web client with webpack for local development.
|
||||||
```sh
|
```sh
|
||||||
yarn serve
|
gulp serve
|
||||||
```
|
```
|
||||||
|
|
||||||
|
4. Build the client with sourcemaps.
|
||||||
|
'''sh
|
||||||
|
gulp
|
||||||
|
'''
|
||||||
|
Or without sourcemaps
|
||||||
|
'''sh
|
||||||
|
gulp --production
|
||||||
|
'''
|
|
@ -19,6 +19,7 @@
|
||||||
"file-loader": "^5.0.2",
|
"file-loader": "^5.0.2",
|
||||||
"gulp": "^4.0.2",
|
"gulp": "^4.0.2",
|
||||||
"gulp-babel": "^8.0.0",
|
"gulp-babel": "^8.0.0",
|
||||||
|
"gulp-cli": "^2.2.0",
|
||||||
"gulp-concat": "^2.6.1",
|
"gulp-concat": "^2.6.1",
|
||||||
"gulp-htmlmin": "^5.0.1",
|
"gulp-htmlmin": "^5.0.1",
|
||||||
"gulp-imagemin": "^7.1.0",
|
"gulp-imagemin": "^7.1.0",
|
||||||
|
@ -68,9 +69,7 @@
|
||||||
},
|
},
|
||||||
"babel": {
|
"babel": {
|
||||||
"presets": [
|
"presets": [
|
||||||
[
|
"@babel/preset-env"
|
||||||
"@babel/preset-env"
|
|
||||||
]
|
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"browserslist": [
|
"browserslist": [
|
||||||
|
@ -93,6 +92,6 @@
|
||||||
"build": "gulp --production",
|
"build": "gulp --production",
|
||||||
"build-dev": "gulp",
|
"build-dev": "gulp",
|
||||||
"lint": "eslint \"src\"",
|
"lint": "eslint \"src\"",
|
||||||
"stylelint": "stylelint \"src/**/*.css\"",
|
"stylelint": "stylelint \"src/**/*.css\""
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue