Initial commit.

This commit is contained in:
2021-04-23 17:03:29 -07:00
commit 2b1f9ffba1
6 changed files with 47 additions and 0 deletions

11
.eslintrc Normal file
View File

@ -0,0 +1,11 @@
{
"root": true,
"parser": "@typescript-eslint/parser",
"plugins": ["@typescript-eslint"],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended"
],
"ignorePatterns": ["node_modules", "dist", "*.validator.ts"]
}

6
.gitignore vendored Normal file
View File

@ -0,0 +1,6 @@
# Files
.DS_Store
# Folders
dist/*
node_modules/*

3
.prettierrc Normal file
View File

@ -0,0 +1,3 @@
{
"useTabs": true
}

11
package.json Normal file
View File

@ -0,0 +1,11 @@
{
"name": "detective",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "",
"license": "ISC"
}

0
src/index.ts Normal file
View File

16
tsconfig.json Normal file
View File

@ -0,0 +1,16 @@
{
"compilerOptions": {
"target": "ES2020",
"skipLibCheck": true,
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"strict": true,
"forceConsistentCasingInFileNames": true,
"module": "commonjs",
"moduleResolution": "node",
"resolveJsonModule": true,
"outDir": "dist",
"sourceMap": true
},
"include": ["src"]
}