-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
99 lines (99 loc) · 3.38 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
93
94
95
96
97
98
99
{
"name": "shoreline",
"private": true,
"repository": {
"type": "git",
"url": "git+https://github.com/vtex/shoreline.git"
},
"engines": {
"node": ">=20"
},
"packageManager": "[email protected]",
"scripts": {
"preinstall": "npx only-allow pnpm",
"lerna": "lerna",
"turbo": "turbo",
"build": "pnpm turbo run build",
"dev": "pnpm turbo run dev --no-cache --parallel --continue",
"clean": "sh scripts/clean.sh && pnpm i && pnpm build",
"lint": "biome check .",
"lint-fix": "biome check --write .",
"commit": "cz",
"dev:styles": "npm --prefix packages/shoreline run dev",
"dev:storybook": "concurrently -p [{name}] -n storybook,shoreline \"pnpm storybook dev -p 6006\" \"pnpm run dev:styles\"",
"dev:docs": "npm --prefix packages/docs run dev",
"build:docs": "npm --prefix packages/docs run build-docs",
"build:storybook": "pnpm build && pnpm storybook build",
"test": "vitest",
"version": "lerna run version",
"chromatic": "chromatic --exit-zero-on-changes --build-script-name=build:storybook",
"gen:component": "plop component",
"create:icon": "plop icon",
"create:icon-variant": "plop icon-variant",
"build:storybook:ci": "storybook build",
"build:ci": "pnpm turbo run build",
"test:ci": "pnpm test",
"test:storybook": "pnpm run build:storybook:ci && pnpm dlx playwright install chromium --with-deps && test-storybook --browsers chromium",
"test:storybook:ci": "concurrently -k -s first -n storybook@shoreline,test:storybook@shoreline -c magenta,blue \"http-server storybook-static --port 6006 --silent\" \"wait-on tcp:127.0.0.1:6006 && pnpm run test:storybook\"",
"prepare": "husky install",
"commitlint": "commitlint --edit"
},
"devDependencies": {
"@biomejs/biome": "1.9.4",
"@chromatic-com/storybook": "^1",
"@commitlint/cli": "^9.1.2",
"@commitlint/config-conventional": "^9.1.2",
"@commitlint/prompt": "^9.1.2",
"@playwright/test": "^1.43.0",
"@storybook/addon-a11y": "^8.3.6",
"@storybook/addon-actions": "^8.3.6",
"@storybook/addon-essentials": "^8.3.6",
"@storybook/addon-interactions": "^8.3.6",
"@storybook/addon-links": "^8.3.6",
"@storybook/addon-storysource": "^8.3.6",
"@storybook/react": "^8.3.6",
"@storybook/react-vite": "^8.3.6",
"@storybook/react-webpack5": "^8.3.6",
"@storybook/test-runner": "^0.17.0",
"@storybook/theming": "^8.3.6",
"@types/node": "20.14.9",
"@types/react": "18.3.11",
"@types/react-dom": "18.3.1",
"@vitejs/plugin-react": "4.1.0",
"@vtex/shoreline-test-utils": "workspace:*",
"chromatic": "^9.1.0",
"commitizen": "^4.2.0",
"concurrently": "^8.2.2",
"http-server": "^14.1.1",
"husky": "^8.0.3",
"jsdom": "23.0.0",
"lerna": "8.1.4",
"lint-staged": "^14.0.1",
"npm-run-all2": "^5.0.0",
"plop": "3.1.2",
"raw.macro": "^0.4.2",
"react": "18.3.1",
"react-dom": "18.3.1",
"react-test-renderer": "18.3.1",
"storybook": "^8.3.6",
"tslib": "2.6.3",
"tsup": "8.1.0",
"turbo": "2.2.3",
"typescript": "5.5.2",
"vite": "5.4.9",
"vitest": "1.6.0",
"wait-on": "7.2.0"
},
"lint-staged": {
"*.{ts,tsx,js,jsx,json,css}": "biome check --write ."
},
"config": {
"commitizen": {
"path": "cz-conventional-changelog"
}
},
"dependencies": {
"@storybook/test": "^8.3.6",
"dotenv": "^16.4.5"
}
}