diff --git a/README.md b/README.md index 6a80b0b09..3c40d0a01 100644 --- a/README.md +++ b/README.md @@ -45,6 +45,7 @@ Jellyfin Web is the frontend used for most of the clients available for end user ### Dependencies - Yarn +- Gulp-cli ### 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. ```sh - yarn serve + gulp serve ``` + +4. Build the client with sourcemaps. + '''sh + gulp + ''' + Or without sourcemaps + '''sh + gulp --production + ''' \ No newline at end of file diff --git a/package.json b/package.json index 70dc89cd6..01d4d0dab 100644 --- a/package.json +++ b/package.json @@ -19,6 +19,7 @@ "file-loader": "^5.0.2", "gulp": "^4.0.2", "gulp-babel": "^8.0.0", + "gulp-cli": "^2.2.0", "gulp-concat": "^2.6.1", "gulp-htmlmin": "^5.0.1", "gulp-imagemin": "^7.1.0", @@ -68,9 +69,7 @@ }, "babel": { "presets": [ - [ - "@babel/preset-env" - ] + "@babel/preset-env" ] }, "browserslist": [ @@ -93,6 +92,6 @@ "build": "gulp --production", "build-dev": "gulp", "lint": "eslint \"src\"", - "stylelint": "stylelint \"src/**/*.css\"", + "stylelint": "stylelint \"src/**/*.css\"" } }