Merge pull request #18 from jhalitaksoy/feature/parcel-v2

migrate to parcel v2
This commit is contained in:
Halit Aksoy 2022-07-15 14:59:25 +03:00 committed by GitHub
commit c0e25881d6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 1099 additions and 21734 deletions

1
.gitignore vendored
View File

@ -35,3 +35,4 @@ typings/
.yarn-integrity
.cache
.parcel-cache

7
.parcelrc Normal file
View File

@ -0,0 +1,7 @@
{
"extends": "@parcel/config-default",
"transformers": {
"jsx:*.svg": ["@parcel/transformer-svg-react"],
"jsx:*": ["..."]
}
}

3
.vscode/settings.json vendored Normal file
View File

@ -0,0 +1,3 @@
{
"typescript.tsdk": "node_modules/typescript/lib"
}

16696
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -2,7 +2,6 @@
"name": "mancala-frontend",
"version": "0.1.3-beta.14",
"description": "Mancala Game Frontend",
"main": "index.js",
"scripts": {
"dev": "parcel src/index.html",
"test": "echo \"Error: no test specified\" && exit 1",
@ -19,8 +18,8 @@
"@types/styled-jsx": "^3.4.4",
"@types/uuid": "^8.3.4",
"mancala.js": "^0.0.2-beta.3",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react": "^16.0.0 || ^17.0.0 || ^18.0.0",
"react-dom": "^16.0.0 || ^17.0.0 || ^18.0.0",
"styled-jsx": "^5.0.2",
"uuid": "^8.3.2"
},
@ -28,7 +27,8 @@
"@babel/core": "^7.18.6",
"@types/react": "^17.0.11",
"@types/react-dom": "^17.0.8",
"parcel-bundler": "^1.12.5",
"parcel": "^2.6.2",
"process": "^0.11.10",
"typescript": "^4.3.4"
}
}

View File

@ -8,7 +8,7 @@
</head>
<body style="margin: 0px;">
<div id="main" style="display: flex;"></div>
<script src="./App.tsx"></script>
<script type="module" src="./App.tsx"></script>
</body>
<link rel="stylesheet"

6114
yarn.lock

File diff suppressed because it is too large Load Diff