-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
108 lines (108 loc) · 3.85 KB
/
package.json
File metadata and controls
108 lines (108 loc) · 3.85 KB
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
{
"name": "request-react-hooks",
"version": "4.1.3",
"description": "Hook for making asynchronous requests and subscribing to updates request state",
"main": "lib-esm/index.js",
"types": "lib-esm",
"type": "module",
"exports": {
"types": "./lib-esm/*.d.ts",
"import": "./lib-esm/index.js",
"require": "./lib-cjs/index.js",
"default": "./lib-cjs/index.js"
},
"scripts": {
"prettier": "pretty-quick --staged",
"eslint": "eslint --max-warnings=0 --cache .",
"tslint": "tsc --noEmit",
"build": "scripts/build.sh",
"pre-publish": "npm run prettier && npm run tslint && npm run eslint && npm run build",
"test:jest": "jest",
"test:jest:console": "jest --config jest-ci.config.js --ci --colors",
"open-report:jest": "open \"./test-results/jest-coverage/lcov-report/index.html\"",
"test:cypress": "cypress open-ct",
"test:cypress:console": "cypress run-ct --config video=false --config-file \"./cypress-ci.json\"",
"open-report:cypress": "open \"./test-results/cypress-coverage/lcov-report/index.html\"",
"remove-reports": "rm -rf test-results .nyc_output",
"copy-reports": "mkdir test-results/temp-reports && cp test-results/cypress-coverage/coverage-final.json test-results/temp-reports/from-cypress.json && cp test-results/jest-coverage/coverage-final.json test-results/temp-reports/from-jest.json",
"merge-reports": "npx nyc merge test-results/temp-reports && mv coverage.json .nyc_output/out.json",
"create-report": "npx nyc report --reporter lcov --reporter text --report-dir test-results/coverage",
"test:console": "npm run remove-reports && npm run test:jest:console && npm run test:cypress:console && npm run copy-reports && npm run merge-reports && npm run create-report && npm run open-report",
"open-report": "open \"./test-results/coverage/lcov-report/index.html\""
},
"devDependencies": {
"@babel/core": "7.16.7",
"@babel/preset-env": "7.16.8",
"@babel/preset-react": "7.16.7",
"@cypress/code-coverage": "3.9.11",
"@cypress/react": "5.9.2",
"@cypress/webpack-dev-server": "1.4.0",
"@testing-library/react-hooks": "^7.0.2",
"@types/jest": "27.4.0",
"@types/mocha": "8.2.2",
"@types/react": "17.0.8",
"@types/react-dom": "17.0.5",
"@types/webpack": "5.28.0",
"@typescript-eslint/eslint-plugin": "4.28.1",
"@typescript-eslint/parser": "4.28.1",
"app-root-path": "3.0.0",
"babel-loader": "8.2.3",
"babel-plugin-istanbul": "6.1.1",
"cypress": "8.7.0",
"cypress-multi-reporters": "1.5.0",
"esbuild": "0.17.15",
"eslint": "7.29.0",
"eslint-plugin-cypress": "2.11.3",
"eslint-plugin-import": "2.22.1",
"eslint-plugin-jest": "24.3.6",
"eslint-plugin-no-use-extend-native": "0.5.0",
"eslint-plugin-react": "7.22.0",
"eslint-plugin-sonarjs": "0.6.0",
"husky": "6.0.0",
"jest": "27.5.1",
"jest-junit": "12.0.0",
"jest-sonar": "0.2.12",
"mocha-junit-reporter": "2.0.2",
"prettier": "2.3.0",
"pretty-quick": "3.1.0",
"react": "17.0.2",
"react-dom": "17.0.2",
"ts-jest": "27.1.3",
"ts-loader": "9.2.6",
"ts-node": "10.4.0",
"typescript": "4.2.4",
"webpack": "5.66.0",
"webpack-dev-server": "3.11.1"
},
"peerDependencies": {
"react": ">=16.13.1"
},
"files": [
"lib-cjs/",
"lib-esm/",
"src/",
"package.json",
"tsconfig.json",
"README.md",
"LICENSE"
],
"bugs": {
"url": "https://github.com/aleksandrjet/request-react-hooks/issues",
"email": "aleksandrjet@gmail.com"
},
"repository": {
"type": "git",
"url": "https://github.com/aleksandrjet/request-react-hooks"
},
"homepage": "https://github.com/aleksandrjet/request-react-hooks",
"keywords": [
"react",
"react-hooks",
"react-request",
"request-react-hooks",
"request",
"react-async"
],
"author": "Aleksandr Jet",
"license": "MIT"
}