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'
/* eslint-disable @typescript-eslint/no-var-requires */
const template = require('./karma.conf.template.js')

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

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

Loading…
Cancel
Save