This repository has been archived by the owner on Oct 27, 2022. It is now read-only.
forked from vinhlh/graphql.macro
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
118 lines (118 loc) · 3.16 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
112
113
114
115
116
117
118
{
"name": "@kimmel/graphql.macro",
"version": "1.2.0",
"description": "Compile GraphQL AST at build-time with babel-plugin-macros.",
"author": "Michael Hsu <[email protected]>",
"license": "MIT",
"main": "lib/index.js",
"files": ["lib"],
"scripts": {
"clean": "rm -rf lib",
"prebuild": "npm run clean",
"build":
"NODE_ENV=production babel src --out-dir lib --ignore '**/*.test.js'",
"test": "jest --coverage --runInBand",
"test:watch": "npm run test -- --watch",
"eslint": "eslint ./",
"format": "prettier --write 'src/**/*.js' '*.{json,md}'",
"flow": "flow",
"precommit": "lint-staged",
"changelog":
"github-changes -o evenchange4 -r graphql.macro -b master -f ./CHANGELOG.md --order-semver --use-commit-body"
},
"dependencies": {
"babel-literal-to-ast": "^2.0.0",
"babel-plugin-macros": "^2.0.0",
"graphql-tag": "^2.6.1"
},
"devDependencies": {
"@babel/cli": "^7.0.0",
"@babel/core": "^7.0.0",
"@babel/node": "^7.0.0",
"@babel/plugin-proposal-object-rest-spread": "^7.0.0",
"@babel/preset-env": "^7.0.0",
"@babel/preset-flow": "^7.0.0",
"ast-pretty-print": "2.0.1",
"babel-core": "7.0.0-bridge.0",
"babel-eslint": "8.2.1",
"babel-jest": "22.1.0",
"babel-plugin-add-module-exports": "0.2.1",
"babel-plugin-tester": "5.0.0",
"codecov": "3.0.0",
"eslint": "4.16.0",
"eslint-config-airbnb-base": "12.1.0",
"eslint-config-prettier": "2.9.0",
"eslint-plugin-flowtype": "2.42.0",
"eslint-plugin-import": "2.8.0",
"eslint-plugin-jest": "21.7.0",
"eslint-plugin-prettier": "2.6.0",
"flow-bin": "0.64.0",
"github-changes": "1.1.2",
"graphql": "0.12.3",
"husky": "0.14.3",
"jest": "22.1.4",
"lint-staged": "6.1.0",
"prettier": "1.10.2"
},
"jest": {
"collectCoverageFrom": ["src/**/*.js", "!src/**/*.test.js"],
"testPathIgnorePatterns": [
"<rootDir>/node_modules/",
"<rootDir>/lib/",
"<rootDir>/example/"
],
"resetMocks": true,
"resetModules": true
},
"babel": {
"presets": [
[
"@babel/preset-env",
{
"targets": {
"node": "current"
}
}
],
"@babel/preset-flow"
],
"plugins": [
"babel-plugin-add-module-exports",
"@babel/plugin-proposal-object-rest-spread"
]
},
"prettier": {
"trailingComma": "all",
"singleQuote": true
},
"lint-staged": {
"*.{js,json,md}": ["prettier --write", "git add"]
},
"eslintConfig": {
"parser": "babel-eslint",
"extends": [
"airbnb-base",
"plugin:flowtype/recommended",
"plugin:jest/recommended",
"prettier",
"prettier/react",
"prettier/flowtype"
],
"plugins": ["prettier", "jest", "flowtype"],
"env": {
"jest/globals": true
},
"rules": {
"prettier/prettier": "error"
}
},
"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"
}
}