-
Notifications
You must be signed in to change notification settings - Fork 10
/
package.json
41 lines (41 loc) · 1.06 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
{
"name": "graphql-tag.macro",
"version": "2.0.0",
"description": "graphql-tag as a babel-macro",
"author": {
"name": "Leonardo Andres Garcia Crespo",
"email": "[email protected]",
"url": "http://leoasis.github.io"
},
"homepage": "https://github.com/leoasis/graphql-tag.macro",
"files": [
"dist"
],
"license": "MIT",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"devDependencies": {
"@babel/cli": "^7.1.2",
"@babel/core": "^7.1.2",
"@babel/preset-env": "^7.1.0",
"babel-jest": "^23.6.0",
"babel-plugin-tester": "^5.5.1",
"jest": "^23.6.0"
},
"dependencies": {
"babel-literal-to-ast": "^2.0.0",
"babel-plugin-macros": "^2.4.2",
"graphql": "^14.0.2",
"graphql-tag": "^2.10.0"
},
"scripts": {
"test": "jest",
"babel": "babel src --out-dir dist --ignore \"src/**/*.test.js,__snapthots__\"",
"prepublish": "rm -rf dist && npm run babel && mv dist/index.macro.js dist/index.js && cp src/index.d.ts dist/"
},
"jest": {
"transform": {
"^.+\\.jsx?$": "babel-jest"
}
}
}