commit 2b1f9ffba11e6d4e07ba2cdf63cfe3b7f05c7ea7 Author: nolwn Date: Fri Apr 23 17:03:29 2021 -0700 Initial commit. diff --git a/.eslintrc b/.eslintrc new file mode 100644 index 0000000..5ef05c0 --- /dev/null +++ b/.eslintrc @@ -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"] +} diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..a34433f --- /dev/null +++ b/.gitignore @@ -0,0 +1,6 @@ +# Files +.DS_Store + +# Folders +dist/* +node_modules/* \ No newline at end of file diff --git a/.prettierrc b/.prettierrc new file mode 100644 index 0000000..c959087 --- /dev/null +++ b/.prettierrc @@ -0,0 +1,3 @@ +{ + "useTabs": true +} diff --git a/package.json b/package.json new file mode 100644 index 0000000..ac6671f --- /dev/null +++ b/package.json @@ -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" +} diff --git a/src/index.ts b/src/index.ts new file mode 100644 index 0000000..e69de29 diff --git a/tsconfig.json b/tsconfig.json new file mode 100644 index 0000000..102bb42 --- /dev/null +++ b/tsconfig.json @@ -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"] +}