Skip to content

Commit

Permalink
chore: add tsconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
aminya committed Apr 1, 2021
1 parent d38773c commit 0eb25e9
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 0 deletions.
32 changes: 32 additions & 0 deletions lib/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"compilerOptions": {
"strict": false,
"strictNullChecks": false,
"noUnusedLocals": false,
"noUnusedParameters": false,
"noImplicitReturns": false,
"noImplicitAny": false,
"noImplicitThis": false,
"noFallthroughCasesInSwitch": false,
"declaration": true,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"incremental": true,
"inlineSourceMap": true,
"inlineSources": true,
"preserveSymlinks": true,
"removeComments": true,
"jsx": "react",
"jsxFactory": "etch.dom",
"lib": ["ES2018", "dom"],
"target": "ES2018",
"allowJs": true,
"resolveJsonModule": true,
"esModuleInterop": true,
"module": "commonjs",
"moduleResolution": "node",
"importHelpers": false,
"outDir": "../dist"
},
"compileOnSave": false
}
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@
"lint": "eslint . --fix",
"test.lint": "eslint .",
"clean": "shx rm -rf dist .parcel-cache",
"dev.tsc": "npm run build.tsc -- --watch",
"dev": "cross-env NODE_ENV=development BABEL_KEEP_MODULES=true rollup -c -w",
"build.tsc": "tsc -p ./lib/tsconfig.json",
"build.test": "cross-env NODE_ENV=test BABEL_KEEP_MODULES=true rollup -c",
"build.readable": "cross-env NODE_ENV=production READABLE_BUILD=true BABEL_KEEP_MODULES=true rollup -c",
"build": "cross-env NODE_ENV=production cross-env BABEL_KEEP_MODULES=true rollup -c",
Expand Down

0 comments on commit 0eb25e9

Please sign in to comment.