{"id":21503066,"url":"https://github.com/jagi/jest-transform-graphql","last_synced_at":"2025-07-15T23:31:15.239Z","repository":{"id":57120030,"uuid":"162982009","full_name":"jagi/jest-transform-graphql","owner":"jagi","description":null,"archived":false,"fork":false,"pushed_at":"2020-01-23T10:56:54.000Z","size":4,"stargazers_count":9,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-11-15T01:42:42.087Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jagi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-12-24T11:06:24.000Z","updated_at":"2021-12-19T15:38:27.000Z","dependencies_parsed_at":"2022-08-23T12:20:57.595Z","dependency_job_id":null,"html_url":"https://github.com/jagi/jest-transform-graphql","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jagi%2Fjest-transform-graphql","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jagi%2Fjest-transform-graphql/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jagi%2Fjest-transform-graphql/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jagi%2Fjest-transform-graphql/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jagi","download_url":"https://codeload.github.com/jagi/jest-transform-graphql/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":226078432,"owners_count":17570302,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-23T18:19:27.026Z","updated_at":"2024-11-23T18:19:27.867Z","avatar_url":"https://github.com/jagi.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# @jagi/jest-transform-graphql\n\nThis package allows you to import your GraphQL queries directly from the \\*.gql files in Jest.\n\n```js\nimport USER_QUERY from \"./graphql/userQuery.gql\";\n```\n\n## Usage\n\nIn your `package.json` file:\n\n```js\n{\n  /* ... */\n  \"jest\": {\n    \"transform\": {\n      \"\\\\.(gql|graphql)$\": \"@jagi/jest-transform-graphql\"\n      /* ... */\n    }\n  }\n}\n```\n\nOr in your `jest.config.js` file:\n\n```js\nmodule.exports = {\n  transform: {\n    \"\\\\.(gql|graphql)$\": \"@jagi/jest-transform-graphql\"\n    /* ... */\n  }\n  /* ... */\n};\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjagi%2Fjest-transform-graphql","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjagi%2Fjest-transform-graphql","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjagi%2Fjest-transform-graphql/lists"}