forked from nandorojo/swr-firestore
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
69 lines (69 loc) Β· 2.09 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
{
"name": "swr-firestore",
"version": "1.0.4",
"description": "SWR React hooks for Firestore",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"files": [
"lib"
],
"scripts": {
"test": "jest",
"test:files:useDocument": "jest -- \"src/__tests__/useDocument.test.ts\"",
"test:files:useDocumentSubscribe": "jest -- \"src/__tests__/useDocumentSubscribe.test.ts\"",
"test:files:useCollection": "jest -- \"src/__tests__/useCollection.test.ts\"",
"test:files:useCollectionDateFilter": "jest -- \"src/__tests__/useCollectionDateFilter.test.ts\"",
"test:files:useCollectionSubscribe": "jest -- \"src/__tests__/useCollectionSubscribe.test.ts\"",
"lint": "eslint --ext .js,.ts,.tsx .",
"build": " rm lib/ -rf && tsc --project tsconfig.prod.json",
"typescript": "tsc --noEmit",
"publish": "npm publish"
},
"keywords": [],
"repository": "https://github.com/rolznz/swr-firestore",
"author": "rolznz (https://github.com/rolznz)",
"license": "MIT",
"bugs": {
"url": "https://github.com/rolznz/swr-firestore/issues"
},
"homepage": "https://github.com/rolznz/swr-firestore#readme",
"husky": {
"hooks": {
"pre-commit": "yarn lint && yarn typescript"
}
},
"eslintIgnore": [
"node_modules/",
"lib/"
],
"devDependencies": {
"@testing-library/dom": "^8.13.0",
"@testing-library/jest-dom": "4.x",
"@testing-library/react": "^12.1.2",
"@types/jest": "^25.x",
"@types/node": "^17.0.25",
"@types/react": "^17.0.34",
"@typescript-eslint/eslint-plugin": "^5.33.1",
"@typescript-eslint/parser": "^5.33.1",
"dotenv": "^10.0.0",
"eslint": "^7.6.0",
"eslint-plugin-import": "^2.22.0",
"eslint-plugin-jest": "^24.3.6",
"eslint-plugin-react-hooks": "^4.6.0",
"firebase": "9.1.3",
"jest": "^25.x",
"jest-environment-jsdom": "25",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-test-renderer": "^17.0.2",
"ts-jest": "^25.x",
"typescript": "^4.3.5"
},
"dependencies": {
"swr": "^1.3.0"
},
"peerDependencies": {
"react": "^17.0.2",
"react-dom": "^17.0.2"
}
}