mirror of
https://github.com/daniel-j/fimfic2epub.git
synced 2024-05-08 06:22:37 +12:00
fix standalone build, bump version
This commit is contained in:
parent
41323ca9a1
commit
c27f1aa5cc
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -8,6 +8,4 @@ extension.zip
|
||||||
fimfic2epub.safariextension/
|
fimfic2epub.safariextension/
|
||||||
dist/
|
dist/
|
||||||
build/
|
build/
|
||||||
bin/
|
|
||||||
*.epub
|
*.epub
|
||||||
*.node
|
|
||||||
|
|
1
bin/fimfic2epub
Symbolic link
1
bin/fimfic2epub
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
../build/fimfic2epub
|
|
@ -139,7 +139,7 @@ gulp.task('binaries', gulp.series('version', function binariesTask () {
|
||||||
.pipe(rename({ extname: '' }))
|
.pipe(rename({ extname: '' }))
|
||||||
.pipe(header('#!/usr/bin/env node\n// fimfic2epub ' + packageVersion + '\n'))
|
.pipe(header('#!/usr/bin/env node\n// fimfic2epub ' + packageVersion + '\n'))
|
||||||
.pipe(chmod(0o777))
|
.pipe(chmod(0o777))
|
||||||
.pipe(gulp.dest('bin/'))
|
.pipe(gulp.dest('build/'))
|
||||||
}))
|
}))
|
||||||
|
|
||||||
gulp.task('pack:firefox', gulp.series('version', function packFirefox () {
|
gulp.task('pack:firefox', gulp.series('version', function packFirefox () {
|
||||||
|
|
2
package-lock.json
generated
2
package-lock.json
generated
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "fimfic2epub",
|
"name": "fimfic2epub",
|
||||||
"version": "1.7.44",
|
"version": "1.7.45",
|
||||||
"lockfileVersion": 1,
|
"lockfileVersion": 1,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "fimfic2epub",
|
"name": "fimfic2epub",
|
||||||
"version": "1.7.44",
|
"version": "1.7.45",
|
||||||
"description": "Tool to generate improved EPUB ebooks from Fimfiction stories",
|
"description": "Tool to generate improved EPUB ebooks from Fimfiction stories",
|
||||||
"author": "djazz",
|
"author": "djazz",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
|
|
|
@ -182,6 +182,11 @@ const bundleNpmBinaryConfig = {
|
||||||
__dirname: false
|
__dirname: false
|
||||||
},
|
},
|
||||||
|
|
||||||
|
externals: [nodeExternals(), {
|
||||||
|
'./FimFic2Epub': 'require(\'../dist/fimfic2epub\')',
|
||||||
|
'../package.json': 'require(\'../package.json\')'
|
||||||
|
}],
|
||||||
|
|
||||||
plugins: [],
|
plugins: [],
|
||||||
performance: {
|
performance: {
|
||||||
hints: false
|
hints: false
|
||||||
|
@ -231,7 +236,10 @@ const bundleStaticNpmModuleConfig = {
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
test: /\.node$/,
|
test: /\.node$/,
|
||||||
use: 'node-loader'
|
loader: 'node-loader',
|
||||||
|
options: {
|
||||||
|
name: '[name].[ext]'
|
||||||
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue