-
Notifications
You must be signed in to change notification settings - Fork 7
/
package.json
127 lines (127 loc) · 3.07 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
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
{
"name": "root",
"private": true,
"workspaces": [
"packages/*"
],
"type": "module",
"packageManager": "pnpm@9.1.2",
"engines": {
"node": ">=20.x",
"pnpm": ">=8.x"
},
"dependencies": {
"@babel/core": "7.24.6",
"@babel/eslint-parser": "7.24.6",
"@babel/plugin-transform-runtime": "7.24.6",
"@babel/preset-env": "7.24.6",
"@babel/preset-react": "7.24.6",
"@babel/preset-typescript": "7.24.6",
"@changesets/changelog-github": "0.5.0",
"@changesets/cli": "2.27.3",
"@commitlint/cli": "19.3.0",
"@commitlint/config-conventional": "19.2.2",
"@scaleway/eslint-config-react": "workspace:*",
"@scaleway/tsconfig": "workspace:*",
"@testing-library/jest-dom": "6.4.5",
"@testing-library/react": "15.0.7",
"@types/jest": "29.5.12",
"@types/node": "20.12.12",
"@types/react": "18.3.3",
"@types/react-dom": "18.3.0",
"@vitejs/plugin-react": "4.2.1",
"@vitest/coverage-istanbul": "1.6.0",
"browserslist": "4.23.0",
"builtin-modules": "4.0.0",
"cross-env": "7.0.3",
"esbuild-plugin-browserslist": "0.11.1",
"eslint": "8.57.0",
"happy-dom": "14.11.0",
"husky": "9.0.11",
"lint-staged": "15.2.5",
"mockdate": "3.0.5",
"prettier": "3.2.5",
"read-pkg": "9.0.1",
"shx": "0.3.4",
"tstyche": "1.1.0 ",
"typescript": "5.4.5",
"vite": "5.2.11",
"vitest": "1.6.0",
"vitest-localstorage-mock": "0.1.2",
"wait-for-expect": "3.0.2"
},
"scripts": {
"lint": "eslint --ext js,ts,tsx --cache .",
"lint:fix": "pnpm run lint --fix",
"build": "pnpm recursive run build",
"commit": "npx git-cz -a",
"format": "prettier --write '**/*.{ts,tsx,js,json,md,mdx}'",
"test": "pnpm recursive run test:unit",
"test:coverage": "pnpm run test --coverage",
"test:types": "tstyche",
"release": "pnpm build && pnpm changeset publish",
"prepare": "husky install"
},
"pnpm": {
"peerDependencyRules": {
"allowedVersions": {
"react": "18",
"react-dom": "18",
"@types/react": "18"
}
}
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"lint-staged": {
"*.(j|t)s?(x)": [
"prettier --write",
"eslint --fix"
],
"*.json": [
"prettier --write"
],
"*.mdx": [
"prettier --write"
]
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"jest": {
"testEnvironment": "jsdom",
"setupFiles": [
"jest-localstorage-mock"
],
"collectCoverageFrom": [
"packages/*/src/**/*.{ts,tsx,js,jsx}"
],
"modulePathIgnorePatterns": [
"locales",
"__typetests__",
"dist"
],
"coverageReporters": [
"text",
"cobertura"
],
"transformIgnorePatterns": [
"node_modules/(?!(.*(query-string|decode-uri-component|split-on-first|filter-obj)))"
],
"reporters": [
"default",
[
"jest-junit",
{
"outputDirectory": ".reports",
"outputName": "tests.xml"
}
]
]
}
}