mirror of
https://github.com/teoxoy/factorio-blueprint-editor.git
synced 2025-01-18 02:58:31 +02:00
fixed setupDist and deploy scripts
This commit is contained in:
parent
c657fc2bb9
commit
9148a95f65
@ -6,8 +6,8 @@
|
||||
"scripts": {
|
||||
"start": "webpack-dev-server --config webpack.dev.js --host 0.0.0.0 --open --useLocalIp",
|
||||
"build": "webpack --config webpack.prod.js",
|
||||
"dist": "git worktree add dist gh-pages",
|
||||
"deploy": "cd dist && git add --all && git commit -m \"new version\" && git push origin gh-pages"
|
||||
"setupDist": "git worktree add dist gh-pages",
|
||||
"deploy": "cd dist && git add --all && git reset -- stats && git commit -m \"new version\" && git push origin gh-pages"
|
||||
},
|
||||
"author": "Teoxoy",
|
||||
"license": "MIT",
|
||||
|
@ -74,7 +74,7 @@ module.exports = {
|
||||
new CopyWebpackPlugin([
|
||||
{ from: 'src/spritesheets', to: 'spritesheets'/*'factorio-data/bundles/[name].[hash].[ext]'*/ }
|
||||
]),
|
||||
new CleanWebpackPlugin(['dist']),
|
||||
new CleanWebpackPlugin(['dist/*.*'], { exclude: ['.git'] }),
|
||||
new ForkTsCheckerWebpackPlugin({
|
||||
tslint: true,
|
||||
watch: ['./src']
|
||||
|
Loading…
Reference in New Issue
Block a user