mirror of
https://github.com/bendtherules/is-nifty-open.git
synced 2026-08-18 13:52:20 +00:00
Fix windows buidWeb - delete existing folder first
This commit is contained in:
+2
-1
@@ -2,6 +2,7 @@
|
||||
"name": "is-nifty-open",
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"homepage": "http://github.bendtherul.es/is-nifty-open",
|
||||
"dependencies": {
|
||||
"@types/classnames": "^2.2.3",
|
||||
"@types/moment-timezone": "^0.5.4",
|
||||
@@ -17,7 +18,7 @@
|
||||
"start": "react-scripts-ts start",
|
||||
"build": "react-scripts-ts build",
|
||||
"buildWeb": "react-scripts-ts build && mv ./build ./docs",
|
||||
"buildWeb-win": "react-scripts-ts build && powershell.exe \"Copy-Item -Path ./build/* -Recurse -force -Destination ./docs -Container\"",
|
||||
"buildWeb-win": "react-scripts-ts build && powershell.exe \"Get-ChildItem ./docs -Recurse | Remove-Item -Recurse -Force; Copy-Item -Path ./build/* -Recurse -force -Destination ./docs -Container\"",
|
||||
"test": "react-scripts-ts test --env=jsdom",
|
||||
"eject": "react-scripts-ts eject"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user