-
Notifications
You must be signed in to change notification settings - Fork 14
/
package.json
111 lines (111 loc) · 4.11 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
101
102
103
104
105
106
107
108
109
110
111
{
"name": "apollo-link-scalars",
"version": "4.0.3",
"author": "Eduardo Turiño <[email protected]>",
"description": "custom apollo link to allow to parse custom scalars",
"main": "build/main/index.js",
"typings": "build/main/index.d.ts",
"module": "build/module/index.js",
"repository": "https://github.com/eturino/apollo-link-scalars",
"homepage": "https://github.com/eturino/apollo-link-scalars",
"bugs": "https://github.com/eturino/apollo-link-scalars/issues",
"license": "MIT",
"keywords": [],
"lint-staged": {
"src/**/*.ts": [
"eslint --fix",
"prettier --write"
]
},
"scripts": {
"lint-staged": "lint-staged",
"prepare": "install-peers && husky install",
"describe": "npm-scripts-info",
"build": "run-s clean && run-p build:*",
"build:main": "tsc -p tsconfig.json",
"build:module": "tsc -p tsconfig.module.json",
"fix": "run-s fix:*",
"fix:prettier": "prettier \"src/**/*.ts\" --write",
"fix:eslint": "eslint \"src/**/*.ts\" --fix",
"type-check": "tsc --noEmit",
"test": "run-s build test:* type-check",
"test:eslint": "eslint \"src/**/*.ts\"",
"test:prettier": "prettier \"src/**/*.ts\" --list-different",
"test:unit": "jest --coverage --config=\"jest.config.js\"",
"cov": "run-s build cov:html && open-cli coverage/index.html",
"cov:html": "jest --coverage --config=\"jest.html.config.js\"",
"watch": "run-s clean build:main && run-p \"build:main -- -w\" \"test:unit -- --watch\"",
"doc": "run-s doc:html && open-cli build/docs/index.html",
"doc:html": "typedoc --theme default src/index.ts --exclude **/*.spec.ts --out build/docs",
"doc:json": "typedoc src/index.ts --exclude **/*.spec.ts --json build/docs/typedoc.json",
"doc:publish": "gh-pages -m \"[ci skip] Updates\" -d build/docs",
"version": "standard-version",
"reset": "git clean -dfx -e .idea && git reset --hard && yarn install && install-peers -f",
"clean": "trash build test",
"prepare-release": "run-s reset test doc:html version doc:publish"
},
"scripts-info": {
"info": "Display information about the package scripts",
"build": "Clean and rebuild the project",
"fix": "Try to automatically fix any linting problems",
"test": "Lint and unit test the project",
"watch": "Watch and rebuild the project on save, then rerun relevant tests",
"doc": "Generate HTML API documentation and open it in a browser",
"doc:json": "Generate API documentation in typedoc JSON format",
"version": "Bump package.json version, update CHANGELOG.md, tag release",
"reset": "Delete all untracked files (except `.idea`) and reset the repo to the last commit",
"prepare-release": "One-step: clean, build, test, publish docs, and prep a release"
},
"engines": {
"node": ">=10.0"
},
"dependencies": {
"zen-observable-ts": "^1.1.0"
},
"peerDependencies": {
"@apollo/client": "3.x",
"graphql": "16.x"
},
"devDependencies": {
"@commitlint/cli": "^19.0.1",
"@commitlint/config-conventional": "^19.0.0",
"@graphql-tools/schema": "^10.0.2",
"@types/jest": "^29.5.11",
"@types/lodash-es": "^4.17.12",
"@types/react": "^18.2.43",
"@typescript-eslint/eslint-plugin": "^7.0.0",
"@typescript-eslint/parser": "^6.14.0",
"cz-conventional-changelog": "^3.3.0",
"eslint": "^8.55.0",
"eslint-config-prettier": "^9.1.0",
"eslint-import-resolver-typescript": "^3.6.1",
"eslint-plugin-import": "^2.29.0",
"gh-pages": "^6.1.0",
"github-release-from-changelog": "^2.1.1",
"husky": "^9.0.5",
"install-peers-cli": "^2.2.0",
"jest": "^29.7.0",
"lint-staged": "^15.2.0",
"lodash-es": "^4.17.21",
"npm-run-all": "^4.1.5",
"open-cli": "^8.0.0",
"prettier": "^3.1.1",
"prettier-plugin-organize-imports": "^4.0.0",
"standard-version": "^9.5.0",
"trash-cli": "^6.0.0",
"ts-jest": "^29.1.1",
"ts-loader": "^9.5.1",
"ts-node": "^10.9.2",
"typedoc": "^0.27.0",
"typescript": "^5.3.3"
},
"config": {
"commitizen": {
"path": "cz-conventional-changelog"
}
},
"volta": {
"node": "18.18.0",
"yarn": "1.22.21"
}
}