-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
122 lines (122 loc) · 3.45 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
{
"name": "use-patternfly",
"description": "An opinionated set of hooks and components useful when building a React app with PatternFly",
"version": "0.2.0",
"license": "MIT",
"main": "dist/index.js",
"module": "dist/use-patternfly.esm.js",
"typings": "dist/index.d.ts",
"files": [
"dist"
],
"scripts": {
"start": "tsdx watch",
"build": "tsdx build",
"test": "tsdx test",
"test-with-coverage": "tsdx test --coverage --coverageReporters=text-lcov | coveralls",
"lint": "tsdx lint",
"storybook": "start-storybook -p 6006",
"build-storybook": "build-storybook"
},
"peerDependencies": {
"@patternfly/react-core": "^3.77.2",
"@patternfly/react-icons": "^3.10.15",
"@patternfly/react-styles": "^3.5.7",
"date-fns": "^2.4.1",
"react": ">=16",
"react-router": "^5.1.2",
"react-router-dom": "^5.1.2",
"react-router-last-location": "^2.0.1"
},
"husky": {
"hooks": {
"pre-commit": "tsdx lint"
}
},
"prettier": {
"printWidth": 80,
"semi": true,
"singleQuote": true,
"trailingComma": "es5"
},
"devDependencies": {
"@babel/core": "^7.6.2",
"@patternfly/react-core": "^4.18.5",
"@patternfly/react-icons": "^4.3.5",
"@patternfly/react-styles": "^4.3.4",
"@storybook/addon-actions": "^5.2.3",
"@storybook/addon-info": "^5.2.3",
"@storybook/addon-knobs": "^5.2.3",
"@storybook/addon-links": "^5.2.3",
"@storybook/addon-viewport": "^5.2.3",
"@storybook/addons": "^5.2.3",
"@storybook/react": "^5.2.3",
"@testing-library/jest-dom": "^4.1.1",
"@testing-library/react": "^9.3.0",
"@types/jest": "^24.0.18",
"@types/react": "^16.9.5",
"@types/react-dom": "^16.9.1",
"@types/react-router": "^5.1.1",
"@types/react-router-dom": "^5.1.0",
"@types/storybook__react": "^4.0.2",
"babel-loader": "^8.0.6",
"codacy-coverage": "^3.4.0",
"coveralls": "^3.0.6",
"date-fns": "^2.4.1",
"eslint-config-react-app": "5.0.1",
"eslint-plugin-react-hooks": "^2.1.2",
"husky": "^3.0.8",
"react": "^16.10.2",
"react-docgen-typescript-loader": "^3.3.0",
"react-dom": "^16.10.2",
"react-router": "^5.1.2",
"react-router-dom": "^5.1.2",
"react-router-last-location": "^2.0.1",
"ts-loader": "^6.2.0",
"tsconfig-paths-webpack-plugin": "^3.2.0",
"tsdx": "^0.9.3",
"tslib": "^1.10.0",
"typescript": "~3.6.0"
},
"jest": {
"moduleNameMapper": {
"\\.(css|less)$": "<rootDir>/test/__mocks__/styleMock.js",
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/test/__mocks__/fileMock.js",
"@src": "<rootDir>/src/index.ts",
"@src/(.*)": "<rootDir>/src/$1",
"@test/(.*)": "<rootDir>/test/$1"
},
"testEnvironment": "jsdom",
"transform": {
"^.+\\.(ts|tsx)$": "ts-jest"
}
},
"dependencies": {
"remove": "^0.1.5"
},
"eslintConfig": {
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 6,
"ecmaFeatures": {
"modules": true
},
"jsx": true,
"useJSXTextNode": true,
"sourceType": "module"
},
"extends": [
"prettier",
"prettier/@typescript-eslint"
],
"plugins": [
"@typescript-eslint",
"react-hooks"
],
"rules": {
"@typescript-eslint/explicit-function-return-type": "off",
"react-hooks/rules-of-hooks": "error",
"react-hooks/exhaustive-deps": "warn"
}
}
}