Init typescript project with default config

This commit is contained in:
Sambo Chea 2021-03-10 13:13:35 +07:00
commit 9babec6c22
4 changed files with 97 additions and 0 deletions

59
.gitignore vendored Normal file
View File

@ -0,0 +1,59 @@
dist/
build/
yarn.lock
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
lerna-debug.log*
# Diagnostic reports (https://nodejs.org/api/report.html)
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
# Runtime data
pids
*.pid
*.seed
*.pid.lock
# Dependency directories
node_modules/
jspm_packages/
# TypeScript cache
*.tsbuildinfo
# Optional npm cache directory
.npm
# Optional eslint cache
.eslintcache
# Output of 'npm pack'
*.tgz
# Yarn Integrity file
.yarn-integrity
# dotenv environment variables file
.env
.env.test
# parcel-bundler cache (https://parceljs.org/)
.cache
.parcel-cache
# Stores VSCode versions used for testing VSCode extensions
.vscode-test
# yarn v2
.yarn/cache
.yarn/unplugged
.yarn/build-state.yml
.yarn/install-state.gz
.pnp.*

8
README.md Normal file
View File

@ -0,0 +1,8 @@
# CUBETIQ TypeScript Utils
- Function Utils
- General Functions for TypeScript project(s)
- Extends more
### Contributors
- Sambo Chea

10
package.json Normal file
View File

@ -0,0 +1,10 @@
{
"name": "cubetiq-ts-utils",
"version": "1.0.0",
"description": "CUBETIQ TypeScript Utils",
"main": "index.ts",
"repository": "https://github.com/CUBETIQ/cubetiq-ts-utils.git",
"author": "Sambo Chea",
"license": "MIT",
"private": false
}

20
tsconfig.json Normal file
View File

@ -0,0 +1,20 @@
{
"compilerOptions": {
"target": "es5",
"allowJs": true,
"skipLibCheck": true,
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"strict": true,
"forceConsistentCasingInFileNames": true,
"noFallthroughCasesInSwitch": true,
"module": "commonjs",
"moduleResolution": "node",
"resolveJsonModule": true,
"isolatedModules": true,
"noEmit": true,
"declaration": true,
"outDir": "./dist"
},
"include": ["src/**/*"]
}