📦 Added docker build script

This commit is contained in:
2024-02-18 22:30:05 +01:00
parent b19c665ab0
commit 07e3b04d95
2 changed files with 3 additions and 1085 deletions
+2 -10
View File
@@ -7,14 +7,12 @@
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject"
"docker:build": "docker rmi minesweeper:latest && docker build -t minesweeper:latest ."
},
"dependencies": {
"@types/node": "^20.11.16",
"@types/react": "^18.2.53",
"@types/react-dom": "^18.2.18",
"commitizen": "^4.3.0",
"localforage": "^1.10.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
@@ -24,8 +22,7 @@
"typescript": "^4.9.5"
},
"devDependencies": {
"@babel/plugin-proposal-private-property-in-object": "^7.21.11",
"cz-conventional-changelog": "^3.3.0"
"@babel/plugin-proposal-private-property-in-object": "^7.21.11"
},
"eslintConfig": {
"extends": [
@@ -44,10 +41,5 @@
"last 1 firefox version",
"last 1 safari version"
]
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
}
}