-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
111 lines (111 loc) · 2.7 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
{
"private": true,
"workspaces": [
"packages/*"
],
"scripts": {
"test": "jest",
"lint": "eslint --ext .tsx,.ts ./packages",
"report": "node ./scripts/build-report.js",
"lerna": "lerna",
"go": "node ./scripts",
"storybook": "start-storybook --docs",
"build-storybook": "build-storybook --docs -c .storybook"
},
"prettier": {
"arrowParens": "avoid",
"tabWidth": 2,
"semi": false,
"singleQuote": true,
"trailingComma": "es5",
"endOfLine": "auto"
},
"jest": {
"timers": "fake",
"verbose": true,
"snapshotSerializers": [
"jest-serializer-path"
],
"roots": [
"<rootDir>/packages"
],
"moduleFileExtensions": [
"js",
"json",
"ts",
"tsx"
],
"transform": {
"^.+\\.(ts|tsx)$": "ts-jest"
}
},
"eslintConfig": {
"parser": "@typescript-eslint/parser",
"parserOptions": {
"jsx": true,
"useJSXTextNode": true
},
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"plugin:react/recommended",
"plugin:prettier/recommended",
"prettier/@typescript-eslint"
],
"plugins": [
"@typescript-eslint",
"react-hooks",
"react"
],
"ignorePatterns": [
"*.d.ts",
"node_modules/"
],
"rules": {
"@typescript-eslint/explicit-function-return-type": "off",
"sort-keys": "error",
"react-hooks/rules-of-hooks": "error",
"react-hooks/exhaustive-deps": "warn"
},
"settings": {
"react": {
"version": "detect"
}
}
},
"devDependencies": {
"@babel/core": "^7.8.7",
"@storybook/addon-docs": "^6.0.21",
"@storybook/preset-typescript": "^3.0.0",
"@storybook/react": "^6.1.11",
"@testing-library/react-hooks": "^7.0.0",
"@types/jest": "^26.0.0",
"@types/node": "^16.4.3",
"@types/react": "^17.0.0",
"@types/react-dom": "^17.0.0",
"@types/testing-library__react-hooks": "^4.0.0",
"@typescript-eslint/eslint-plugin": "^2.26.0",
"@typescript-eslint/parser": "^2.26.0",
"babel-loader": "^8.0.6",
"chalk": "^4.0.0",
"eslint": "^6.8.0",
"eslint-config-prettier": "^6.9.0",
"eslint-plugin-prettier": "^3.1.2",
"eslint-plugin-react": "^7.19.0",
"eslint-plugin-react-hooks": "^4.0.0",
"inquirer": "^8.1.0",
"jest": "^25.2.7",
"jest-serializer-path": "^0.1.15",
"lerna": "^4.0.0",
"listr": "^0.14.3",
"ora": "^5.0.0",
"prettier": "^2.0.1",
"react": "^17.0.1",
"react-dom": "^17.0.1",
"react-test-renderer": "^17.0.1",
"ts-jest": "^25.3.0",
"ts-loader": "^8.0.0",
"typescript": "^3.8.3"
}
}