1
0
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:
Teoxoy 2018-08-03 19:10:59 +02:00
parent c657fc2bb9
commit 9148a95f65
2 changed files with 3 additions and 3 deletions

View File

@ -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",

View File

@ -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']