packages/cli: move typescript build config to tsconfig

This commit is contained in:
Patrik Oldsberg
2020-04-05 15:21:12 +02:00
parent 86f02fe577
commit f78a3bd9a1
2 changed files with 4 additions and 2 deletions
+1 -1
View File
@@ -19,7 +19,7 @@
"main": "dist",
"scripts": {
"exec": "npx ts-node ./src",
"build": "backstage-cli build-cache -- tsc --outDir dist --noEmit false --module CommonJS",
"build": "backstage-cli build-cache -- tsc",
"lint": "backstage-cli lint",
"test": "backstage-cli test",
"start": "nodemon ."
+3 -1
View File
@@ -1,7 +1,9 @@
{
"extends": "@spotify/web-scripts/config/tsconfig.json",
"extends": "../../tsconfig.json",
"include": ["src"],
"compilerOptions": {
"outDir": "dist",
"module": "CommonJS",
"baseUrl": "src",
"paths": {
"*": ["src/*"]