From 20d760d99e63ad23d2e7fe0be57d117ae10501d9 Mon Sep 17 00:00:00 2001 From: zhl Date: Wed, 6 Jan 2021 13:17:40 +0800 Subject: [PATCH] project init --- .gitignore | 4 ++++ package.json | 11 +++++++++++ tsconfig.json | 20 ++++++++++++++++++++ 3 files changed, 35 insertions(+) create mode 100644 .gitignore create mode 100644 package.json create mode 100644 tsconfig.json diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..aedfdd8 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +node_modules +.idea +.DS_Store +lib diff --git a/package.json b/package.json new file mode 100644 index 0000000..1fed3fa --- /dev/null +++ b/package.json @@ -0,0 +1,11 @@ +{ + "name": "card_info_svr", + "version": "1.0.0", + "description": "", + "main": "index.js", + "scripts": { + "test": "echo \"Error: no test specified\" && exit 1" + }, + "author": "", + "license": "ISC" +} diff --git a/tsconfig.json b/tsconfig.json new file mode 100644 index 0000000..1ac48f9 --- /dev/null +++ b/tsconfig.json @@ -0,0 +1,20 @@ +{ + "ts-node": { + "files": true + }, + "include": [ + "src", + "libs" + ], + "compilerOptions": { + "outDir": "lib", + "target": "es6", + "baseUrl": "./src", + "module": "commonjs", + "strict": true, + "strictNullChecks": false, + "esModuleInterop": true, + "moduleResolution": "node", + "experimentalDecorators": true + } +}