-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
90 lines (90 loc) · 2.56 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
{
"name": "tojs-styleguide",
"private": true,
"version": "2.0.0",
"homepage": "https://github.com/torontojs/tojs-styleguide",
"license": "MIT",
"browser": "./docs/index.html",
"type": "module",
"repository": {
"type": "git",
"url": "git+https://github.com/torontojs/tojs-styleguide.git"
},
"engines": {
"node": ">=20.0.0"
},
"volta": {
"node": "20.0.0"
},
"scripts": {
"postinstall": "husky install",
"start": "vite",
"typecheck": "tsc --noEmit",
"lint:js": "eslint src --ext .js,.mjs,.ts,.mts --fix --ignore-path .gitignore",
"lint": "npm run typecheck && npm run lint:js",
"lint-staged": "lint-staged",
"build:vite": "vite build",
"prepreview": "npm run build:vite",
"preview": "vite preview --port 3000",
"test": "vitest",
"test:coverage": "vitest run --coverage",
"storybook": "storybook dev -p 6006",
"build:storybook": "storybook build",
"build": "npm run build:vite && npm run build:storybook"
},
"dependencies": {
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
"devDependencies": {
"@commitlint/cli": "^17.6.6",
"@commitlint/config-conventional": "^17.6.6",
"@storybook/addon-essentials": "^7.6.7",
"@storybook/addon-interactions": "^7.6.7",
"@storybook/addon-links": "^7.6.7",
"@storybook/addon-onboarding": "^1.0.10",
"@storybook/blocks": "^7.6.7",
"@storybook/react": "^7.6.7",
"@storybook/react-vite": "^7.6.7",
"@storybook/test": "^7.6.7",
"@types/node": "^20.4.2",
"@types/react": "^18.2.43",
"@types/react-dom": "^18.2.17",
"@typescript-eslint/eslint-plugin": "^6.1.0",
"@typescript-eslint/parser": "^6.1.0",
"@vitejs/plugin-react": "^4.2.1",
"@vitest/coverage-v8": "^0.33.0",
"eslint": "^8.55.0",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-react-refresh": "^0.4.5",
"eslint-plugin-storybook": "^0.6.15",
"husky": "^8.0.3",
"lint-staged": "^13.2.3",
"storybook": "^7.6.7",
"typed-query-selector": "^2.11.0",
"typescript": "^5.1.6",
"vite": "^4.4.4",
"vitest": "^0.33.0"
},
"lint-staged": {
"*.ts": [
"eslint --ext .ts --fix",
"vitest related"
],
"*.js": [
"eslint --ext .js --fix",
"vitest related"
]
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"overrides": {
"has": "npm:@nolyfill/has@latest",
"isarray": "npm:@nolyfill/isarray@latest",
"string.prototype.matchall": "npm:@nolyfill/string.prototype.matchall@latest"
}
}