-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
137 lines (137 loc) · 3.58 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
135
136
137
{
"name": "redux-await-action",
"version": "0.0.0-development",
"description": "Wait for redux actions in react components",
"author": "bmaximilian",
"main": "dist/index.js",
"typings": "dist/index.d.ts",
"scripts": {
"build": "tsc -p tsconfig.build.json --preserveWatchOutput",
"lint": "eslint . --ext .ts --ext .tsx",
"test": "jest",
"test:cov": "npm test -- --coverage",
"precommit": "lint-staged",
"docs:generate": "typedoc index.ts --options docs/config/typedoc.json",
"start": "npm run build -- -w"
},
"engines": {
"node": ">=12"
},
"browserslist": [
">0.2%",
"not dead",
"not op_mini all"
],
"contributors": [
"bmaximilian"
],
"repository": {
"type": "git",
"url": "git+ssh://[email protected]/bmaximilian/redux-await-action.git"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/bmaximilian/redux-await-action/issues"
},
"homepage": "https://github.com/bmaximilian/redux-await-action#readme",
"peerDependencies": {
"react": ">=16.3",
"redux": "^4.0.5",
"react-redux": "^7.2.1"
},
"devDependencies": {
"@golevelup/ts-jest": "^0.2.1",
"@testing-library/jest-dom": "4.1.2",
"@testing-library/react": "^11.0.4",
"@types/enzyme": "^3.10.4",
"@types/enzyme-adapter-react-16": "^1.0.5",
"@types/jest": "24.0.19",
"@types/react": "^16.9.17",
"@types/react-dom": "^16.9.4",
"@types/react-redux": "^7.1.9",
"@typescript-eslint/eslint-plugin": "^2.15.0",
"@typescript-eslint/eslint-plugin-tslint": "^2.15.0",
"@typescript-eslint/parser": "^2.15.0",
"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.15.2",
"eslint": "^6.8.0",
"eslint-config-airbnb-base": "^14.0.0",
"eslint-config-prettier": "^6.9.0",
"eslint-import-resolver-typescript": "^2.0.0",
"eslint-plugin-flowtype": "^4.5.3",
"eslint-plugin-import": "2.18.2",
"eslint-plugin-jest": "^23.3.0",
"eslint-plugin-jsdoc": "^20.0.1",
"eslint-plugin-jsx-a11y": "^6.2.3",
"eslint-plugin-prefer-arrow": "^1.1.7",
"eslint-plugin-prettier": "^3.1.2",
"eslint-plugin-react": "^7.17.0",
"eslint-plugin-react-hooks": "^2.3.0",
"eslint-plugin-tsdoc": "^0.2.1",
"husky": "^4.0.0",
"jest": "24.9.0",
"jest-date-mock": "^1.0.8",
"jest-extended": "^0.11.2",
"lint-staged": "^9.5.0",
"prettier": "^1.19.1",
"react": "^16.12.0",
"react-dom": "^16.12.0",
"react-redux": "^7.2.1",
"redux": "^4.0.5",
"ts-jest": "^24.3.0",
"ts-node": "^8.5.4",
"tslint": "^5.20.1",
"typedoc": "^0.17.0-2",
"typedoc-plugin-markdown": "^2.2.16",
"typescript": "^3.7.4"
},
"lint-staged": {
"src/**/*.ts(x)?": [
"eslint",
"git add"
]
},
"jest": {
"globals": {
"ts-jest": {
"tsConfig": "tsconfig.json",
"diagnostics": true,
"allowJs": true
}
},
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json",
"node"
],
"rootDir": ".",
"testRegex": ".(test|spec)\\.(jsx?|tsx?)$",
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
"collectCoverageFrom": [
"!**/*.d.(ts|tsx)",
"!**/__mocks__/**/*.(ts|tsx)",
"**/{!(main|index|serviceWorker|setupTests),}.(ts|tsx)"
],
"coverageDirectory": "./coverage",
"coverageThreshold": {
"global": {
"branches": 100,
"functions": 100,
"lines": 100,
"statements": 100
}
},
"setupFiles": [
"jest-date-mock",
"./jest.setup.ts"
],
"setupFilesAfterEnv": [
"./setupTests.ts"
]
}
}