-
Notifications
You must be signed in to change notification settings - Fork 118
/
package.json
100 lines (100 loc) · 2.89 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
{
"name": "apollo3-cache-persist",
"version": "0.15.0",
"description": "Simple persistence for all Apollo cache implementations",
"author": "James Reggio <[email protected]>",
"contributors": [
"James Reggio <[email protected]>",
"Peggy Rayzis <[email protected]>"
],
"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",
"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",
"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"
},
"lint-staged": {
"*.{md,ts,js,json}": [
"prettier --write es5",
"git add"
]
},
"jest": {
"moduleFileExtensions": [
"js",
"json",
"ts"
],
"transform": {
"\\.ts$": [
"ts-jest",
{
"babelConfig": true
}
]
},
"testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|js)$",
"transformIgnorePatterns": [
"node_modules/(?!apollo-cache-hermes)"
],
"preset": "ts-jest"
},
"peerDependencies": {
"@apollo/client": "^3.7.17"
},
"devDependencies": {
"@apollo/client": "3.9.9",
"@types/jest": "29.5.12",
"@types/node": "20.11.30",
"@types/react-native": "0.73.0",
"apollo-cache-hermes": "0.8.16",
"browserify": "17.0.0",
"codecov": "3.8.3",
"commitizen": "4.3.0",
"conventional-changelog-cli": "4.1.0",
"cz-conventional-changelog": "3.3.0",
"graphql": "16.8.1",
"husky": "9.0.11",
"jest": "29.7.0",
"lint-staged": "15.2.2",
"prettier": "3.2.5",
"react": "18.2.0",
"rimraf": "5.0.5",
"rollup": "4.13.0",
"ts-jest": "29.1.2",
"typescript": "5.4.3",
"uglify-js": "3.17.4"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"packageManager": "[email protected]"
}