commit 9babec6c2224d0a119890be00ee3aec73c07bb52 Author: Sambo Chea Date: Wed Mar 10 13:13:35 2021 +0700 Init typescript project with default config diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e1bbd33 --- /dev/null +++ b/.gitignore @@ -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.* + diff --git a/README.md b/README.md new file mode 100644 index 0000000..1c85497 --- /dev/null +++ b/README.md @@ -0,0 +1,8 @@ +# CUBETIQ TypeScript Utils +- Function Utils +- General Functions for TypeScript project(s) +- Extends more + + +### Contributors +- Sambo Chea diff --git a/package.json b/package.json new file mode 100644 index 0000000..8069b86 --- /dev/null +++ b/package.json @@ -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 +} diff --git a/tsconfig.json b/tsconfig.json new file mode 100644 index 0000000..d06079f --- /dev/null +++ b/tsconfig.json @@ -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/**/*"] +}