-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
98 lines (98 loc) · 3.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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
{
"name": "@SocialAutoTransport/apollo-link-queue-persist",
"version": "0.0.19",
"description": "Simple persistence for Apollo link queue instances",
"author": "Rob Newton <[email protected]>",
"contributors": [
"Rob Newton <[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/SocialAutoTransport/apollo-link-queue-persist.git"
},
"homepage": "https://github.com/SocialAutoTransport/apollo-link-queue-persist.git#readme",
"bugs": "https://github.com/SocialAutoTransport/apollo-link-queue-persist.git/issues",
"scripts": {
"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 ."
},
"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)"
]
},
"publishConfig": {
"cache": "~/.npm",
"registry": "https://npm.pkg.github.com/SocialAutoTransport"
},
"dependencies": {
"@SocialAutoTransport/apollo-link-queue": "^3.2.6"
},
"peerDependencies": {
"@apollo/client": "^3.2.5"
},
"devDependencies": {
"@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",
"danger": "7.1.4",
"graphql": "15.4.0",
"husky": "4.3.0",
"lint-staged": "9.5.0",
"prettier": "1.18.2",
"react": "16.13.1",
"rimraf": "3.0.0",
"rollup": "1.25.2",
"typescript": "4.0.3",
"uglify-js": "3.6.3"
}
}