1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859 |
- {
- "name": "graphql-tag",
- "version": "2.12.6",
- "description": "A JavaScript template literal tag that parses GraphQL queries",
- "main": "./main.js",
- "module": "./lib/index.js",
- "jsnext:main": "./lib/index.js",
- "types": "./lib/index.d.ts",
- "sideEffects": false,
- "scripts": {
- "prebuild": "rimraf lib",
- "build": "tsc && rollup -c && npm run flow",
- "flow": "cp src/index.js.flow lib/graphql-tag.umd.js.flow",
- "test": "npm run test:ts3 && npm run test:ts4",
- "test:ts3": "npm i typescript@3.7.x graphql@15.x.x && npm run test:mocha",
- "test:ts4": "npm i typescript@4.x.x graphql@16.x.x && npm run test:mocha",
- "test:mocha": "npm run build && mocha lib/tests.cjs.js",
- "prepublish": "npm run build"
- },
- "files": [
- "lib/",
- "src/",
- "loader.js",
- "main.js"
- ],
- "repository": {
- "type": "git",
- "url": "git+https://github.com/apollographql/graphql-tag.git"
- },
- "author": "",
- "license": "MIT",
- "bugs": {
- "url": "https://github.com/apollographql/graphql-tag/issues"
- },
- "homepage": "https://github.com/apollographql/graphql-tag#readme",
- "dependencies": {
- "tslib": "^2.1.0"
- },
- "devDependencies": {
- "@types/chai": "^4.2.14",
- "@types/mocha": "^8.2.0",
- "@types/node": "^14.14.22",
- "chai": "^4.2.0",
- "graphql": "^16.0.1",
- "mocha": "^9.0.1",
- "rimraf": "^3.0.2",
- "rollup": "^2.33.1",
- "rollup-plugin-sourcemaps": "^0.6.3",
- "source-map-support": "^0.5.19",
- "test-all-versions": "^5.0.1",
- "typescript": "^4.4.4"
- },
- "peerDependencies": {
- "graphql": "^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0"
- },
- "engines": {
- "node": ">=10"
- }
- }
|