generated from habx/lib-ts-template
-
Notifications
You must be signed in to change notification settings - Fork 14
/
package.json
75 lines (75 loc) · 2.01 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
{
"name": "@habx/apollo-multi-endpoint-link",
"version": "2.10.0",
"description": "Apollo link which add an api directive to fetch data from multi endpoints",
"main": "./dist/index.cjs.js",
"module": "./dist/esm/index.js",
"types": "./dist/typings/index.d.ts",
"sideEffects": false,
"scripts": {
"clean": "rimraf ./dist",
"build": "npm run clean && npm run build:esm && npm run build:cjs",
"build-ci": "npm run clean && npm run build:esm && npm run build:cjs",
"build:esm": "tsc",
"build:cjs": "bili",
"build:watch": "npm run clean && tsc --watch",
"generate:snapshots": "node ./scripts/generateSnapshot.js",
"lint": "eslint \"src/**\"",
"test": "jest",
"test-ci": "jest",
"test:coverage": "jest --coverage"
},
"files": [
"dist"
],
"repository": {
"type": "git",
"url": "git+https://github.com/habx/apollo-multi-endpoint-link.git"
},
"author": "HABX Front End Team",
"license": "ISC",
"bugs": {
"url": "https://github.com/habx/apollo-multi-endpoint-link/issues"
},
"homepage": "https://github.com/habx/apollo-multi-endpoint-link#readme",
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{ts,tsx}": [
"eslint --fix"
]
},
"peerDependencies": {
"@apollo/client": "^3.7.3"
},
"devDependencies": {
"@apollo/client": "^3.7.3",
"@habx/config-ci-front": "^3.9.0",
"@habx/eslint-config-client": "^6.10.0",
"@types/jest": "^29.2.5",
"apollo-link-rest": "*",
"bili": "^5.0.5",
"cz-conventional-changelog": "^3.3.0",
"eslint": "^8.31.0",
"graphql": "^15.8.0",
"husky": "^4.3.8",
"jest": "^29.3.1",
"jest-fetch-mock": "^3.0.3",
"lint-staged": "^13.1.0",
"rimraf": "^3.0.2",
"rollup-plugin-typescript2": "^0.34.1",
"ts-jest": "^29.0.3",
"typescript": "^4.9.4"
},
"publishConfig": {
"registry": "https://npm.pkg.github.com/"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
}
}