-
Notifications
You must be signed in to change notification settings - Fork 21
/
package.json
90 lines (90 loc) · 2.27 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
{
"name": "graphql.macro",
"version": "1.4.2",
"main": "lib/index.js",
"module": "es/index.js",
"types": "index.d.ts",
"sideEffects": false,
"files": [
"es",
"lib",
"index.d.ts"
],
"scripts": {
"build": "hsu-scripts build src",
"test": "NODE_ENV='test' jest --coverage",
"test:watch": "npm run test -- --watch",
"flow": "flow",
"flow-coverage": "hsu-scripts flow --threshold 70",
"eslint": "eslint ./",
"format": "prettier --write '**/*.{js,json,md,css,yaml,yml}' '*.{js,json,md,css,yaml,yml}'",
"changelog": "conventional-changelog --infile ./CHANGELOG.md --same-file --release-count 0 --output-unreleased"
},
"dependencies": {
"@babel/template": "^7.4.4",
"babel-literal-to-ast": "^2.1.0",
"babel-plugin-macros": "^2.5.0",
"graphql-tag": "^2.10.1"
},
"devDependencies": {
"ast-pretty-print": "2.0.1",
"babel-plugin-tester": "6.0.0",
"codecov": "3.2.0",
"conventional-changelog-cli": "2.0.12",
"eslint": "5.14.1",
"flow-bin": "0.93.0",
"graphql": "14.1.1",
"hsu-scripts": "1.0.7",
"husky": "1.3.1",
"jest": "24.1.0",
"lint-staged": "8.1.4",
"prettier": "1.16.4"
},
"jest": {
"collectCoverageFrom": [
"src/**/*.js",
"!src/**/*.test.js"
],
"testPathIgnorePatterns": [
"<rootDir>/node_modules/",
"<rootDir>/lib/",
"<rootDir>/es/",
"<rootDir>/src/__tests__/flow.test.js"
],
"resetMocks": true,
"resetModules": true
},
"babel": {
"presets": [
"./node_modules/hsu-scripts/babel.js"
]
},
"eslintConfig": {
"extends": [
"./node_modules/hsu-scripts/eslint.js"
]
},
"lint-staged": {
"*.{js,json,md,css,yaml,yml}": [
"prettier --write",
"git add"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"description": "Compile GraphQL AST at build-time with babel-plugin-macros.",
"author": "Michael Hsu <[email protected]>",
"license": "MIT",
"bugs": {
"url": "https://github.com/evenchange4/graphql.macro/issues",
"email": "[email protected]"
},
"homepage": "https://github.com/evenchange4/graphql.macro#readme",
"repository": {
"type": "git",
"url": "https://github.com/evenchange4/graphql.macro.git"
}
}