Initial TypeScript

Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
Valentin Popov 2020-02-08 12:55:56 +04:00
parent aebbead8ba
commit 15e5ead2d1
Signed by: Valentin Popov
GPG Key ID: 269A00ACA90A8EA3
3 changed files with 42 additions and 2 deletions

View File

@ -9,5 +9,8 @@
"private": false, "private": false,
"scripts": {}, "scripts": {},
"dependencies": {}, "dependencies": {},
"devDependencies": {} "devDependencies": {
} "tslib": "^1.10.0",
"typescript": "^3.7.5"
}
}

28
tsconfig.json Normal file
View File

@ -0,0 +1,28 @@
{
"compilerOptions": {
"allowJs": true,
"checkJs": true,
"declaration": true,
"downlevelIteration": true,
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
"module": "ES2015",
"moduleResolution": "Node",
"newLine": "lf",
"noImplicitReturns": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"outDir": "dist",
"removeComments": true,
"sourceMap": true,
"strict": true,
"target": "ES5"
},
"exclude": [
"node_modules",
"dist"
],
"include": [
"src"
]
}

View File

@ -2,3 +2,12 @@
# yarn lockfile v1 # yarn lockfile v1
tslib@^1.10.0:
version "1.10.0"
resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.10.0.tgz#c3c19f95973fb0a62973fb09d90d961ee43e5c8a"
integrity sha512-qOebF53frne81cf0S9B41ByenJ3/IuH8yJKngAX35CmiZySA0khhkovshKK+jGCaMnVomla7gVlIcc3EvKPbTQ==
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==