Skip to content

Commit

Permalink
Update deps (#2)
Browse files Browse the repository at this point in the history
* Remove jscs

* Add Node 8 to test environments

* Bump deps and convert to chai
  • Loading branch information
tclindner authored Aug 3, 2017
1 parent ec0f4d2 commit 1700d54
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 112 deletions.
99 changes: 0 additions & 99 deletions .jscsrc

This file was deleted.

1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ node_js:
- "5"
- "6"
- "7"
- "8"

cache:
directories:
Expand Down
20 changes: 9 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "npm-package-json-lint-config-default",
"version": "1.0.0",
"version": "1.1.0",
"description": "Default npm-package-json-lint shareable config",
"keywords": [
"lint",
Expand All @@ -24,23 +24,21 @@
"main": "index.js",
"scripts": {
"eslint": "eslint *.js --format=node_modules/eslint-formatter-pretty",
"jscs": "jscs *.js",
"jsonlint": "jsonlint *.json",
"lint": "npm run npmpackagejsonlint && npm run eslint && npm run jscs && npm run jsonlint",
"lint": "npm run npmpackagejsonlint && npm run eslint && npm run jsonlint",
"npmpackagejsonlint": "pjl-cli -c .npmpackagejsonlintrc.json",
"test": "mocha test"
"test": "mocha"
},
"devDependencies": {
"eslint": "^3.15.0",
"eslint-config-tc": "^1.4.0",
"chai": "^4.1.0",
"eslint": "^4.3.0",
"eslint-config-tc": "^2.1.0",
"eslint-formatter-pretty": "^1.1.0",
"is-plain-obj": "^1.1.0",
"jscs": "^3.0.7",
"jsonlint": "^1.6.2",
"mocha": "^3.2.0",
"npm-package-json-lint": "^2.0.2",
"should": "^11.2.0",
"temp-write": "^3.1.0"
"mocha": "^3.5.0",
"npm-package-json-lint": "^2.6.0",
"temp-write": "^3.3.0"
},
"peerDependencies": {
"npm-package-json-lint": ">= 2"
Expand Down
6 changes: 4 additions & 2 deletions test/tests.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
'use strict';

const should = require('should');
const chai = require('chai');
const isPlainObj = require('is-plain-obj');
const config = require('./../index.js');
const lint = require('./helper/testHelper.js');

const should = chai.should();

describe('npm-package-json-lint config tests', () => {
context('npm-package-json-lint config object', () => {
it('should be an object', () => {
Expand All @@ -27,7 +29,7 @@ describe('npm-package-json-lint config tests', () => {
const expectedErrorCount = 2;

results.errors.length.should.equal(expectedErrorCount);
results.hasOwnProperty('warnings').should.be.false();
results.hasOwnProperty('warnings').should.be.false;
});
});
});

0 comments on commit 1700d54

Please sign in to comment.