Merge pull request #18 from jhalitaksoy/feature/parcel-v2
migrate to parcel v2
This commit is contained in:
commit
c0e25881d6
1
.gitignore
vendored
1
.gitignore
vendored
@ -35,3 +35,4 @@ typings/
|
|||||||
.yarn-integrity
|
.yarn-integrity
|
||||||
|
|
||||||
.cache
|
.cache
|
||||||
|
.parcel-cache
|
||||||
7
.parcelrc
Normal file
7
.parcelrc
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
{
|
||||||
|
"extends": "@parcel/config-default",
|
||||||
|
"transformers": {
|
||||||
|
"jsx:*.svg": ["@parcel/transformer-svg-react"],
|
||||||
|
"jsx:*": ["..."]
|
||||||
|
}
|
||||||
|
}
|
||||||
3
.vscode/settings.json
vendored
Normal file
3
.vscode/settings.json
vendored
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
{
|
||||||
|
"typescript.tsdk": "node_modules/typescript/lib"
|
||||||
|
}
|
||||||
16696
package-lock.json
generated
16696
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -2,7 +2,6 @@
|
|||||||
"name": "mancala-frontend",
|
"name": "mancala-frontend",
|
||||||
"version": "0.1.3-beta.14",
|
"version": "0.1.3-beta.14",
|
||||||
"description": "Mancala Game Frontend",
|
"description": "Mancala Game Frontend",
|
||||||
"main": "index.js",
|
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "parcel src/index.html",
|
"dev": "parcel src/index.html",
|
||||||
"test": "echo \"Error: no test specified\" && exit 1",
|
"test": "echo \"Error: no test specified\" && exit 1",
|
||||||
@ -19,8 +18,8 @@
|
|||||||
"@types/styled-jsx": "^3.4.4",
|
"@types/styled-jsx": "^3.4.4",
|
||||||
"@types/uuid": "^8.3.4",
|
"@types/uuid": "^8.3.4",
|
||||||
"mancala.js": "^0.0.2-beta.3",
|
"mancala.js": "^0.0.2-beta.3",
|
||||||
"react": "^17.0.2",
|
"react": "^16.0.0 || ^17.0.0 || ^18.0.0",
|
||||||
"react-dom": "^17.0.2",
|
"react-dom": "^16.0.0 || ^17.0.0 || ^18.0.0",
|
||||||
"styled-jsx": "^5.0.2",
|
"styled-jsx": "^5.0.2",
|
||||||
"uuid": "^8.3.2"
|
"uuid": "^8.3.2"
|
||||||
},
|
},
|
||||||
@ -28,7 +27,8 @@
|
|||||||
"@babel/core": "^7.18.6",
|
"@babel/core": "^7.18.6",
|
||||||
"@types/react": "^17.0.11",
|
"@types/react": "^17.0.11",
|
||||||
"@types/react-dom": "^17.0.8",
|
"@types/react-dom": "^17.0.8",
|
||||||
"parcel-bundler": "^1.12.5",
|
"parcel": "^2.6.2",
|
||||||
|
"process": "^0.11.10",
|
||||||
"typescript": "^4.3.4"
|
"typescript": "^4.3.4"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -8,7 +8,7 @@
|
|||||||
</head>
|
</head>
|
||||||
<body style="margin: 0px;">
|
<body style="margin: 0px;">
|
||||||
<div id="main" style="display: flex;"></div>
|
<div id="main" style="display: flex;"></div>
|
||||||
<script src="./App.tsx"></script>
|
<script type="module" src="./App.tsx"></script>
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
<link rel="stylesheet"
|
<link rel="stylesheet"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user