packages,plugins: use publishConfig to configure published entrypoints

This commit is contained in:
Patrik Oldsberg
2020-06-04 17:46:59 +02:00
parent 8269b81a67
commit 0d1655c65b
22 changed files with 88 additions and 12 deletions
+5
View File
@@ -6,6 +6,11 @@
"types": "src/index.ts",
"license": "Apache-2.0",
"private": true,
"publishConfig": {
"access": "public",
"main": "dist/index.esm.js",
"types": "dist/index.d.ts"
},
"scripts": {
"build": "backstage-cli plugin:build",
"start": "backstage-cli plugin:serve",