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
+5 -4
View File
@@ -6,7 +6,9 @@
"types": "src/index.ts",
"private": false,
"publishConfig": {
"access": "public"
"access": "public",
"main": "dist/index.cjs.js",
"types": "dist/index.d.ts"
},
"homepage": "https://backstage.io",
"repository": {
@@ -19,7 +21,7 @@
],
"license": "Apache-2.0",
"scripts": {
"build": "backstage-cli build-cache -- tsc",
"build": "backstage-cli build --outputs cjs,types",
"lint": "backstage-cli lint",
"test": "backstage-cli test",
"prepack": "backstage-cli prepack",
@@ -50,8 +52,7 @@
"http-errors": "^1.7.3",
"jest": "^26.0.1",
"jest-fetch-mock": "^3.0.3",
"supertest": "^4.0.2",
"typescript": "^3.9.2"
"supertest": "^4.0.2"
},
"files": [
"dist"
-14
View File
@@ -1,14 +0,0 @@
{
"include": ["src"],
"compilerOptions": {
"outDir": "dist",
"incremental": true,
"sourceMap": true,
"declaration": true,
"strict": true,
"target": "ES2019",
"module": "commonjs",
"esModuleInterop": true,
"types": ["node", "jest", "webpack-env"]
}
}