-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
69 lines (69 loc) · 1.86 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
{
"name": "gqlprune",
"version": "1.2.8",
"description": "This script helps identify unused GraphQL operations (queries, mutations, subscriptions) in your project. It scans .gql files for operations and checks if they are being used in your TypeScript/JavaScript files.",
"bin": {
"gqlPrune": "./dist/cli.js"
},
"files": [
"dist"
],
"main": "./dist/cli.js",
"type": "module",
"scripts": {
"clean": "rimraf dist",
"prebuild": "npm run clean",
"build": "tsc",
"start": "node ./dist/cli.js",
"dev": "npm run build && npm run start",
"test": "jest",
"lint": "eslint 'src/**/*.{js,ts,tsx}'",
"lint:fix": "eslint 'src/**/*.{js,ts,tsx}' --fix",
"format": "prettier --write 'src/**/*.{js,ts,tsx}'"
},
"engines": {
"node": ">=16.0.0"
},
"keywords": [
"graphql",
"prune",
"unused",
"operations",
"queries",
"mutations"
],
"author": "Krister Johansson",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/Krister-Johansson/gqlPrune.git"
},
"bugs": {
"url": "https://github.com/Krister-Johansson/gqlPrune/issues"
},
"homepage": "https://github.com/Krister-Johansson/gqlPrune",
"dependencies": {
"graphql": "^16.8.1",
"inquirer": "^9.2.19",
"js-yaml": "^4.1.0",
"kleur": "^4.1.5"
},
"devDependencies": {
"@tsconfig/node20": "^20.1.2",
"@types/inquirer": "^9.0.4",
"@types/jest": "^29.5.5",
"@types/js-yaml": "^4.0.7",
"@typescript-eslint/eslint-plugin": "^6.7.5",
"@typescript-eslint/parser": "^6.7.5",
"eslint": "^8.51.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-prettier": "^5.0.1",
"eslint-plugin-unused-imports": "^3.0.0",
"jest": "^29.7.0",
"prettier": "^3.0.3",
"rimraf": "^5.0.5",
"standard-version": "^9.5.0",
"ts-jest": "^29.1.1",
"typescript": "^5.2.2"
}
}