forked from apollographql/apollo-cache-persist
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
110 lines (110 loc) · 3.17 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
{
"name": "apollo3-cache-persist",
"version": "0.13.0",
"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/cjs/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": {
"version": "yarn run changelog && git add CHANGELOG.md",
"postversion": "yarn run publish:git && yarn run publish:npm",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 1",
"build:browser": "browserify ./lib/bundle.umd.js -o=./lib/bundle.js && npm run minify:browser",
"build": "tsc -p . && tsc -p ./tsconfig.cjs.json",
"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 .",
"publish:git": "git push && git push --tags",
"publish:npm": "yarn run build && npm publish --access public",
"commit": "cz"
},
"bundlesize": [
{
"path": "./lib/bundle.min.js",
"threshold": "3 Kb"
}
],
"lint-staged": {
"*.{md,ts,js,json}": [
"prettier --write 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": {},
"peerDependencies": {
"@apollo/client": "^3.2.5"
},
"devDependencies": {
"@apollo/client": "3.2.4",
"@types/jest": "24.9.1",
"@types/node": "12.11.5",
"@types/react-native": "0.63.37",
"apollo-cache-hermes": "0.8.14",
"browserify": "16.5.0",
"bundlesize": "0.18.0",
"codecov": "3.8.0",
"commitizen": "^4.2.4",
"conventional-changelog-cli": "^2.1.1",
"cz-conventional-changelog": "3.3.0",
"danger": "7.1.4",
"graphql": "15.4.0",
"husky": "4.3.0",
"jest": "24.9.0",
"lint-staged": "9.5.0",
"prettier": "1.18.2",
"react": "16.13.1",
"rimraf": "3.0.0",
"rollup": "1.25.2",
"ts-jest": "23.0.0",
"typescript": "4.0.3",
"uglify-js": "3.6.3"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
}
}