forked from trojanowski/react-apollo-hooks
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
114 lines (114 loc) · 3.06 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
{
"name": "react-apollo-hooks",
"version": "0.4.5",
"description": "",
"sideEffects": false,
"main": "lib/index.js",
"module": "es/index.js",
"typings": "lib/index.d.ts",
"files": [
"es",
"lib"
],
"scripts": {
"build:cjs": "rimraf lib && babel src --extensions '.ts' --extensions '.tsx' --ignore '**/__tests__' --ignore '**/__testutils__' -d lib",
"build:es": "rimraf es && cross-env ES_MODULES=true babel src --extensions '.ts' --extensions '.tsx' --ignore '**/__tests__' --ignore '**/__testutils__' -d es",
"build:typings": "tsc -p tsconfig.typings.json",
"build": "npm run build:cjs && npm run build:es && npm run build:typings",
"typings-check": "tsc --noEmit",
"format-check": "prettier --list-different \"**/*.{js,ts,tsx}\"",
"format": "prettier --write \"**/*.{js,ts,tsx}\"",
"lint": "tslint --project . \"src/**/*.{ts,tsx}\"",
"prepublishOnly": "npm run build",
"test": "jest"
},
"author": "Daniel Trojanowski",
"license": "MIT",
"homepage": "https://github.com/trojanowski/react-apollo-hooks#readme",
"repository": {
"type": "git",
"url": "https://github.com/trojanowski/react-apollo-hooks.git"
},
"jest": {
"setupTestFrameworkScriptFile": "./src/__testutils__/setupTests.ts",
"transform": {
"^.+\\.(ts|tsx)$": "babel-jest"
},
"testMatch": [
"**/__tests__/**/*-test.ts?(x)"
],
"testPathIgnorePatterns": [
"/<rootDir>/es/",
"/<rootDir>/lib/",
"/node_modules/"
],
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"json",
"jsx",
"node"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"**/*.js": [
"prettier --write",
"git add"
],
"**/*.{ts,tsx}": [
"tslint --fix --project .",
"prettier --write",
"git add"
]
},
"peerDependencies": {
"apollo-client": "*",
"graphql": "*",
"react": "^16.8.0"
},
"dependencies": {
"lodash": "^4.17.11"
},
"devDependencies": {
"@babel/cli": "^7.1.2",
"@babel/core": "^7.1.5",
"@babel/preset-env": "^7.1.0",
"@babel/preset-react": "^7.0.0",
"@babel/preset-typescript": "^7.1.0",
"@types/graphql": "^14.0.3",
"@types/jest": "^23.3.10",
"@types/lodash": "^4.14.119",
"@types/react": "^16.8.2",
"@types/react-dom": "^16.8.0",
"apollo-cache-inmemory": "^1.3.11",
"apollo-client": "^2.4.7",
"apollo-link": "^1.2.4",
"apollo-link-mock": "^1.0.1",
"babel-core": "^7.0.0-bridge.0",
"babel-jest": "^23.6.0",
"cross-env": "^5.2.0",
"graphql": "^14.0.2",
"graphql-tag": "^2.10.0",
"husky": "^1.2.0",
"jest": "^23.6.0",
"jest-dom": "^2.1.1",
"jest-react-profiler": "^0.1.3",
"lint-staged": "^8.1.0",
"prettier": "^1.15.2",
"react": "16.8.1",
"react-dom": "16.8.1",
"react-testing-library": "^5.5.3",
"rimraf": "^2.6.2",
"standard-version": "^4.4.0",
"tslint": "^5.12.0",
"tslint-config-prettier": "^1.17.0",
"tslint-react": "^3.6.0",
"typescript": "^3.2.2"
}
}