forked from ruifigueira/playwright-crx
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
92 lines (92 loc) · 3.93 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
80
81
82
83
84
85
86
87
88
89
90
91
92
{
"name": "playwright-crx",
"version": "0.10.0",
"engines": {
"node": ">=16"
},
"author": {
"name": "Rui Figueira"
},
"license": "Apache-2.0",
"scripts": {
"ci:pw:core-utils-bundle": "npm ci --prefix ./playwright/packages/playwright-core/bundles/utils",
"ci:pw:core-zip-bundle": "npm ci --prefix ./playwright/packages/playwright-core/bundles/zip",
"ci:pw:test-babel-bundle": "npm ci --prefix ./playwright/packages/playwright/bundles/babel",
"ci:pw:test-expect-bundle": "npm ci --prefix ./playwright/packages/playwright/bundles/expect",
"ci:pw:test-utils-bundle": "npm ci --prefix ./playwright/packages/playwright/bundles/utils",
"ci:pw:bundles": "npm run ci:pw:core-utils-bundle && npm run ci:pw:core-zip-bundle && npm run ci:pw:test-babel-bundle && npm run ci:pw:test-expect-bundle && npm run ci:pw:test-utils-bundle",
"clean:pw:bundles": "rimraf -g ./playwright/packages/playwright-core/bundles/**/node_modules && rimraf -g ./playwright/packages/playwright/bundles/**/node_modules",
"clean:pw": "npm run clean:pw:bundles && cd ./playwright && npm run clean",
"generate:pw": "cd ./playwright && node ./utils/generate_injected.js",
"build:examples:todomvc": "npm run build --prefix ./examples/todomvc-crx",
"build:examples:recorder": "npm run build --prefix ./examples/recorder-crx",
"build:examples": "npm run build:examples:todomvc && npm run build:examples:recorder",
"clean:examples": "rimraf ./examples/recorder-crx/dist && rimraf ./examples/todomvc-crx/dist",
"build:tests": "npm run build --prefix ./tests",
"clean:tests": "rimraf ./tests/playwright-report && rimraf ./tests/test-results",
"generate:crx": "node ./utils/generate_test_types.js",
"build:crx": "npm run generate:pw && npm run generate:crx && vite build",
"clean:crx": "rimraf ./lib",
"build": "npm run ci:pw:bundles && npm run build:crx && npm run build:examples && npm run build:tests",
"clean": "npm run clean:pw && npm run clean:examples && npm run clean:tests && npm run clean:crx",
"test:install": "cd ./tests && npx playwright install --with-deps chromium chromium-tip-of-tree",
"test": "cd ./tests && npx playwright test",
"test-ui": "cd ./tests && npx playwright test --ui --timeout 0"
},
"workspaces": [
"examples/recorder-crx",
"examples/todomvc-crx",
"tests"
],
"exports": {
".": {
"types": "./index.d.ts",
"import": "./lib/index.mjs",
"require": "./lib/index.js",
"default": "./lib/index.js"
},
"./test": {
"types": "./test.d.ts",
"import": "./lib/test.mjs",
"require": "./lib/test.js",
"default": "./lib/test.js"
},
"./package.json": "./package.json"
},
"devDependencies": {
"@types/chrome": "^0.0.266",
"@types/debug": "^4.1.12",
"@vitejs/plugin-react": "^4.2.1",
"assert": "^2.1.0",
"babel-bundle": "file:./playwright/packages/playwright/bundles/babel",
"browserify-zlib": "^0.2.0",
"buffer": "^6.0.3",
"crypto-browserify": "^3.12.0",
"debug": "^4.3.4",
"events": "^3.3.0",
"expect-bundle": "file:./playwright/packages/playwright/bundles/expect",
"https-browserify": "^1.0.0",
"inspector": "^0.5.0",
"memfs": "^4.7.7",
"os-browserify": "^0.3.0",
"path": "^0.12.7",
"process": "^0.11.10",
"react": "^18.1.0",
"react-dom": "^18.1.0",
"readable-stream": "^4.5.2",
"rimraf": "^5.0.5",
"rollup-plugin-sourcemaps": "^0.6.3",
"setimmediate": "^1.0.5",
"stream-http": "^3.2.0",
"string_decoder": "^1.3.0",
"test-utils-bundle": "file:./playwright/packages/playwright/bundles/utils",
"typescript": "^5.3.2",
"url": "^0.11.3",
"util": "^0.12.5",
"utils-bundle": "file:./playwright/packages/playwright-core/bundles/utils",
"vite": "^5.0.13",
"vite-plugin-require-transform": "1.0.21",
"web-package": "file:./playwright/packages/web",
"zip-bundle": "file:./playwright/packages/playwright-core/bundles/zip"
}
}