Merge pull request #25 from silvermine/standardize_npm

Standardize npm
This commit is contained in:
Jeremy Thomerson 2018-12-21 22:27:01 -05:00 committed by GitHub
commit 865112814a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 7693 additions and 16 deletions

View file

@ -1,5 +1,5 @@
{
"extends": "eslint-config-silvermine/node"
"extends": "@silvermine/eslint-config/node"
}

View file

@ -1,10 +1,13 @@
language: node_js
# 4.3.2 is what AWS Lambda currently uses
node_js:
- "5"
- "4.3.2"
- "node" # Latest node version
- "lts/*" # Latest LTS version
- "10"
- "8"
- "8.10"
- "6"
before_install: if [[ `npm -v` != 3* ]]; then npm i -g npm@3; fi
before_install: if [[ `npm -v` != 6* ]]; then npm i -g npm@6.4.1; fi
script:
- grunt standards

View file

@ -107,7 +107,7 @@ module.exports = function(grunt) {
sasslint: {
options: {
configFile: path.join(__dirname, 'node_modules', 'sass-lint-config-silvermine', 'sass-lint.yml'),
configFile: path.join(__dirname, 'node_modules', '@silvermine/sass-lint-config', 'sass-lint.yml'),
},
target: config.sass.all,
},

7674
package-lock.json generated Normal file

File diff suppressed because it is too large Load diff

View file

@ -1,5 +1,5 @@
{
"name": "silvermine-videojs-quality-selector",
"name": "@silvermine/videojs-quality-selector",
"version": "1.1.2",
"description": "video.js plugin for selecting a video quality or resolution",
"main": "src/js/index.js",
@ -25,24 +25,24 @@
},
"homepage": "https://github.com/silvermine/videojs-quality-selector#readme",
"devDependencies": {
"@silvermine/eslint-config": "1.5.0",
"@silvermine/sass-lint-config": "1.1.0",
"autoprefixer": "7.1.1",
"coveralls": "2.13.1",
"coveralls": "3.0.2",
"eslint": "4.0.0",
"eslint-config-silvermine": "1.3.0",
"expect.js": "0.3.1",
"grunt": "1.0.1",
"grunt-browserify": "5.0.0",
"grunt": "1.0.3",
"grunt-browserify": "5.3.0",
"grunt-contrib-uglify": "3.0.1",
"grunt-contrib-watch": "1.0.0",
"grunt-contrib-watch": "1.1.0",
"grunt-eslint": "20.0.0",
"grunt-postcss": "0.8.0",
"grunt-sass": "2.0.0",
"grunt-sass-lint": "0.2.2",
"istanbul": "0.4.5",
"mocha": "3.4.2",
"mocha": "5.2.0",
"mocha-lcov-reporter": "1.3.0",
"rewire": "2.5.2",
"sass-lint-config-silvermine": "1.0.1",
"silvermine-serverless-utils": "git+https://github.com/silvermine/serverless-utils.git#910f1149af824fc8d0fa840878079c7d3df0f414",
"sinon": "2.3.5"
},

View file

@ -1,5 +1,5 @@
{
"extends": "eslint-config-silvermine/browser"
"extends": "@silvermine/eslint-config/browser"
}

View file

@ -1,5 +1,5 @@
{
"extends": "eslint-config-silvermine/node-tests"
"extends": "@silvermine/eslint-config/node-tests"
}