mirror of
https://github.com/mwisnowski/mtg_python_deckbuilder.git
synced 2026-03-18 11:16:30 +01:00
chore: track package.json, package-lock.json, tsconfig.json for Docker build
This commit is contained in:
parent
0ccb05f792
commit
a0b7eec0b1
4 changed files with 1760 additions and 0 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
|
@ -44,6 +44,9 @@ logs/perf/*
|
|||
!logs/perf/theme_preview_warm_baseline.json
|
||||
|
||||
# Node.js and build artifacts
|
||||
!package.json
|
||||
!package-lock.json
|
||||
!tsconfig.json
|
||||
node_modules/
|
||||
code/web/static/js/
|
||||
code/web/static/styles.css
|
||||
|
|
|
|||
1682
package-lock.json
generated
Normal file
1682
package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load diff
28
package.json
Normal file
28
package.json
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
{
|
||||
"name": "mtg-deckbuilder-web",
|
||||
"version": "1.0.0",
|
||||
"description": "MTG Commander/EDH Deckbuilder - Web UI",
|
||||
"scripts": {
|
||||
"build:css": "npx tailwindcss -i ./code/web/static/tailwind.css -o ./code/web/static/styles.css",
|
||||
"watch:css": "npx tailwindcss -i ./code/web/static/tailwind.css -o ./code/web/static/styles.css --watch",
|
||||
"build:ts": "npx tsc",
|
||||
"watch:ts": "npx tsc --watch",
|
||||
"build": "npm run build:css && npm run build:ts",
|
||||
"watch": "npm run watch:css & npm run watch:ts"
|
||||
},
|
||||
"keywords": [
|
||||
"mtg",
|
||||
"magic-the-gathering",
|
||||
"commander",
|
||||
"edh",
|
||||
"deckbuilder"
|
||||
],
|
||||
"author": "",
|
||||
"license": "ISC",
|
||||
"devDependencies": {
|
||||
"autoprefixer": "^10.4.21",
|
||||
"postcss": "^8.5.6",
|
||||
"tailwindcss": "^3.4.18",
|
||||
"typescript": "^5.9.3"
|
||||
}
|
||||
}
|
||||
47
tsconfig.json
Normal file
47
tsconfig.json
Normal file
|
|
@ -0,0 +1,47 @@
|
|||
{
|
||||
"compilerOptions": {
|
||||
/* Language and Environment */
|
||||
"target": "ES2020",
|
||||
"lib": ["ES2020", "DOM", "DOM.Iterable"],
|
||||
|
||||
/* Modules */
|
||||
"module": "ES2015",
|
||||
"moduleResolution": "node",
|
||||
|
||||
/* Emit */
|
||||
"outDir": "./code/web/static/js",
|
||||
"rootDir": "./code/web/static/ts",
|
||||
"removeComments": true,
|
||||
"sourceMap": true,
|
||||
|
||||
/* Interop Constraints */
|
||||
"esModuleInterop": true,
|
||||
"allowSyntheticDefaultImports": true,
|
||||
"forceConsistentCasingInFileNames": true,
|
||||
|
||||
/* Type Checking */
|
||||
"strict": false,
|
||||
"noImplicitAny": false,
|
||||
"strictNullChecks": false,
|
||||
"strictFunctionTypes": false,
|
||||
"strictBindCallApply": false,
|
||||
"strictPropertyInitialization": false,
|
||||
"noImplicitThis": false,
|
||||
"alwaysStrict": true,
|
||||
|
||||
/* Completeness */
|
||||
"skipLibCheck": true,
|
||||
|
||||
/* Additional Options */
|
||||
"allowJs": true,
|
||||
"checkJs": false,
|
||||
"noEmit": false
|
||||
},
|
||||
"include": [
|
||||
"code/web/static/ts/**/*.ts"
|
||||
],
|
||||
"exclude": [
|
||||
"node_modules",
|
||||
"code/web/static/vendor"
|
||||
]
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue