|
14 | 14 | "type": "git", |
15 | 15 | "url": "https://github.com/storybookjs/test-runner" |
16 | 16 | }, |
17 | | - "author": "shilman", |
18 | 17 | "license": "MIT", |
| 18 | + "author": "shilman", |
19 | 19 | "main": "dist/index.js", |
20 | 20 | "module": "dist/index.mjs", |
21 | 21 | "types": "dist/index.d.ts", |
|
30 | 30 | ], |
31 | 31 | "scripts": { |
32 | 32 | "build": "tsup", |
33 | | - "build:watch": "tsup --watch", |
34 | | - "test": "jest", |
35 | | - "storybook": "storybook dev -p 6006", |
36 | | - "start": "concurrently \"yarn build:watch\" \"yarn storybook -- --quiet\"", |
37 | 33 | "build-storybook": "storybook build", |
| 34 | + "build:watch": "tsup --watch", |
| 35 | + "generate-dynamic-stories": "node scripts/generate-dynamic-stories.js", |
| 36 | + "prepare": "husky install", |
38 | 37 | "release": "yarn build && auto shipit", |
| 38 | + "start": "concurrently \"yarn build:watch\" \"yarn storybook -- --quiet\"", |
| 39 | + "storybook": "storybook dev -p 6006", |
| 40 | + "test": "jest", |
39 | 41 | "test-storybook": "node dist/test-storybook", |
40 | | - "test-storybook:failures": "SKIP_SNAPSHOTS=true TEST_FAILURES=1 yarn test-storybook --json --failOnConsole --outputFile test-results.json", |
41 | | - "test-storybook:no-cache": "yarn test-storybook --no-cache", |
42 | | - "test-storybook:json": "yarn test-storybook --stories-json", |
43 | 42 | "test-storybook:ci": "concurrently -k -s first -n \"SB,TEST\" -c \"magenta,blue\" \"yarn build-storybook --quiet && npx serve storybook-static -l 6006\" \"wait-on tcp:6006 && yarn test-storybook\"", |
44 | | - "test-storybook:ci-failures": "concurrently -k -s first -n \"SB,TEST\" -c \"magenta,blue\" \"TEST_FAILURES=1 yarn build-storybook --quiet && npx serve storybook-static -l 6006\" \"wait-on tcp:6006 && yarn test-storybook:failures\"", |
45 | 43 | "test-storybook:ci-coverage": "concurrently -k -s first -n \"SB,TEST\" -c \"magenta,blue\" \"yarn build-storybook --quiet && npx serve storybook-static -l 6006\" \"wait-on tcp:6006 && yarn test-storybook --coverage\"", |
| 44 | + "test-storybook:ci-failures": "concurrently -k -s first -n \"SB,TEST\" -c \"magenta,blue\" \"TEST_FAILURES=1 yarn build-storybook --quiet && npx serve storybook-static -l 6006\" \"wait-on tcp:6006 && yarn test-storybook:failures\"", |
46 | 45 | "test-storybook:ci-json": "concurrently -k -s first -n \"SB,TEST\" -c \"magenta,blue\" \"yarn build-storybook --quiet && npx serve storybook-static -l 6006\" \"wait-on tcp:6006 && SKIP_SNAPSHOTS=true yarn test-storybook:json\"", |
47 | | - "generate-dynamic-stories": "node scripts/generate-dynamic-stories.js", |
48 | | - "prepare": "husky install" |
| 46 | + "test-storybook:failures": "SKIP_SNAPSHOTS=true TEST_FAILURES=1 yarn test-storybook --json --failOnConsole --outputFile test-results.json", |
| 47 | + "test-storybook:json": "yarn test-storybook --stories-json", |
| 48 | + "test-storybook:no-cache": "yarn test-storybook --no-cache" |
| 49 | + }, |
| 50 | + "lint-staged": { |
| 51 | + "*.{ts,js,tsx,jsx,css,md}": "prettier --write" |
| 52 | + }, |
| 53 | + "dependencies": { |
| 54 | + "@babel/core": "^7.22.5", |
| 55 | + "@babel/generator": "^7.22.5", |
| 56 | + "@babel/template": "^7.22.5", |
| 57 | + "@babel/types": "^7.22.5", |
| 58 | + "@jest/types": "^29.6.3", |
| 59 | + "@storybook/core-common": "next", |
| 60 | + "@storybook/csf": "^0.1.2", |
| 61 | + "@storybook/csf-tools": "next", |
| 62 | + "@storybook/preview-api": "next", |
| 63 | + "@swc/core": "^1.3.18", |
| 64 | + "@swc/jest": "^0.2.23", |
| 65 | + "expect-playwright": "^0.8.0", |
| 66 | + "jest": "^29.6.4", |
| 67 | + "jest-circus": "^29.6.4", |
| 68 | + "jest-environment-node": "^29.6.4", |
| 69 | + "jest-junit": "^16.0.0", |
| 70 | + "jest-playwright-preset": "^4.0.0", |
| 71 | + "jest-runner": "^29.6.4", |
| 72 | + "jest-serializer-html": "^7.1.0", |
| 73 | + "jest-watch-typeahead": "^2.0.0", |
| 74 | + "playwright": "^1.14.0" |
49 | 75 | }, |
50 | 76 | "devDependencies": { |
51 | 77 | "@auto-it/released": "^11.0.1", |
|
66 | 92 | "babel-jest": "^29.0.0", |
67 | 93 | "babel-loader": "^8.1.0", |
68 | 94 | "babel-plugin-istanbul": "^6.1.1", |
| 95 | + "can-bind-to-host": "^1.1.1", |
| 96 | + "commander": "^9.0.0", |
69 | 97 | "concurrently": "^7.0.0", |
70 | 98 | "detect-package-manager": "^3.0.1", |
| 99 | + "glob": "^10.2.2", |
71 | 100 | "husky": "^8.0.0", |
72 | 101 | "jest-image-snapshot": "^6.2.0", |
73 | 102 | "lint-staged": "^13.0.3", |
| 103 | + "node-fetch": "^2", |
| 104 | + "pkg-up": "^5.0.0", |
74 | 105 | "prettier": "^2.8.1", |
75 | 106 | "react": "^17.0.1", |
76 | 107 | "react-dom": "^17.0.1", |
| 108 | + "read-pkg-up": "^7.0.1", |
77 | 109 | "rimraf": "^3.0.2", |
78 | 110 | "semver": "^7.5.4", |
79 | 111 | "storybook": "next", |
| 112 | + "tempy": "^1.0.1", |
| 113 | + "ts-dedent": "^2.0.0", |
80 | 114 | "ts-jest": "^29.0.0", |
81 | 115 | "tsup": "^6.5.0", |
82 | 116 | "typescript": "~4.9.4", |
83 | 117 | "vite": "^4.4.5", |
84 | 118 | "wait-on": "^7.2.0" |
85 | 119 | }, |
86 | | - "lint-staged": { |
87 | | - "*.{ts,js,tsx,jsx,css,md}": "prettier --write" |
| 120 | + "engines": { |
| 121 | + "node": "^16.10.0 || ^18.0.0 || >=20.0.0" |
88 | 122 | }, |
89 | 123 | "publishConfig": { |
90 | 124 | "access": "public" |
91 | 125 | }, |
92 | | - "dependencies": { |
93 | | - "@babel/core": "^7.22.5", |
94 | | - "@babel/generator": "^7.22.5", |
95 | | - "@babel/template": "^7.22.5", |
96 | | - "@babel/types": "^7.22.5", |
97 | | - "@jest/types": "^29.6.3", |
98 | | - "@storybook/core-common": "next", |
99 | | - "@storybook/csf": "^0.1.2", |
100 | | - "@storybook/csf-tools": "next", |
101 | | - "@storybook/preview-api": "next", |
102 | | - "@swc/core": "^1.3.18", |
103 | | - "@swc/jest": "^0.2.23", |
104 | | - "can-bind-to-host": "^1.1.1", |
105 | | - "commander": "^9.0.0", |
106 | | - "expect-playwright": "^0.8.0", |
107 | | - "glob": "^10.2.2", |
108 | | - "jest": "^29.6.4", |
109 | | - "jest-circus": "^29.6.4", |
110 | | - "jest-environment-node": "^29.6.4", |
111 | | - "jest-junit": "^16.0.0", |
112 | | - "jest-playwright-preset": "^4.0.0", |
113 | | - "jest-runner": "^29.6.4", |
114 | | - "jest-serializer-html": "^7.1.0", |
115 | | - "jest-watch-typeahead": "^2.0.0", |
116 | | - "node-fetch": "^2", |
117 | | - "playwright": "^1.14.0", |
118 | | - "read-pkg-up": "^7.0.1", |
119 | | - "tempy": "^1.0.1", |
120 | | - "ts-dedent": "^2.0.0" |
121 | | - }, |
122 | | - "engines": { |
123 | | - "node": "^16.10.0 || ^18.0.0 || >=20.0.0" |
124 | | - }, |
125 | 126 | "auto": { |
126 | 127 | "prereleaseBranches": [ |
127 | 128 | "next", |
|
0 commit comments