-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
65 lines (65 loc) · 1.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
{
"name": "apollo-link-gun",
"version": "0.0.4",
"description": "Use gundb as backend for ApolloClient",
"author": "Bryan Goldstein <brysgo@gmail.com>",
"license": "MIT",
"main": "./lib/bundle.umd.js",
"module": "./lib/index.js",
"jsnext:main": "./lib/index.js",
"typings": "./lib/index.d.ts",
"repository": {
"type": "git",
"url": "git+https://github.com/brysgo/apollo-link-gun.git"
},
"bugs": {
"url": "https://github.com/brysgo/apollo-link-gun/issues"
},
"homepage": "https://github.com/brysgo/apollo-link-gun#readme",
"scripts": {
"build:browser": "browserify ./lib/bundle.umd.js -o=./lib/bundle.js --i apollo-link && npm run minify:browser",
"build": "tsc -p .",
"bundle": "rollup -c",
"clean": "rimraf lib/* && rimraf coverage/*",
"coverage": "jest --coverage",
"filesize": "npm run build && npm run build:browser",
"lint": "tslint --type-check -p tsconfig.json -c ../../tslint.json src/*.ts",
"minify:browser": "uglifyjs -c -m -o ./lib/bundle.min.js -- ./lib/bundle.js",
"postbuild": "npm run bundle",
"prebuild": "npm run clean",
"prepublishOnly": "npm run clean && npm run build",
"test": "jest",
"watch": "tsc -w -p . & rollup -c -w"
},
"dependencies": {
"apollo-link": "^1.2.11",
"graphql-gun": "^1.0.0"
},
"devDependencies": {
"@types/jest": "26.0.7",
"browserify": "16.5.1",
"graphql": "15.3.0",
"graphql-tag": "2.10.4",
"graphql-tools": "6.0.15",
"jest": "26.1.0",
"rimraf": "3.0.2",
"rollup": "^2.23.0",
"rollup-plugin-sourcemaps": "^0.6.2",
"ts-jest": "26.1.3",
"tslint": "6.1.2",
"typescript": "3.9.7",
"uglify-js": "3.10.0"
},
"jest": {
"transform": {
".(ts|tsx)": "ts-jest"
},
"testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"json"
]
}
}