diff --git a/.travis.yml b/.travis.yml index a7d5c1b..843004b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,7 +8,6 @@ node_js: - "6" - "7" before_script: - - npm install standard - standard script: - npm install istanbul diff --git a/package.json b/package.json index e94f6c5..7acf63a 100644 --- a/package.json +++ b/package.json @@ -25,21 +25,23 @@ }, "homepage": "https://github.com/bootprint/bootprint-base", "dependencies": { - "bootstrap": "^3.3.2", - "cheerio": "^0.19.0", - "handlebars": "^3.0.0", - "highlight.js": "^8.4.0", + "bootstrap": "^3.3.7", + "cheerio": "^0.22.0", + "handlebars": "^4.0.6", + "highlight.js": "^8", "jquery": "^2", - "json-stable-stringify": "^1.0.0", - "marked": "^0.3.3" + "json-stable-stringify": "^1.0.1", + "marked": "^0.3.6" }, "devDependencies": { "bootprint": "^1.0.0", "chai": "^3.5.0", - "ghooks": "^1.0.3", - "m-io": "^0.3.1", - "mocha": "^2.4.5", - "thoughtful-release": "^0.3.0", + "dirty-chai": "^1.2.2", + "ghooks": "^2.0.0", + "m-io": "^0.5.0", + "mocha": "^3.2.0", + "standard": "^9.0.1", + "thoughtful-release": "^0.3.1", "trace-and-clarify-if-possible": "^1.0.0" }, "peerDependencies": { diff --git a/test/main-spec.js b/test/main-spec.js index 5e850f7..d348b7b 100644 --- a/test/main-spec.js +++ b/test/main-spec.js @@ -5,11 +5,12 @@ * Released under the MIT license. */ -/* global describe */ -/* global it */ -/* global before */ +/* eslint-env mocha */ + +var chai = require('chai') +chai.use(require('dirty-chai')) +var expect = chai.expect -var expect = require('chai').expect var path = require('path') var qfs = require('m-io/fs') var fs = require('fs') @@ -53,7 +54,7 @@ describe('The bootprint-base module', function () { var jqueryIndex = bundle.indexOf('jQuery requires a window with a document') var bootstrapIndex = bundle.indexOf("Bootstrap's JavaScript requires jQuery") - expect(jqueryIndex < bootstrapIndex, 'jQuery must be included before Bootstrap').to.be.true + expect(jqueryIndex < bootstrapIndex, 'jQuery must be included before Bootstrap').to.be.true() }) }) })