|
14 | 14 | "dist/"
|
15 | 15 | ],
|
16 | 16 | "scripts": {
|
17 |
| - "build": "tsc --project tsconfig.build.json", |
| 17 | + "build": "tsc --project tsconfig.build.json && npm run build:ui-static", |
18 | 18 | "build:clean": "rimraf dist && yarn build",
|
19 | 19 | "lint": "yarn lint:eslint && yarn lint:misc --check",
|
20 | 20 | "lint:eslint": "eslint . --cache --ext js,ts",
|
21 | 21 | "lint:fix": "yarn lint:eslint --fix && yarn lint:misc --write",
|
22 | 22 | "lint:misc": "prettier '**/*.json' '**/*.md' '!CHANGELOG.md' '**/*.yml' '!.yarnrc.yml' --ignore-path .gitignore --no-error-on-unmatched-pattern",
|
23 | 23 | "prepack": "./scripts/prepack.sh",
|
24 | 24 | "test": "jest && jest-it-up --config jest.config.cjs",
|
25 |
| - "test:watch": "jest --watch" |
| 25 | + "test:watch": "jest --watch", |
| 26 | + "build:ui-static": "cp src/ui/index.html dist/ui" |
26 | 27 | },
|
27 | 28 | "dependencies": {
|
28 | 29 | "@metamask/action-utils": "^1.0.0",
|
29 | 30 | "@metamask/auto-changelog": "^4.0.0",
|
30 | 31 | "@metamask/utils": "^9.0.0",
|
31 | 32 | "debug": "^4.3.4",
|
32 | 33 | "execa": "^8.0.1",
|
| 34 | + "express": "^4.21.2", |
33 | 35 | "pony-cause": "^2.1.9",
|
| 36 | + "react": "^19.0.0", |
| 37 | + "react-dom": "^19.0.0", |
| 38 | + "react-markdown": "^9.0.3", |
34 | 39 | "semver": "^7.5.4",
|
35 | 40 | "validate-npm-package-name": "^5.0.0",
|
36 | 41 | "which": "^3.0.0",
|
|
48 | 53 | "@metamask/eslint-config-nodejs": "^10.0.0",
|
49 | 54 | "@metamask/eslint-config-typescript": "^10.0.0",
|
50 | 55 | "@types/debug": "^4.1.7",
|
| 56 | + "@types/express": "^5.0.0", |
51 | 57 | "@types/jest": "^29.5.10",
|
52 | 58 | "@types/jest-when": "^3.5.2",
|
53 | 59 | "@types/node": "^17.0.23",
|
54 | 60 | "@types/prettier": "^2.7.3",
|
| 61 | + "@types/react": "^19.0.8", |
| 62 | + "@types/react-dom": "^19.0.3", |
55 | 63 | "@types/rimraf": "^4.0.5",
|
56 | 64 | "@types/validate-npm-package-name": "^4.0.2",
|
57 | 65 | "@types/which": "^3.0.0",
|
|
0 commit comments