All Downloads are FREE. Search and download functionalities are using the official Maven repository.

node_modules.apollo-codegen.package.json Maven / Gradle / Ivy

There is a newer version: 3.3.1
Show newest version
{
  "_from": "apollo-codegen",
  "_id": "[email protected]",
  "_inBundle": false,
  "_integrity": "sha512-f95fPGoQoj+XcR7JWgR35mUYrD7RWT4kHbtSLs3aHeRFOKUHEWW2nHUNTOtQbbIdLulRuxPQCTvSddT7fFwhrA==",
  "_location": "/apollo-codegen",
  "_phantomChildren": {},
  "_requested": {
    "type": "tag",
    "registry": true,
    "raw": "apollo-codegen",
    "name": "apollo-codegen",
    "escapedName": "apollo-codegen",
    "rawSpec": "",
    "saveSpec": null,
    "fetchSpec": "latest"
  },
  "_requiredBy": [
    "#USER",
    "/"
  ],
  "_resolved": "https://registry.npmjs.org/apollo-codegen/-/apollo-codegen-0.20.2.tgz",
  "_shasum": "960972828651de74e043f8f92f6f819025a50f49",
  "_spec": "apollo-codegen",
  "_where": "/home/circleci/apollo-client-maven-plugin/apollo-client-maven-plugin/target",
  "author": {
    "name": "Martijn Walraven",
    "email": "[email protected]"
  },
  "bin": {
    "apollo-codegen": "./lib/cli.js"
  },
  "bugs": {
    "url": "https://github.com/apollographql/apollo-codegen/issues"
  },
  "bundleDependencies": false,
  "dependencies": {
    "apollo-codegen-core": "^0.20.0",
    "apollo-codegen-flow": "^0.20.0",
    "apollo-codegen-flow-legacy": "^0.20.0",
    "apollo-codegen-scala": "^0.20.0",
    "apollo-codegen-swift": "^0.20.0",
    "apollo-codegen-typescript": "^0.20.0",
    "apollo-codegen-typescript-legacy": "^0.20.0",
    "glob": "^7.1.2",
    "graphql": "^0.13.1",
    "node-fetch": "^1.7.3",
    "rimraf": "^2.6.2",
    "source-map-support": "^0.5.0",
    "yargs": "^10.0.3"
  },
  "deprecated": "The 'apollo-codegen' command has been replaced with the more-powerful 'apollo' CLI. Switch to 'apollo' to ensure future updates and visit https://npm.im/apollo#code-generation for more information.",
  "description": "Generate API code or type annotations based on a GraphQL schema and query documents",
  "devDependencies": {
    "@types/glob": "^5.0.34",
    "@types/graphql": "^0.12.4",
    "@types/jest": "^21.1.8",
    "@types/node-fetch": "^1.6.7",
    "@types/rimraf": "^2.0.2",
    "@types/yargs": "^10.0.0",
    "jest": "^22.0.3",
    "jest-matcher-utils": "^22.0.3",
    "lerna": "^2.11.0",
    "ts-jest": "^22.0.0",
    "typescript": "^2.6.2"
  },
  "engines": {
    "node": ">=6.0",
    "npm": ">=5.0"
  },
  "homepage": "https://github.com/apollographql/apollo-codegen#readme",
  "jest": {
    "testEnvironment": "node",
    "testMatch": [
      "**/__tests__/*.(js|ts)"
    ],
    "setupFiles": [
      "/../apollo-codegen-core/src/polyfills.ts"
    ],
    "testPathIgnorePatterns": [
      "/node_modules/",
      "/lib/",
      "/test/fixtures/",
      "/test/test-utils"
    ],
    "transform": {
      "^.+\\.(ts|js)x?$": "../../node_modules/ts-jest/preprocessor.js"
    },
    "moduleFileExtensions": [
      "ts",
      "js"
    ],
    "globals": {
      "ts-jest": {
        "skipBabel": true
      }
    }
  },
  "license": "MIT",
  "main": "./lib/index.js",
  "name": "apollo-codegen",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/apollographql/apollo-codegen.git"
  },
  "scripts": {
    "build": "tsc",
    "clean": "rm -rf lib",
    "prebuild": "npm run clean",
    "test": "jest",
    "test:smoke": "npm run build && node ./lib/cli.js generate ../common-test/fixtures/starwars/HeroAndFriends.graphql --schema ../common-test/fixtures/starwars/schema.json --output API.swift && echo 'Smoke Test Passed' && rm API.swift",
    "watch": "tsc -w"
  },
  "version": "0.20.2"
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy