packages,plugins: use backend:build for all backend packages + publish config and no tsconfig

This commit is contained in:
Patrik Oldsberg
2020-06-16 19:16:02 +02:00
parent a7c9b8a078
commit 76fd9f9401
15 changed files with 53 additions and 207 deletions
+9 -8
View File
@@ -5,9 +5,14 @@
"types": "src/index.ts",
"license": "Apache-2.0",
"private": true,
"publishConfig": {
"access": "public",
"main": "dist/index.cjs.js",
"types": "dist/index.d.ts"
},
"scripts": {
"start": "tsc-watch --onFirstSuccess \"cross-env NODE_ENV=development nodemon dist/run.js\"",
"build": "tsc",
"start": "backstage-cli backend:dev",
"build": "backstage-cli backend:build",
"lint": "backstage-cli lint",
"test": "backstage-cli test",
"prepack": "backstage-cli prepack",
@@ -29,13 +34,9 @@
},
"devDependencies": {
"@backstage/cli": "^0.1.1-alpha.8",
"jest-fetch-mock": "^3.0.3",
"tsc-watch": "^4.2.3"
"jest-fetch-mock": "^3.0.3"
},
"files": [
"dist"
],
"nodemonConfig": {
"watch": "./dist"
}
]
}
-15
View File
@@ -1,15 +0,0 @@
{
"include": ["src"],
"compilerOptions": {
"outDir": "dist",
"incremental": true,
"sourceMap": true,
"declaration": true,
"strict": true,
"target": "es2019",
"module": "commonjs",
"esModuleInterop": true,
"lib": ["es2019"],
"types": ["node", "jest", "webpack-env"]
}
}