Skip to content

Instantly share code, notes, and snippets.

View kirilknysh's full-sized avatar
:bowtie:
go pro

Kiril Knysh kirilknysh

:bowtie:
go pro
View GitHub Profile
@kirilknysh
kirilknysh / tsconfig.json
Created December 17, 2019 20:01
[nodejs-api-service] initial tsconfig.json
{
"compilerOptions": {
/* Basic Options */
// "incremental": true, /* Enable incremental compilation */
"target": "es5", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019' or 'ESNEXT'. */
"module": "commonjs", /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */
// "lib": [], /* Specify library files to be included in the compilation. */
// "allowJs": true, /* Allow javascript files to be compiled. */
// "checkJs": true, /* Report errors in .js files. */
// "jsx": "preserve", /* Specify JSX code generation: 'preserve', 'react-native', or 'react'. */
@kirilknysh
kirilknysh / package.json.diff
Last active December 17, 2019 20:57
[nodejs-api-service] tsc in scripts
diff --git a/package.json b/package.json
index 4fdd908..55be359 100644
--- a/package.json
+++ b/package.json
@@ -4,6 +4,7 @@
"description": "Production-ready Node.js API service template",
"private": true,
"scripts": {
+ "tsc": "tsc",
"start": "",