-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
99 lines (99 loc) · 2.45 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
{
"name": "gql-compress",
"description": "Shrink your GraphQL",
"version": "2.0.24",
"author": "Jane Web Team",
"license": "MIT",
"main": "lib/index.js",
"scripts": {
"build": "run-s -s build:clean build:rollup",
"build:clean": "rm -rf lib && mkdir -p lib",
"build:rollup": "rollup -c",
"cover": "npm run test:jest -- --coverage --no-cache",
"cover:coveralls": "if [ -n \"$COVERALLS_REPO_TOKEN\" ] ; then coveralls < coverage/lcov.info ; fi || true",
"format": "prettier --write \"src/*.ts\"",
"prebuild": "npm run test:build && sortpack",
"preversion": "npm run build",
"test": "run-s -s test:lint test:jest",
"test:build": "run-s -s test:lint cover cover:coveralls",
"test:jest": "jest",
"test:lint": "eslint -c .eslintrc.json src/*.ts"
},
"homepage": "https://github.com/jane/gql-compress#readme",
"repository": {
"type": "git",
"url": "https://github.com/jane/gql-compress.git"
},
"bugs": "https://github.com/jane/gql-compress/issues",
"keywords": [
"compress",
"gql",
"graphql"
],
"dependencies": {},
"devDependencies": {
"@types/jest": "26.0.19",
"coveralls": "3.1.0",
"eslint": "7.16.0",
"eslint-plugin-jane": "9.0.5",
"husky": "4.3.6",
"jest": "26.6.3",
"lint-staged": "10.5.3",
"npm-run-all": "4.1.5",
"prettier": "2.2.1",
"rollup": "2.35.1",
"rollup-plugin-commonjs": "10.1.0",
"rollup-plugin-json": "4.0.0",
"rollup-plugin-node-builtins": "2.1.2",
"rollup-plugin-node-resolve": "5.2.0",
"rollup-plugin-typescript": "1.0.1",
"rollup-plugin-uglify": "6.0.4",
"rollup-watch": "4.3.1",
"sortpack": "2.1.11",
"tap-spec": "5.0.0",
"ts-jest": "26.4.4",
"typescript": "4.1.3",
"uglify-es": "3.3.10"
},
"engines": {
"node": ">=10.10.0"
},
"jest": {
"collectCoverageFrom": [
"src/*.ts"
],
"coverageReporters": [
"json-summary",
"lcov",
"text",
"json"
],
"moduleFileExtensions": [
"js",
"ts",
"json"
],
"modulePaths": [
"<rootDir>/src/"
],
"testEnvironment": "jsdom",
"testPathIgnorePatterns": [
"<rootDir>/(lib|node_modules)/"
],
"testRegex": "\\.test\\.ts$",
"testURL": "http://localhost",
"transform": {
"^.+\\.ts$": "ts-jest"
}
},
"lint-staged": {
"*.ts": [
"prettier --write"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
}
}