mirror of
https://github.com/daniel-j/fimfic2epub.git
synced 2024-05-21 12:53:13 +12:00
include tidy
This commit is contained in:
parent
99c4cca20c
commit
697a038def
|
@ -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": [
|
||||
|
|
|
@ -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 })
|
||||
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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()
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue