forked from apollographql/apollo-cache-persist
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
91 lines (91 loc) · 2.63 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
{
"name": "apollo-cache-persist",
"version": "0.1.1",
"description": "Simple persistence for all Apollo cache implementations",
"author": "James Reggio <james.reggio@gmail.com>",
"contributors": [
"James Reggio <james.reggio@gmail.com>",
"Peggy Rayzis <peggy@meteor.com>"
],
"license": "MIT",
"main": "./lib/index.js",
"module": "./lib/index.js",
"jsnext:main": "./lib/index.js",
"typings": "./lib/index.d.ts",
"repository": {
"type": "git",
"url": "git+https://github.com/apollographql/apollo-cache-persist.git"
},
"homepage": "https://github.com/apollographql/apollo-cache-persist#readme",
"bugs": "https://github.com/apollographql/apollo-cache-persist/issues",
"scripts": {
"build:browser":
"browserify ./lib/bundle.umd.js -o=./lib/bundle.js && npm run minify:browser",
"build": "tsc -p .",
"bundle": "rollup -c",
"clean": "rimraf lib/* && rimraf coverage/*",
"coverage:upload": "codecov",
"danger": "danger run --verbose",
"deploy": "./scripts/deploy.sh",
"filesize": "npm run build && npm run build:browser && bundlesize",
"minify:browser":
"uglifyjs -c -m -o ./lib/bundle.min.js -- ./lib/bundle.js",
"postbuild": "npm run bundle",
"prebuild": "npm run clean",
"precommit": "lint-staged",
"test": "jest",
"test:watch": "jest --watchAll --onlyChanged",
"coverage": "jest --coverage",
"watch": "tsc -w -p ."
},
"bundlesize": [
{
"path": "./lib/bundle.min.js",
"threshold": "3 Kb"
}
],
"lint-staged": {
"*.{md,ts,js,json}": [
"prettier --write --single-quote --trailing-comma es5",
"git add"
]
},
"jest": {
"moduleFileExtensions": ["ts", "js", "json"],
"transform": {
"\\.ts$": "ts-jest"
},
"testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|js)$",
"globals": {
"ts-jest": {
"useBabelrc": true
}
},
"transformIgnorePatterns": ["node_modules/(?!apollo-cache-hermes)"]
},
"dependencies": {},
"devDependencies": {
"@types/node": "^8.0.55",
"@types/react-native": "^0.50.8",
"apollo-cache": "^1.0.2",
"apollo-cache-hermes": "^0.4.55-alpha",
"apollo-cache-inmemory": "^1.1.3",
"apollo-client": "^2.1.0",
"apollo-link": "^1.0.5",
"browserify": "^14.5.0",
"bundlesize": "^0.15.3",
"codecov": "^3.0.0",
"danger": "^2.1.3",
"graphql": "^0.11.7",
"graphql-tag": "^2.5.0",
"husky": "^0.14.3",
"jest": "^21.2.1",
"lint-staged": "^6.0.0",
"prettier": "^1.8.2",
"rimraf": "^2.6.2",
"rollup": "^0.52.1",
"ts-jest": "^21.2.4",
"typescript": "^2.6.2",
"uglify-js": "^3.2.2"
}
}