-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
79 lines (79 loc) · 2.36 KB
/
package.json
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
{
"name": "@yukun-han/selectable-response",
"version": "0.2.6",
"description": "Customized variant handlers for Mocks Server to return response by selectors.",
"type": "module",
"keywords": ["Mocks Server", "mock", "variant handler", "plugin"],
"contributors": [
"Yukun Han <[email protected]>",
"Han Chen <[email protected]>"
],
"repository": {
"type": "git",
"url": "https://github.com/yukun-han/selectable-response.git"
},
"license": "MIT",
"packageManager": "[email protected]",
"main": "dist/cjs/index.cjs",
"module": "dist/esm/index.js",
"types": "dist/types/index.d.ts",
"exports": {
"types": "./dist/types/index.d.ts",
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.cjs"
},
"files": ["dist", "README.md", "LICENSE"],
"scripts": {
"clean": "rm -rf dist",
"build": "pnpm run clean && tsc && npx rollup -c rollup.config.js",
"check": "biome check .",
"check:ci": "biome ci --diagnostic-level=error .",
"check:fix": "biome check --apply-unsafe .",
"test": "pnpm run check && pnpm run build && jest --coverage",
"test:ci": "pnpm run check:ci && pnpm run build && jest",
"test:badges": "jest-coverage-badges input './tests/coverage/coverage-summary.json' output './tests/badges'",
"lint-staged": "lint-staged",
"prepare": "husky"
},
"lint-staged": {
"*.{js,ts,json}": "biome check --apply --no-errors-on-unmatched"
},
"devDependencies": {
"@biomejs/biome": "^1.7.3",
"@rollup/plugin-commonjs": "^26.0.1",
"@rollup/plugin-json": "^6.1.0",
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-terser": "^0.4.4",
"@rollup/plugin-typescript": "^11.1.6",
"@types/jest": "~29.5",
"@types/jsonpath": "~0.2",
"@types/node": "^20.10.0",
"cross-fetch": "^4.0.0",
"husky": "~9.1",
"jest": "~29.7",
"jest-coverage-badges": "^1.1.2",
"lint-staged": "~15.2",
"radash": "~12.1.0",
"rollup": "^4.18.0",
"ts-jest": "~29.2",
"typescript": "^5.3.3",
"wait-on": "^7.2.0"
},
"dependencies": {
"jsonpath-plus": "^10.0.7"
},
"peerDependencies": {
"@mocks-server/core": "~4.0",
"@types/express": "~4.17",
"ajv": "~8.14"
},
"engines": {
"node": ">=18"
},
"resolutions": {
"minimist": "^1.2.8",
"got": "^11.8.5",
"express": "~4.21.1",
"body-parser": "~1.20.3"
}
}