forked from scaleway/scaleway-lib
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
134 lines (134 loc) · 3.48 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
128
129
130
131
132
133
134
{
"name": "root",
"private": true,
"workspaces": [
"packages/*"
],
"type": "module",
"packageManager": "[email protected]",
"engines": {
"node": ">=18.x",
"pnpm": ">=7.x"
},
"devDependencies": {
"@babel/core": "7.21.4",
"@babel/eslint-parser": "7.21.8",
"@babel/plugin-transform-runtime": "7.21.4",
"@babel/preset-env": "7.21.5",
"@babel/preset-react": "7.18.6",
"@babel/preset-typescript": "7.21.5",
"@changesets/changelog-github": "0.4.8",
"@changesets/cli": "2.26.1",
"@commitlint/cli": "17.6.3",
"@commitlint/config-conventional": "17.6.3",
"@rollup/plugin-babel": "6.0.3",
"@rollup/plugin-node-resolve": "15.0.2",
"@scaleway/eslint-config-react": "workspace:*",
"@scaleway/tsconfig": "workspace:*",
"@testing-library/jest-dom": "5.16.5",
"@testing-library/react": "13.4.0",
"@tsd/typescript": "5.0.4",
"@types/jest": "29.5.1",
"@types/node": "18.16.1",
"@types/prop-types": "15.7.5",
"@types/react": "18.2.6",
"@types/react-dom": "18.2.4",
"builtin-modules": "3.3.0",
"cross-env": "7.0.3",
"eslint": "8.40.0",
"husky": "8.0.3",
"jest": "29.5.0",
"jest-environment-jsdom": "29.5.0",
"jest-junit": "16.0.0",
"jest-localstorage-mock": "2.4.26",
"jest-runner-tsd": "5.0.0",
"lint-staged": "13.2.2",
"mockdate": "3.0.5",
"prettier": "2.8.8",
"react": "18.2.0",
"react-dom": "18.2.0",
"read-pkg": "8.0.0",
"rollup": "3.21.5",
"rollup-plugin-dts": "5.3.0",
"rollup-plugin-preserve-shebangs": "0.2.0",
"rollup-plugin-visualizer": "5.9.0",
"tsd-lite": "0.7.0",
"typescript": "5.0.4",
"wait-for-expect": "3.0.2"
},
"scripts": {
"lint": "eslint --ext js,ts,tsx --cache .",
"lint:fix": "pnpm run lint --fix",
"build": "pnpm recursive --filter='!@scaleway/eslint-config-react' --filter='!@scaleway/tsconfig' exec -- rollup -c ../../rollup.config.mjs",
"build:profile": "cross-env PROFILE=true pnpm run build",
"commit": "npx git-cz -a",
"format": "prettier --write '**/*.{ts,tsx,js,json,md,mdx}'",
"test": "TZ=UTC jest",
"test:watch": "pnpm run test --watch",
"test:coverage": "pnpm run test --coverage",
"test:types": "jest -c jest.config.tsd.mjs",
"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__"
],
"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"
}
]
]
}
}