1 | {
|
2 | "name": "{{name}}",
|
3 | "description": "Web library for the {{id}} plugin",
|
4 | "version": "{{pluginVersion}}",
|
5 | "main": "src/index.ts",
|
6 | "types": "src/index.ts",
|
7 | "license": "Apache-2.0",
|
8 | {{#if privatePackage}}
|
9 | "private": {{privatePackage}},
|
10 | {{/if}}
|
11 | "publishConfig": {
|
12 | {{#if npmRegistry}}
|
13 | "registry": "{{npmRegistry}}",
|
14 | {{/if}}
|
15 | "access": "public",
|
16 | "main": "dist/index.esm.js",
|
17 | "types": "dist/index.d.ts"
|
18 | },
|
19 | "backstage": {
|
20 | "role": "web-library"
|
21 | },
|
22 | "scripts": {
|
23 | "start": "backstage-cli package start",
|
24 | "build": "backstage-cli package build",
|
25 | "lint": "backstage-cli package lint",
|
26 | "test": "backstage-cli package test",
|
27 | "clean": "backstage-cli package clean",
|
28 | "prepack": "backstage-cli package prepack",
|
29 | "postpack": "backstage-cli package postpack"
|
30 | },
|
31 | "dependencies": {
|
32 | "@backstage/core-plugin-api": "{{versionQuery '@backstage/core-plugin-api'}}",
|
33 | "@material-ui/core": "{{versionQuery '@material-ui/core' '4.12.2'}}"
|
34 | },
|
35 | "peerDependencies": {
|
36 | "react": "{{versionQuery 'react' '^16.13.1 || ^17.0.0'}}"
|
37 | },
|
38 | "devDependencies": {
|
39 | "@backstage/cli": "{{versionQuery '@backstage/cli'}}",
|
40 | "@backstage/test-utils": "{{versionQuery '@backstage/test-utils'}}",
|
41 | "@testing-library/jest-dom": "{{versionQuery '@testing-library/jest-dom' '5.10.1'}}",
|
42 | "@testing-library/react": "{{versionQuery '@testing-library/react' '12.1.3'}}"
|
43 | },
|
44 | "files": [
|
45 | "dist"
|
46 | ]
|
47 | }
|
48 |
|
\ | No newline at end of file |