-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
65 lines (65 loc) · 2.19 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
{
"name": "react-sync-promise",
"version": "1.0.9",
"description": "A simple react helper snippet to handle promises as a react synchronous hook with mininmal amount of re-renders",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"typings": "dist/index.d.ts",
"repository": {
"type": "git",
"url": "git+https://github.com/filipomar/react-sync-promise.git"
},
"scripts": {
"audit": "npm run format && npm run coverage && npm run build",
"preversion": "npm run audit",
"prepublishOnly": "npm run audit",
"build": "rm -rf dist/ && tsc --project buildtsconfig.json",
"format": "prettier --config .prettierrc.json --write --check --loglevel error . && eslint --fix '**/*.{ts,tsx}'",
"test": "jest --no-cache --maxWorkers=2",
"coverage": "jest --no-cache --coverage --maxWorkers=2"
},
"keywords": [
"async",
"hook",
"hooks",
"promise",
"react",
"sync"
],
"author": {
"name": "Filipe Pomar",
"email": "[email protected]"
},
"license": "ISC",
"bugs": {
"url": "https://github.com/filipomar/react-sync-promise/issues"
},
"homepage": "https://github.com/filipomar/react-sync-promise#readme",
"devDependencies": {
"@testing-library/jest-dom": "^5.16.4",
"@testing-library/react": "^12.1.5",
"@types/jest": "^28.1.6",
"@types/node": "^18.6.3",
"@types/react": "^16.14.29",
"@types/react-dom": "^16.9.16",
"@typescript-eslint/eslint-plugin": "^5.32.0",
"@typescript-eslint/parser": "^5.32.0",
"eslint": "^8.21.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jsx-a11y": "^6.6.1",
"eslint-plugin-react": "^7.30.1",
"eslint-plugin-react-hooks": "^4.6.0",
"jest": "^28.1.3",
"jest-environment-jsdom": "^28.1.3",
"prettier": "^2.7.1",
"react": "^16.14.0",
"react-dom": "^16.14.0",
"ts-jest": "^28.0.7",
"ts-node": "^10.9.1",
"typescript": "^4.7.4"
},
"peerDependencies": {
"react": ">=16.14.0"
}
}