-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
131 lines (131 loc) · 6.99 KB
/
Copy pathpackage.json
File metadata and controls
131 lines (131 loc) · 6.99 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
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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
{
"name": "e2ed",
"version": "0.21.8",
"description": "E2E testing framework over Playwright",
"keywords": [
"E2E",
"Playwright",
"testing"
],
"author": "uid11",
"license": "MIT",
"bin": {
"e2ed": "./bin/localEntrypoint.js",
"e2ed-init": "./bin/init.js",
"e2ed-install-browsers": "./bin/installBrowsers.js"
},
"bugs": "https://github.com/joomcode/e2ed/issues",
"engines": {
"node": ">=22.14.0"
},
"packageManager": "npm@11",
"homepage": "https://github.com/joomcode/e2ed#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/joomcode/e2ed.git"
},
"dependencies": {
"@playwright/test": "1.62.1",
"create-locator": "0.0.27",
"get-modules-graph": "0.0.11",
"parse-gherkin": "0.0.2",
"parse-statements": "1.0.14",
"sort-json-keys": "1.0.3"
},
"devDependencies": {
"@playwright/browser-chromium": "1.62.1",
"@types/node": "26.2.0",
"@typescript-eslint/eslint-plugin": "7.18.0",
"@typescript-eslint/parser": "7.18.0",
"assert-modules-support-case-insensitive-fs": "1.0.1",
"assert-package-lock-is-consistent": "1.0.0",
"eslint": "8.57.1",
"eslint-config-airbnb-base": "15.0.0",
"eslint-config-prettier": "10.1.8",
"eslint-plugin-import": "2.32.0",
"eslint-plugin-simple-import-sort": "14.0.0",
"eslint-plugin-typescript-sort-keys": "3.3.0",
"husky": "9.1.7",
"prettier": "3.9.6",
"typescript": "6.0.3"
},
"peerDependencies": {
"@types/node": ">=22",
"typescript": ">=5"
},
"exports": {
".": "./index.js",
"./actions": "./actions/index.js",
"./configurator": "./configurator/index.js",
"./constants": "./constants/index.js",
"./context": "./context/index.js",
"./createLocator": "./createLocator/index.js",
"./generators": "./generators/index.js",
"./getModulesGraph": "./getModulesGraph/index.js",
"./package.json": "./package.json",
"./parseGherkin": "./parseGherkin/index.js",
"./selectors": "./selectors/index.js",
"./types": "./types/index.js",
"./utils": "./utils/index.js",
"./utils/*": "./utils/*/index.js"
},
"scripts": {
"asserts": "assert-modules-support-case-insensitive-fs ./autotests ./src && assert-package-lock-is-consistent",
"precheck:all": "npm run asserts && npm run clear:lint:cache && npm run build",
"check:all": "npm audit && npm run parallel check:branch check:playwright-version lint test",
"check:branch": "node ./build/checkBranch.js",
"check:playwright-version": "./bin/checkPlaywrightBrowserChromiumVersion.sh",
"clear:lint:cache": "rm -f ./build/tsconfig.tsbuildinfo ./node_modules/.cache/lint-*",
"lint": "npm run parallel lint:es lint:prettier lint:types",
"lint:es": "eslint --cache --cache-location=./node_modules/.cache/lint-es --cache-strategy=content --ext=.ts --max-warnings=0 --report-unused-disable-directives .",
"lint:prettier": "prettier --cache --cache-location=./node_modules/.cache/lint-prettier --cache-strategy=content --check --ignore-path=.gitignore . !autotests/fixtures/fullMocks !docs/index.html",
"lint:prettier:fix": "prettier --cache --cache-location=./node_modules/.cache/lint-prettier --cache-strategy=content --write --ignore-path=.gitignore . !autotests/fixtures/fullMocks !docs/index.html",
"lint:types": "npm run parallel lint:types:base lint:types:build",
"lint:types:base": "tsc --noEmit",
"lint:types:build": "if [ -f ./build/tsconfig.json ]; then tsc --noEmit --project ./build; else echo 'No build directory'; fi",
"make:executable": "./bin/makeExecutable.sh",
"parallel": "./bin/runParallel.sh",
"test": "npm run test:docker && npm run test:local",
"build:clear": "rm -rf ./build",
"prebuild": "npm run build:clear",
"build": "tsc; echo 'Compilation completed'",
"postbuild": "npm run build:rename && npm run build:remove && npm run build:copy && npm run build:init",
"prebuild:rename": "mkdir -p ./build/node_modules",
"build:rename": "mv ./build/src ./build/node_modules/e2ed",
"build:remove": "npm run build:remove:empty-d-ts && npm run build:remove:types-js",
"build:remove:empty-d-ts": "find ./build/node_modules/e2ed/ -name *.d.ts -size 11c -exec rm {} \\;",
"build:remove:types-js": "find ./build/node_modules/e2ed/types/ -name *.js -exec rm {} \\;",
"postbuild:remove": "touch ./build/node_modules/e2ed/types/index.js",
"build:copy": "npm run build:copy:bin && npm run build:copy:scripts && npm run build:copy:meta && npm run build:copy:example && npm run build:copy:tsconfig",
"build:copy:bin": "cp ./bin/dockerEntrypoint.sh ./build/node_modules/e2ed/bin",
"postbuild:copy:bin": "npm run make:executable ./build/node_modules/e2ed/bin/*.js",
"build:copy:scripts": "cp ./build/scripts/*.js ./build",
"build:copy:meta": "cp -R ./LICENSE ./logo.svg ./README.md ./styles ./build/node_modules/e2ed",
"postbuild:copy:meta": "node ./build/writePrunedPackageJson.js",
"prebuild:copy:example": "rm -r ./build/autotests",
"build:copy:example": "cp -R ./autotests ./build/node_modules/e2ed/",
"postbuild:copy:example": "(cd ./build/node_modules/e2ed/autotests && rm -r ./node_modules ./tests/internalTypeTests && mv ./.gitignore ./gitignore && mv ./packs/local.example.ts ./packs/local.ts)",
"build:copy:tsconfig": "cp ./tsconfig.json ./build",
"build:init": "(cd ./build && ./node_modules/e2ed/bin/init.js)",
"postbuild:init": "cp ./src/package.json ./build && cp -R ./autotests/tests/internalTypeTests ./build/autotests/tests",
"preversion": "npm run check:all",
"version": "npm run update:changelog && npm run update:github:pages",
"update:changelog": "node ./build/updateChangelog.js",
"postupdate:changelog": "prettier --write ./CHANGELOG.md && git add ./CHANGELOG.md",
"update:github:pages": "cp ./build/docker/autotests/reports/report.html ./docs/index.html && cp -r ./autotests/fixtures/expectedScreenshots ./build/docker/autotests/reports/screenshots ./docs",
"postupdate:github:pages": "git add ./docs",
"postversion": "git push --follow-tags && npm run release",
"prerelease": "npm run build",
"release": "npm publish ./build/node_modules/e2ed",
"postrelease": "if [ -f ./local/postrelease.sh ]; then ./local/postrelease.sh; else echo 'No postrelease hook'; fi",
"build:docker": "./bin/buildDocker.sh",
"pretest:docker": "npm run build:docker && npm run test:docker:copy",
"pretest:docker:copy": "rm -rf ./build/docker && mkdir --parents ./build/docker/node_modules/e2ed",
"test:docker:copy": "cp -R ./build/autotests ./build/docker/autotests && cp ./build/tsconfig.json ./build/docker",
"posttest:docker:copy": "rm -rf ./build/docker/autotests/reports && ./bin/addPackageJsonToBuildDocker.sh",
"test:docker": "(cd ./build/docker && E2ED_ORIGIN=https://bing.com ./autotests/bin/runDocker.sh ./autotests/packs/allTests.ts)",
"test:local": "(cd ./build && E2ED_ORIGIN=https://bing.com ./node_modules/e2ed/bin/localEntrypoint.js ./autotests/packs/allTests.ts)"
},
"sideEffects": false,
"types": "index.d.ts"
}