1 | {
|
2 | "name": "graphql-tag",
|
3 | "version": "2.12.5",
|
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 | "src/",
|
23 | "loader.js",
|
24 | "main.js"
|
25 | ],
|
26 | "repository": {
|
27 | "type": "git",
|
28 | "url": "git+https://github.com/apollographql/graphql-tag.git"
|
29 | },
|
30 | "author": "",
|
31 | "license": "MIT",
|
32 | "bugs": {
|
33 | "url": "https://github.com/apollographql/graphql-tag/issues"
|
34 | },
|
35 | "homepage": "https://github.com/apollographql/graphql-tag#readme",
|
36 | "dependencies": {
|
37 | "tslib": "^2.1.0"
|
38 | },
|
39 | "devDependencies": {
|
40 | "@types/chai": "^4.2.14",
|
41 | "@types/mocha": "^8.2.0",
|
42 | "@types/node": "^14.14.22",
|
43 | "chai": "^4.2.0",
|
44 | "graphql": "^15.4.0",
|
45 | "mocha": "^9.0.1",
|
46 | "rimraf": "^3.0.2",
|
47 | "rollup": "^2.33.1",
|
48 | "rollup-plugin-sourcemaps": "^0.6.3",
|
49 | "source-map-support": "^0.5.19",
|
50 | "test-all-versions": "^5.0.1",
|
51 | "typescript": "^4.3.4"
|
52 | },
|
53 | "peerDependencies": {
|
54 | "graphql": "^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"
|
55 | },
|
56 | "engines": {
|
57 | "node": ">=10"
|
58 | }
|
59 | }
|