-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
45 lines (45 loc) · 1.68 KB
/
package.json
File metadata and controls
45 lines (45 loc) · 1.68 KB
1
2
3
4
5
6
7
8
9
10
11
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
{
"name": "mpp-inspector-monorepo",
"private": true,
"workspaces": [
"packages/*"
],
"scripts": {
"build": "npm run build --workspace=packages/cli",
"build:mock": "npm run build --workspace=packages/mock-server",
"build:plugin": "npm run build --workspace=packages/plugin",
"build:all": "npm run build --workspaces",
"dev": "npm run dev --workspace=packages/cli",
"dev:plugin": "npm run dev --workspace=packages/plugin",
"test": "npm run test --workspace=packages/cli",
"test:integration": "npm run test:integration --workspace=packages/cli",
"test:integration:real": "npm run test:integration:real --workspace=packages/cli",
"lint": "npm run lint --workspace=packages/cli",
"check": "npm run lint && npm run test && npm run build",
"lint:eslint": "eslint packages/*/src/**/*.ts",
"format": "prettier --write \"packages/*/src/**/*.ts\"",
"format:check": "prettier --check \"packages/*/src/**/*.ts\"",
"test:coverage": "npm run test:coverage --workspace=packages/cli",
"prepare": "husky",
"mock": "npm run start --workspace=packages/mock-server",
"demo": "echo 'Start the mock server first: npm run mock' && echo 'Then in another terminal:' && echo ' npx mpp-inspector inspect http://localhost:3402/v1/query' && echo ' npx mpp-inspector scan localhost:3402'"
},
"engines": {
"node": ">=20.0.0"
},
"devDependencies": {
"@eslint/js": "^9.19.0",
"eslint": "^9.19.0",
"eslint-config-prettier": "^10.1.8",
"husky": "^9.1.7",
"lint-staged": "^16.4.0",
"prettier": "^3.8.1",
"typescript-eslint": "^8.57.2"
},
"lint-staged": {
"*.ts": [
"prettier --write",
"eslint --fix"
]
}
}