1 | {
|
2 | "name": "graphql-tag",
|
3 | "version": "2.12.4",
|
4 | "description": "A JavaScript template literal tag that parses GraphQL queries",
|
5 | "main": "./main.js",
|
6 | "module": "./lib/index.js",
|
7 | "jsnext:main": "./lib/index.js",
|
8 | "types": "./lib/index.d.ts",
|
9 | "sideEffects": false,
|
10 | "scripts": {
|
11 | "prebuild": "rimraf lib",
|
12 | "build": "tsc && rollup -c && npm run flow",
|
13 | "flow": "cp src/index.js.flow lib/graphql-tag.umd.js.flow",
|
14 | "test": "npm run test:ts3 && npm run test:ts4",
|
15 | "test:ts3": "npm i typescript@3.7.x && npm run test:mocha",
|
16 | "test:ts4": "npm i typescript@4.x && npm run test:mocha",
|
17 | "test:mocha": "npm run build && mocha lib/tests.cjs.js",
|
18 | "prepublish": "npm run build"
|
19 | },
|
20 | "files": [
|
21 | "lib/",
|
22 | "loader.js",
|
23 | "main.js"
|
24 | ],
|
25 | "repository": {
|
26 | "type": "git",
|
27 | "url": "git+https://github.com/apollographql/graphql-tag.git"
|
28 | },
|
29 | "author": "",
|
30 | "license": "MIT",
|
31 | "bugs": {
|
32 | "url": "https://github.com/apollographql/graphql-tag/issues"
|
33 | },
|
34 | "homepage": "https://github.com/apollographql/graphql-tag#readme",
|
35 | "dependencies": {
|
36 | "tslib": "^2.1.0"
|
37 | },
|
38 | "devDependencies": {
|
39 | "@types/chai": "^4.2.14",
|
40 | "@types/mocha": "^8.2.0",
|
41 | "@types/node": "^14.14.22",
|
42 | "chai": "^4.2.0",
|
43 | "graphql": "^15.4.0",
|
44 | "mocha": "^8.2.1",
|
45 | "rimraf": "^3.0.2",
|
46 | "rollup": "^2.33.1",
|
47 | "rollup-plugin-sourcemaps": "^0.6.3",
|
48 | "source-map-support": "^0.5.19",
|
49 | "test-all-versions": "^5.0.1",
|
50 | "typescript": "^4.2.4"
|
51 | },
|
52 | "peerDependencies": {
|
53 | "graphql": "^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"
|
54 | },
|
55 | "engines": {
|
56 | "node": ">=10"
|
57 | }
|
58 | }
|