include tidy

This commit is contained in:
daniel-j 2016-06-21 09:55:43 +02:00
parent 99c4cca20c
commit 697a038def
5 changed files with 5 additions and 4 deletions

View file

@ -13,7 +13,7 @@
"content_scripts": [
{
"matches": ["https://www.fimfiction.net/story/*", "http://www.fimfiction.net/story/*"],
"js": ["tidy.js", "fimfic2epub.js"]
"js": ["fimfic2epub.js"]
}
],
"permissions": [

View file

@ -62,7 +62,7 @@ function webpackTask (callback) {
}
let lintPipe = lazypipe()
.pipe(filter, ['**/*', '!extension/fimfic2epub.js', '!extension/tidy.js'])
.pipe(filter, ['**/*', '!extension/fimfic2epub.js'])
.pipe(standard)
.pipe(standard.reporter, 'default', { breakOnError: false })

View file

@ -20,6 +20,7 @@
"babel-preset-es2015": "^6.9.0",
"babel-preset-node6": "^11.0.0",
"del": "^2.2.0",
"exports-loader": "^0.6.3",
"gulp": "^3.9.1",
"gulp-filter": "^4.0.0",
"gulp-standard": "^7.0.1",

View file

@ -1,4 +1,4 @@
/* global tidy, chrome */
/* global chrome */
'use strict'
import m from 'mithril'
@ -7,6 +7,7 @@ import { pd as pretty } from 'pretty-data'
import escapeStringRegexp from 'escape-string-regexp'
import { XmlEntities } from 'html-entities'
import { saveAs } from 'file-saver'
import tidy from 'exports?tidy_html5!tidy-html5'
const entities = new XmlEntities()

View file

@ -1,6 +1,5 @@
'use strict'
// import webpack from 'webpack'
import path from 'path'
let inProduction = process.env.NODE_ENV === 'production' || process.argv.indexOf('-p') !== -1