mirror of
				https://gitea.invidious.io/iv-org/videojs-quality-selector.git
				synced 2024-08-15 00:43:13 +00:00 
			
		
		
		
	build: Update dependencies and fix deprecated messages
- All the dev dependencies were updates in package.json.
- prepublish was replaced by prepare to fix "warn prepublish-on-install As of npm@5, `prepublish` scripts are deprecated" & "warn prepublish-on-install Use `prepare` for build steps and `prepublishOnly` for upload-only."
- node-sass was added in package.json and a require('node-sass') was added to Gruntfile.js since the new version of grunt-sass requires it (see: https://github.com/sindresorhus/grunt-sass/releases/tag/v3.0.0)
			
			
This commit is contained in:
		
							parent
							
								
									9fed208707
								
							
						
					
					
						commit
						82bce6bf3d
					
				
					 4 changed files with 2151 additions and 1357 deletions
				
			
		|  | @ -5,7 +5,6 @@ node_js: | ||||||
|    - "10" |    - "10" | ||||||
|    - "8" |    - "8" | ||||||
|    - "8.10" |    - "8.10" | ||||||
|    - "6" |  | ||||||
| 
 | 
 | ||||||
| before_install: if [[ `npm -v` != 6* ]]; then npm i -g npm@6.4.1; fi | before_install: if [[ `npm -v` != 6* ]]; then npm i -g npm@6.4.1; fi | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -8,6 +8,8 @@ | ||||||
| var path = require('path'), | var path = require('path'), | ||||||
|     getCodeVersion = require('silvermine-serverless-utils/src/get-code-version'); |     getCodeVersion = require('silvermine-serverless-utils/src/get-code-version'); | ||||||
| 
 | 
 | ||||||
|  | const sass = require('node-sass'); | ||||||
|  | 
 | ||||||
| module.exports = function(grunt) { | module.exports = function(grunt) { | ||||||
| 
 | 
 | ||||||
|    var DEBUG = !!grunt.option('debug'), |    var DEBUG = !!grunt.option('debug'), | ||||||
|  | @ -70,6 +72,7 @@ module.exports = function(grunt) { | ||||||
| 
 | 
 | ||||||
|       sass: { |       sass: { | ||||||
|          options: { |          options: { | ||||||
|  |             implementation: sass, | ||||||
|             sourceMap: DEBUG, |             sourceMap: DEBUG, | ||||||
|             indentWidth: 3, |             indentWidth: 3, | ||||||
|             outputStyle: DEBUG ? 'expanded' : 'compressed', |             outputStyle: DEBUG ? 'expanded' : 'compressed', | ||||||
|  |  | ||||||
							
								
								
									
										3471
									
								
								package-lock.json
									
										
									
										generated
									
									
									
								
							
							
						
						
									
										3471
									
								
								package-lock.json
									
										
									
										generated
									
									
									
								
							
										
											
												File diff suppressed because it is too large
												Load diff
											
										
									
								
							
							
								
								
									
										33
									
								
								package.json
									
										
									
									
									
								
							
							
						
						
									
										33
									
								
								package.json
									
										
									
									
									
								
							|  | @ -4,7 +4,7 @@ | ||||||
|   "description": "video.js plugin for selecting a video quality or resolution", |   "description": "video.js plugin for selecting a video quality or resolution", | ||||||
|   "main": "src/js/index.js", |   "main": "src/js/index.js", | ||||||
|   "scripts": { |   "scripts": { | ||||||
|     "prepublish": "grunt build", |     "prepare": "grunt build", | ||||||
|     "test": "./node_modules/.bin/istanbul cover ./node_modules/.bin/_mocha -- -R spec 'tests/**/*.test.js'" |     "test": "./node_modules/.bin/istanbul cover ./node_modules/.bin/_mocha -- -R spec 'tests/**/*.test.js'" | ||||||
|   }, |   }, | ||||||
|   "author": "Jeremy Thomerson", |   "author": "Jeremy Thomerson", | ||||||
|  | @ -25,32 +25,33 @@ | ||||||
|   }, |   }, | ||||||
|   "homepage": "https://github.com/silvermine/videojs-quality-selector#readme", |   "homepage": "https://github.com/silvermine/videojs-quality-selector#readme", | ||||||
|   "devDependencies": { |   "devDependencies": { | ||||||
|     "@silvermine/eslint-config": "1.5.0", |     "@silvermine/eslint-config": "2.2.1", | ||||||
|     "@silvermine/sass-lint-config": "1.1.0", |     "@silvermine/sass-lint-config": "1.1.0", | ||||||
|     "autoprefixer": "7.1.1", |     "autoprefixer": "9.5.1", | ||||||
|     "coveralls": "3.0.2", |     "coveralls": "3.0.3", | ||||||
|     "eslint": "4.0.0", |     "eslint": "5.16.0", | ||||||
|     "expect.js": "0.3.1", |     "expect.js": "0.3.1", | ||||||
|     "grunt": "1.0.3", |     "grunt": "1.0.4", | ||||||
|     "grunt-browserify": "5.3.0", |     "grunt-browserify": "5.3.0", | ||||||
|     "grunt-contrib-uglify": "3.0.1", |     "grunt-contrib-uglify": "4.0.1", | ||||||
|     "grunt-contrib-watch": "1.1.0", |     "grunt-contrib-watch": "1.1.0", | ||||||
|     "grunt-eslint": "20.0.0", |     "grunt-eslint": "21.0.0", | ||||||
|     "grunt-postcss": "0.8.0", |     "grunt-postcss": "0.9.0", | ||||||
|     "grunt-sass": "2.0.0", |     "grunt-sass": "3.0.2", | ||||||
|     "grunt-sass-lint": "0.2.2", |     "node-sass": "4.12.0", | ||||||
|  |     "grunt-sass-lint": "0.2.4", | ||||||
|     "istanbul": "0.4.5", |     "istanbul": "0.4.5", | ||||||
|     "mocha": "5.2.0", |     "mocha": "6.1.4", | ||||||
|     "mocha-lcov-reporter": "1.3.0", |     "mocha-lcov-reporter": "1.3.0", | ||||||
|     "rewire": "2.5.2", |     "rewire": "4.0.1", | ||||||
|     "silvermine-serverless-utils": "git+https://github.com/silvermine/serverless-utils.git#910f1149af824fc8d0fa840878079c7d3df0f414", |     "silvermine-serverless-utils": "git+https://github.com/silvermine/serverless-utils.git#910f1149af824fc8d0fa840878079c7d3df0f414", | ||||||
|     "sinon": "2.3.5" |     "sinon": "7.3.2" | ||||||
|   }, |   }, | ||||||
|   "peerDependencies": { |   "peerDependencies": { | ||||||
|     "video.js": ">= 6.0.0" |     "video.js": ">=6.0.0" | ||||||
|   }, |   }, | ||||||
|   "dependencies": { |   "dependencies": { | ||||||
|     "class.extend": "0.9.2", |     "class.extend": "0.9.2", | ||||||
|     "underscore": "1.8.3" |     "underscore": "1.9.1" | ||||||
|   } |   } | ||||||
| } | } | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue