-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
70 lines (70 loc) · 1.99 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
{
"name": "playwright-record-and-mock",
"version": "0.2.1",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"repository": "https://github.com/superwf/playwright-record-and-mock.git",
"author": "superwf <superwf@gmail.com>",
"license": "MIT",
"keywords": [
"playwright",
"plugin",
"record",
"mock"
],
"bin": {
"pram": "lib/cli.js"
},
"scripts": {
"build": "tsc -p tsconfig.lib.json && chmod +x lib/cli.js",
"test": "jest",
"e2e-codegen": "PRAM_DEV_MODE=true cd tmp && cp ../playwright.config.ts ./ && ts-node -T ../src/cli.ts init && ts-node -T ../src/cli.ts case1",
"e2e": "PRAM_USE_PATH_ALIAS=true PRAM_DEBUG=true cd tmp && playwright test",
"postinstall": "mkdir tmp",
"prepublishOnly": "yarn test && yarn build && standard-version"
},
"files": [
"tsconfig.json",
"lib"
],
"publishConfig": {
"registry": "https://registry.npmjs.org"
},
"devDependencies": {
"@babel/core": "^7.18.10",
"@babel/preset-env": "^7.18.10",
"@babel/preset-typescript": "^7.18.6",
"@types/fs-extra": "^9.0.13",
"@types/jest": "^28.1.6",
"@types/minimatch": "^3.0.5",
"@types/temp": "^0.9.1",
"@typescript-eslint/eslint-plugin": "^5.32.0",
"@typescript-eslint/parser": "^5.32.0",
"eslint": "^8.21.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-prettier": "^4.2.1",
"jest": "^28.1.3",
"standard-version": "^9.5.0",
"temp": "^0.9.4",
"typescript": "^4.7.4"
},
"dependencies": {
"@babel/generator": "^7.18.10",
"@babel/parser": "^7.18.10",
"@babel/template": "^7.18.10",
"@babel/traverse": "^7.18.10",
"@babel/types": "^7.18.10",
"@playwright/test": "^1.25.0",
"chalk": "4",
"commander": "^9.4.0",
"fs-extra": "^10.1.0",
"joi": "^17.6.0",
"json5": "^2.2.1",
"minimatch": "^5.1.0",
"prettier": "^2.7.1",
"short-uuid": "^4.2.0",
"ts-node": "^10.9.1"
}
}