Skip to content

Commit

Permalink
chore(ui): Update boilerplate version
Browse files Browse the repository at this point in the history
  • Loading branch information
LukeWasTakenn committed Jan 5, 2022
1 parent 238d7cd commit 6a94dd6
Show file tree
Hide file tree
Showing 4 changed files with 3,609 additions and 5,460 deletions.
46 changes: 0 additions & 46 deletions ui/README.md

This file was deleted.

4 changes: 2 additions & 2 deletions ui/craco.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ module.exports = {
devServer: (devServerConfig) => {
if (process.env.IN_GAME_DEV) {
// Used for in-game dev mode
devServerConfig.writeToDisk = true
devServerConfig.devMiddleware.writeToDisk = true
}

return devServerConfig
}
}
}
16 changes: 10 additions & 6 deletions ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,22 +8,25 @@
"@chakra-ui/react": "^1.7.3",
"@emotion/react": "^11",
"@emotion/styled": "^11",
"@types/node": "^16.11.9",
"@types/react": "^17.0.35",
"@types/jest": "^26.0.24",
"@types/node": "^16.11.18",
"@types/react": "^17.0.38",
"@types/react-dom": "^17.0.11",
"@types/react-table": "^7.7.9",
"framer-motion": "4.1.17",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-router-dom": "6",
"react-scripts": "4.0.3",
"react-scripts": "5.0.0",
"react-table": "^7.7.0",
"typescript": "^4.5.2"
"typescript": "^4.5.4"
},
"scripts": {
"start": "cross-env PUBLIC_URL=/ craco start",
"start:game": "cross-env IN_GAME_DEV=1 craco start",
"build": "craco build"
"build": "rimraf build && craco build",
"test": "craco test",
"eject": "react-scripts eject"
},
"eslintConfig": {
"extends": [
Expand All @@ -45,6 +48,7 @@
},
"devDependencies": {
"@craco/craco": "^6.4.3",
"cross-env": "^7.0.3"
"cross-env": "^7.0.3",
"rimraf": "^3.0.2"
}
}
Loading

0 comments on commit 6a94dd6

Please sign in to comment.