|
4 | 4 | "description": "WebdriverIO for the vscode", |
5 | 5 | "version": "0.0.1", |
6 | 6 | "type": "module", |
| 7 | + "private": true, |
7 | 8 | "author": "WebdriverIO Team", |
8 | 9 | "packageManager": "[email protected]", |
9 | 10 | "license": "MIT", |
10 | | - "repository": { |
11 | | - "type": "git", |
12 | | - "url": "https://github.com/webdriverio/vscode-webdriverio.git" |
13 | | - }, |
14 | | - "bugs": { |
15 | | - "url": "https://github.com/webdriverio/vscode-webdriverio/issues" |
16 | | - }, |
17 | | - "keywords": [ |
18 | | - "WebdriverIO", |
19 | | - "test", |
20 | | - "typescript", |
21 | | - "javascript" |
22 | | - ], |
23 | | - "categories": [ |
24 | | - "Testing" |
25 | | - ], |
26 | | - "engines": { |
27 | | - "vscode": "^1.98.0" |
28 | | - }, |
29 | | - "activationEvents": [ |
30 | | - "onLanguage:javascript", |
31 | | - "onLanguage:typescript", |
32 | | - "workspaceContains:**/wdio.conf.js", |
33 | | - "workspaceContains:**/wdio.conf.ts" |
34 | | - ], |
35 | 11 | "main": "./packages/vscode-webdriverio/dist/extension.cjs", |
36 | | - "contributes": { |
37 | | - "commands": [ |
38 | | - { |
39 | | - "command": "webdriverio.configureTests", |
40 | | - "title": "WebdriverIO: Configure Tests" |
41 | | - } |
42 | | - ], |
43 | | - "viewsContainers": { |
44 | | - "activitybar": [ |
45 | | - { |
46 | | - "id": "webdriverio-explorer", |
47 | | - "title": "WebdriverIO Explorer", |
48 | | - "icon": "media/icon.svg" |
49 | | - } |
50 | | - ] |
51 | | - }, |
52 | | - "configuration": { |
53 | | - "title": "WebdriverIO", |
54 | | - "properties": { |
55 | | - "webdriverio.nodeExecutable": { |
56 | | - "markdownDescription": "The path to the Node.js executable. If not assigned, WebdriverIO just passes down `'node'` to `child_process.spawn`.", |
57 | | - "type": "string" |
58 | | - }, |
59 | | - "webdriverio.configFilePattern": { |
60 | | - "type": "array", |
61 | | - "items": { |
62 | | - "type": "string" |
63 | | - }, |
64 | | - "default": [ |
65 | | - "**/wdio.conf.{ts,js}" |
66 | | - ], |
67 | | - "description": "Glob pattern for WebdriverIO configuration file" |
68 | | - }, |
69 | | - "webdriverio.logLevel": { |
70 | | - "type": "string", |
71 | | - "enum": [ |
72 | | - "trace", |
73 | | - "debug", |
74 | | - "info", |
75 | | - "warn", |
76 | | - "error", |
77 | | - "silent" |
78 | | - ], |
79 | | - "default": "info", |
80 | | - "description": "Set the logLevel" |
81 | | - }, |
82 | | - "webdriverio.showOutput": { |
83 | | - "type": "boolean", |
84 | | - "default": true, |
85 | | - "description": "Show WebdriverIO output in the test result" |
86 | | - } |
87 | | - } |
88 | | - } |
89 | | - }, |
90 | 12 | "scripts": { |
91 | 13 | "vscode:prepublish": "pnpm run package", |
92 | 14 | "compile": "turbo run typecheck build --filter=./packages/*", |
93 | 15 | "build": "turbo run build --filter=./packages/*", |
94 | 16 | "typecheck": "turbo run typecheck --filter=./packages/*", |
95 | | - "watch": "npm-run-all -p watch:*", |
| 17 | + "watch": "run-p watch:*", |
96 | 18 | "watch:build": "turbo watch build --filter=./packages/*", |
97 | 19 | "watch:typecheck": "turbo watch typecheck --filter=./packages/*", |
98 | 20 | "watch:test": "vitest", |
|
101 | 23 | "format:fix": "prettier --write .", |
102 | 24 | "lint": "eslint .", |
103 | 25 | "lint:fix": "eslint --fix .", |
104 | | - "test:e2e": "pnpm --filter @vscode-wdio/e2e run test:e2e", |
| 26 | + "test": "run-s test:*", |
105 | 27 | "test:unit": "vitest --run", |
| 28 | + "test:e2e": "pnpm --filter @vscode-wdio/e2e run test:e2e", |
106 | 29 | "coverage": "vitest --run --coverage", |
107 | | - "graph": "pnpm run build --graph assets/build.png" |
| 30 | + "graph": "pnpm run build --graph assets/build.png", |
| 31 | + "postinstall": "run-s postinstall:*", |
| 32 | + "postinstall:husky": "husky" |
108 | 33 | }, |
109 | 34 | "devDependencies": { |
110 | 35 | "@types/node": "20.x", |
|
0 commit comments