Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
68 lines (68 loc) · 3.16 KB
/
Copy pathpackage.json
File metadata and controls
68 lines (68 loc) · 3.16 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
{
"name": "@chromaui/chromatic-e2e",
"version": "0.0.56",
"private": true,
"description": "Archive end-to-end tests to be replayed in Storybook and Chromatic",
"license": "MIT",
"author": "Chromatic <tom@chromatic.com>",
"repository": {
"type": "git",
"url": "https://github.com/chromaui/chromatic-e2e.git"
},
"type": "module",
"scripts": {
"archive-storybook:cypress": "CHROMATIC_ARCHIVE_LOCATION=tests/cypress/test-downloads pnpm -C packages/cypress exec dist/bin/archive-storybook.mjs",
"archive-storybook:playwright": "CHROMATIC_ARCHIVE_LOCATION=test-results pnpm -C packages/playwright exec dist/bin/archive-storybook.mjs",
"archive-storybook:vitest": "CHROMATIC_ARCHIVE_LOCATION=test/.vitest/chromatic pnpm -C packages/vitest exec dist/bin/archive-storybook.mjs",
"build": "pnpm -r --parallel run build && node scripts/prepare-embedded.ts",
"build:cypress": "pnpm --filter @chromatic-com/cypress run build && node scripts/prepare-embedded.ts cypress",
"build:playwright": "pnpm --filter @chromatic-com/playwright run build && node scripts/prepare-embedded.ts playwright",
"build:vitest": "pnpm --filter @chromatic-com/vitest run build && node scripts/prepare-embedded.ts vitest",
"prepare-embedded": "node scripts/prepare-embedded.ts",
"override-vitest": "node scripts/override-vitest.ts",
"build-archive-storybook:cypress": "CHROMATIC_ARCHIVE_LOCATION=tests/cypress/test-downloads pnpm -C packages/cypress exec dist/bin/build-archive-storybook.mjs",
"build-archive-storybook:playwright": "CHROMATIC_ARCHIVE_LOCATION=test-results pnpm -C packages/playwright exec dist/bin/build-archive-storybook.mjs",
"build-archive-storybook:vitest": "CHROMATIC_ARCHIVE_LOCATION=test/.vitest/chromatic pnpm -C packages/vitest exec dist/bin/build-archive-storybook.mjs",
"changeset": "changeset",
"dev:server": "node test-server/server",
"lint": "oxlint",
"fmt": "oxfmt",
"publint": "pnpm -r --parallel --filter !@chromatic-com/shared-e2e exec publint",
"prepare": "husky install",
"release": "pnpm build && pnpm changeset publish",
"test:unit": "vitest run --configLoader=runner",
"test:cypress": "pnpm --filter @chromatic-com/cypress test:cypress",
"test:playwright": "pnpm --filter @chromatic-com/playwright test:playwright",
"test:vitest": "pnpm --filter @chromatic-com/vitest test:vitest"
},
"devDependencies": {
"@changesets/cli": "^2.31.1",
"@testing-library/dom": "^8.1.0",
"@testing-library/react": "^12.0.0",
"@testing-library/user-event": "^13.2.1",
"@types/chrome-remote-interface": "^0",
"@types/express": "^4.17.17",
"@types/node": "^22.0.0",
"@types/node-fetch": "^2.6.6",
"@vitest/coverage-v8": "^5.0.0",
"express": "^4.18.2",
"express-basic-auth": "^1.2.1",
"globals": "^15.12.0",
"husky": ">=6",
"lint-staged": ">=10",
"oxfmt": "^0.65.0",
"oxlint": "^1.80.0",
"oxlint-tsgolint": "^7.0.2001",
"playwright": "^1.46.1",
"publint": "^0.3.24",
"typescript": "^5.9.3",
"vitest": "^5.0.0"
},
"lint-staged": {
"*.{ts,js,css,md}": "oxfmt"
},
"engines": {
"node": ">=22"
},
"packageManager": "pnpm@11.5.3"
}