forked from scaleway/scaleway-lib
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
96 lines (96 loc) · 2.41 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
{
"name": "root",
"private": true,
"workspaces": [
"packages/*"
],
"type": "module",
"devDependencies": {
"@babel/core": "7.16.7",
"@babel/eslint-parser": "7.16.5",
"@babel/plugin-transform-runtime": "7.16.7",
"@babel/preset-env": "7.16.7",
"@babel/preset-react": "7.16.7",
"@babel/preset-typescript": "7.16.7",
"@commitlint/cli": "16.0.1",
"@commitlint/config-conventional": "16.0.0",
"@rollup/plugin-babel": "5.3.0",
"@rollup/plugin-node-resolve": "13.1.2",
"@testing-library/jest-dom": "5.16.1",
"@testing-library/react": "12.1.2",
"@testing-library/react-hooks": "7.0.2",
"builtin-modules": "3.2.0",
"cross-env": "7.0.3",
"eslint": "8.5.0",
"husky": "7.0.4",
"jest": "27.4.5",
"jest-junit": "13.0.0",
"jest-localstorage-mock": "2.4.18",
"lerna": "4.0.0",
"lint-staged": "12.1.4",
"mockdate": "3.0.5",
"prettier": "2.5.1",
"react": "17.0.2",
"react-dom": "17.0.2",
"read-pkg": "7.0.0",
"rollup": "2.62.0",
"rollup-plugin-dts": "4.1.0",
"rollup-plugin-visualizer": "5.5.2",
"typescript": "4.5.4",
"wait-for-expect": "3.0.2"
},
"scripts": {
"lint": "eslint --ext js,ts,tsx --cache .",
"lint:fix": "yarn run lint --fix",
"build": "lerna exec --stream --ignore @scaleway/eslint-config-react --ignore @scaleway/countries -- rollup -c ../../rollup.config.mjs",
"build:profile": "cross-env PROFILE=true yarn run build",
"commit": "npx git-cz -a",
"test": "TZ=UTC jest",
"test:watch": "yarn run test --watch",
"test:coverage": "yarn run test --coverage",
"prepare": "husky install"
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"lint-staged": {
"*.js": [
"prettier --write",
"eslint --fix"
]
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"jest": {
"testEnvironment": "jsdom",
"setupFiles": [
"jest-localstorage-mock"
],
"collectCoverageFrom": [
"packages/*/src/**/*.{ts,tsx,js,jsx}"
],
"modulePathIgnorePatterns": [
"locales"
],
"coverageReporters": [
"text",
"cobertura"
],
"reporters": [
"default",
[
"jest-junit",
{
"outputDirectory": ".reports",
"outputName": "tests.xml"
}
]
]
},
"packageManager": "[email protected]"
}