add lint script

pull/2/head
Timothée Rebours 4 years ago
parent 7d29b4c8df
commit 67549f5e62
  1. 1
      karma.conf.local.js
  2. 2
      karma.conf.template.js
  3. 1
      package.json

@ -1,5 +1,4 @@
'use strict' 'use strict'
/* eslint-disable @typescript-eslint/no-var-requires */
const template = require('./karma.conf.template.js') const template = require('./karma.conf.template.js')

@ -1,7 +1,5 @@
'use strict' 'use strict'
const path = require('path')
module.exports = (config) => ({ module.exports = (config) => ({
// Increase timeout in case connection in CI is slow // Increase timeout in case connection in CI is slow
captureTimeout: 120000, captureTimeout: 120000,

@ -60,6 +60,7 @@
"xvfb-maybe": "^0.2.1" "xvfb-maybe": "^0.2.1"
}, },
"scripts": { "scripts": {
"lint": "standard",
"test": "mocha --reporter spec --timeout 10000", "test": "mocha --reporter spec --timeout 10000",
"build:browser": "webpack && webpack --optimization-minimize", "build:browser": "webpack && webpack --optimization-minimize",
"pretest:browser": "npm run build:browser", "pretest:browser": "npm run build:browser",

Loading…
Cancel
Save