mirror of
https://github.com/daniel-j/fimfic2epub.git
synced 2025-04-27 15:17:19 +12:00
fix standalone build, bump version
This commit is contained in:
parent
41323ca9a1
commit
c27f1aa5cc
6 changed files with 13 additions and 6 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -8,6 +8,4 @@ extension.zip
|
|||
fimfic2epub.safariextension/
|
||||
dist/
|
||||
build/
|
||||
bin/
|
||||
*.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(header('#!/usr/bin/env node\n// fimfic2epub ' + packageVersion + '\n'))
|
||||
.pipe(chmod(0o777))
|
||||
.pipe(gulp.dest('bin/'))
|
||||
.pipe(gulp.dest('build/'))
|
||||
}))
|
||||
|
||||
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",
|
||||
"version": "1.7.44",
|
||||
"version": "1.7.45",
|
||||
"lockfileVersion": 1,
|
||||
"requires": true,
|
||||
"dependencies": {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "fimfic2epub",
|
||||
"version": "1.7.44",
|
||||
"version": "1.7.45",
|
||||
"description": "Tool to generate improved EPUB ebooks from Fimfiction stories",
|
||||
"author": "djazz",
|
||||
"license": "MIT",
|
||||
|
|
|
@ -182,6 +182,11 @@ const bundleNpmBinaryConfig = {
|
|||
__dirname: false
|
||||
},
|
||||
|
||||
externals: [nodeExternals(), {
|
||||
'./FimFic2Epub': 'require(\'../dist/fimfic2epub\')',
|
||||
'../package.json': 'require(\'../package.json\')'
|
||||
}],
|
||||
|
||||
plugins: [],
|
||||
performance: {
|
||||
hints: false
|
||||
|
@ -231,7 +236,10 @@ const bundleStaticNpmModuleConfig = {
|
|||
},
|
||||
{
|
||||
test: /\.node$/,
|
||||
use: 'node-loader'
|
||||
loader: 'node-loader',
|
||||
options: {
|
||||
name: '[name].[ext]'
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue