-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
78 lines (78 loc) · 2.07 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
{
"name": "apollo-cache-updater",
"version": "0.1.3",
"description": "Helper for updating apollo cache after a mutation",
"license": "MIT",
"repository": "ecerroni/apollo-cache-updater",
"main": "lib/index.js",
"author": {
"name": "ric0",
"email": "e.cerroni@gmail.com",
"url": "https://github.com/ecerroni"
},
"files": [
"lib"
],
"scripts": {
"test": "react-scripts test --env=jsdom",
"test:clear-cache": "jest --clearCache",
"coverage": "npm test -- --coverage",
"postcoverage": "opn coverage/lcov-report/index.html",
"lint": "eslint .",
"lint-fix": "eslint --fix .",
"clean": "rimraf dist",
"build-node": "babel ./src --out-dir ./lib --source-maps",
"prebuild": "npm run clean",
"build": "npm run build-node",
"preversion": "npm run lint && npm test && npm run build",
"version": "standard-changelog && git add CHANGELOG.md",
"postpublish": "git push apollo-cache-updater master --follow-tags"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.js": [
"eslint --fix",
"git add"
]
},
"keywords": [
"apollo-cache-updater",
"apollo",
"cache",
"graphql",
"react",
"vue",
"react-native"
],
"dependencies": {},
"devDependencies": {
"@babel/cli": "^7.1.2",
"@babel/core": "^7.1.2",
"@babel/plugin-proposal-class-properties": "^7.1.0",
"@babel/preset-env": "^7.1.0",
"apollo-client-mock": "0.0.9",
"babel-core": "^7.0.0-bridge.0",
"eslint-config-airbnb-base": "^13.1.0",
"eslint-config-prettier": "^3.1.0",
"eslint-plugin-import": "^2.14.0",
"eslint-plugin-prettier": "^3.0.0",
"graphql-tag": "2.10.0",
"graphql-type-json": "0.2.1",
"husky": "^1.1.2",
"lint-staged": "^7.3.0",
"opn-cli": "^3.1.0",
"prettier": "^1.14.3",
"react": "16.6.3",
"react-apollo": "2.3.2",
"react-dom": "16.6.3",
"react-scripts": "2.1.1",
"react-testing-library": "5.3.1",
"recompose": "0.30.0",
"rimraf": "^2.6.2",
"standard-changelog": "^2.0.1"
}
}