1
0
mirror of https://github.com/tcgdex/cards-database.git synced 2025-04-22 19:02:10 +00:00

added scripts and config

Signed-off-by: Avior <florian.bouillon@delta-wings.net>
This commit is contained in:
Florian Bouillon 2020-02-04 10:21:53 +01:00
parent 0d2a757cae
commit f6aa8fc5e8
No known key found for this signature in database
GPG Key ID: B143FF27EF555D16
5 changed files with 45 additions and 1 deletions

8
.editorconfig Normal file
View File

@ -0,0 +1,8 @@
root = true
[*]
indent_style = tab
indent_size = 4
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

5
.gitignore vendored
View File

@ -1,2 +1,5 @@
*.json
*/*.json
*.js
node_modules/

16
package.json Normal file
View File

@ -0,0 +1,16 @@
{
"name": "tcgdex-db",
"version": "1.0.0",
"description": "Database of pokemon TCG",
"main": "index.js",
"repository": "git@git.delta-wings.net:tcgdex/db.git",
"author": "Avior <florian.bouillon@delta-wings.net>",
"license": "MIT",
"private": false,
"scripts": {
"test": "tsc --noEmit --project tsconfig-cards.json"
},
"dependencies": {
"typescript": "^3.7.5"
}
}

9
tsconfig-cards.json Normal file
View File

@ -0,0 +1,9 @@
{
"include": ["cards/**/**/*.ts"],
"compilerOptions": {
"target": "es5",
"module": "commonjs",
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true
}
}

8
yarn.lock Normal file
View File

@ -0,0 +1,8 @@
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
# yarn lockfile v1
typescript@^3.7.5:
version "3.7.5"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.7.5.tgz#0692e21f65fd4108b9330238aac11dd2e177a1ae"
integrity sha512-/P5lkRXkWHNAbcJIiHPfRoKqyd7bsyCma1hZNUGfn20qm64T6ZBlrzprymeu918H+mB/0rIg2gGK/BXkhhYgBw==