commit 20d760d99e63ad23d2e7fe0be57d117ae10501d9 Author: zhl Date: Wed Jan 6 13:17:40 2021 +0800 project init 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 + } +}