Skip to content

Commit

Permalink
build(typescript): enable incremental build (#247)
Browse files Browse the repository at this point in the history
  • Loading branch information
chimurai committed May 15, 2022
1 parent 3275a50 commit 3c9b872
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Expand Up @@ -31,8 +31,8 @@
"requirements": "./bin/requirements.js"
},
"scripts": {
"clean": "rm -rf dist && rm -rf coverage",
"build": "tsc",
"clean": "rm -rf dist coverage tsconfig.tsbuildinfo",
"build": "tsc --build",
"lint": "prettier --check \"**/*.{js,ts,md}\" || echo '馃敡 Run: \"npm run lint:fix\" to fix issues'",
"lint:fix": "prettier --write \"**/*.{js,ts,md}\"",
"test": "NODE_OPTIONS=--experimental-vm-modules jest",
Expand Down
2 changes: 2 additions & 0 deletions tsconfig.json
@@ -1,10 +1,12 @@
{
"compilerOptions": {
"rootDir": "./src",
"outDir": "./dist",
"lib": ["ES2020"],
"module": "ES2020",
"moduleResolution": "node",
"target": "ES2020",
"incremental": true,
"declaration": true,
"allowSyntheticDefaultImports": true
},
Expand Down

0 comments on commit 3c9b872

Please sign in to comment.