package.json 1.67 KB
Newer Older
Addshore's avatar
Addshore committed
1
2
3
4
5
6
7
8
{
  "name": "root",
  "version": "1.0.0",
  "private": true,
  "engines": {
    "node": "12 || 14"
  },
  "scripts": {
Addshore's avatar
Addshore committed
9
    "dev": "concurrently \"yarn start-frontend\" \"yarn start-backend\"",
10
    "start": "node packages/backend --config app-config.yaml --config app-config.production.yaml",
Addshore's avatar
Addshore committed
11
    "start-frontend": "yarn workspace app start",
Addshore's avatar
Addshore committed
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
    "start-backend": "yarn workspace backend start",
    "build": "lerna run build",
    "build-image": "yarn workspace backend build-image",
    "tsc": "tsc",
    "tsc:full": "tsc --skipLibCheck false --incremental false",
    "clean": "backstage-cli clean && lerna run clean",
    "diff": "lerna run diff --",
    "test": "lerna run test --since origin/master -- --coverage",
    "test:all": "lerna run test -- --coverage",
    "lint": "lerna run lint --since origin/master --",
    "lint:all": "lerna run lint --",
    "prettier:check": "prettier --check .",
    "create-plugin": "backstage-cli create-plugin --scope internal --no-private",
    "remove-plugin": "backstage-cli remove-plugin"
  },
  "resolutions": {
    "graphql-language-service-interface": "2.8.2",
    "graphql-language-service-parser": "1.9.0"
  },
  "workspaces": {
    "packages": [
      "packages/*",
      "plugins/*"
    ]
  },
  "devDependencies": {
    "@backstage/cli": "^0.7.11",
    "@spotify/prettier-config": "^7.0.0",
    "concurrently": "^6.0.0",
    "lerna": "^4.0.0",
    "prettier": "^2.3.2"
  },
  "prettier": "@spotify/prettier-config",
  "lint-staged": {
    "*.{js,jsx,ts,tsx}": [
      "eslint --fix",
      "prettier --write"
    ],
    "*.{json,md}": [
      "prettier --write"
    ]
  },
  "jest": {
    "transformModules": [
      "@asyncapi/react-component"
    ]
  }
}