-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
65 lines (65 loc) · 1.94 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-defer",
"version": "0.1.1",
"description": "Deferred loading of a link based on Promises or Observables",
"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/leadiq/apollo-link-defer.git"
},
"homepage": "https://github.com/leadiq/apollo-link-defer#readme",
"author": "Paul Daniels",
"license": "MIT",
"private": false,
"scripts": {
"build:browser": "browserify ./lib/bundle.umd.js -o=./lib/bundle.js --i apollo-utilities --i graphql --i zen-observable && 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"
},
"devDependencies": {
"@types/graphql": "^0.13.4",
"@types/jest": "^23.3.1",
"browserify": "^16.0.0",
"graphql": "^0.13.0",
"graphql-tag": "^2.7.3",
"jest": "^22.2.1",
"rimraf": "^2.6.2",
"rollup": "^0.64.1",
"ts-jest": "^23.1.3",
"tslint": "^5.9.1",
"typescript": "^2.7.1",
"uglify-js": "^3.3.10"
},
"dependencies": {
"apollo-link": "^1.2.2",
"zen-observable-ts": "^0.8.9"
},
"peerDependencies": {
"graphql": "^0.13.0"
},
"jest": {
"transform": {
".(ts|tsx)": "<rootDir>/node_modules/ts-jest/preprocessor.js"
},
"testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"json"
]
}
}