UNPKG

2.17 kBJSONView Raw
1{
2 "name": "@rollup/plugin-graphql",
3 "version": "2.0.0",
4 "publishConfig": {
5 "access": "public"
6 },
7 "description": "Convert .gql/.graphql files to ES6 modules",
8 "license": "MIT",
9 "repository": {
10 "url": "rollup/plugins",
11 "directory": "packages/graphql"
12 },
13 "author": "rollup",
14 "homepage": "https://github.com/rollup/plugins/tree/master/packages/graphql#readme",
15 "bugs": "https://github.com/rollup/plugins/issues",
16 "main": "./dist/cjs/index.js",
17 "module": "./dist/es/index.js",
18 "exports": {
19 "import": "./dist/es/index.js",
20 "types": "./types/index.d.ts",
21 "default": "./dist/cjs/index.js"
22 },
23 "engines": {
24 "node": ">=14.0.0"
25 },
26 "scripts": {
27 "build": "rollup -c",
28 "ci:coverage": "nyc pnpm test && nyc report --reporter=text-lcov > coverage.lcov",
29 "ci:lint": "pnpm build && pnpm lint",
30 "ci:lint:commits": "commitlint --from=${CIRCLE_BRANCH} --to=${CIRCLE_SHA1}",
31 "ci:test": "pnpm test -- --verbose && pnpm test:ts",
32 "lint:graphql": "prettier --write \"test/fixtures/**/*.graphql\"",
33 "prebuild": "del-cli dist && pnpm lint:graphql",
34 "prepare": "if [ ! -d 'dist' ]; then pnpm build; fi",
35 "prerelease": "pnpm build",
36 "pretest": "pnpm build",
37 "release": "pnpm --workspace-root plugin:release --pkg $npm_package_name",
38 "test": "ava",
39 "test:ts": "tsc types/index.d.ts test/types.ts --noEmit"
40 },
41 "files": [
42 "dist",
43 "!dist/**/*.map",
44 "types",
45 "README.md",
46 "LICENSE"
47 ],
48 "keywords": [
49 "rollup",
50 "plugin",
51 "graphql",
52 "apollo",
53 "import",
54 "modules"
55 ],
56 "peerDependencies": {
57 "graphql": ">=0.9.0",
58 "rollup": "^1.20.0||^2.0.0||^3.0.0"
59 },
60 "peerDependenciesMeta": {
61 "rollup": {
62 "optional": true
63 }
64 },
65 "dependencies": {
66 "@rollup/pluginutils": "^4.2.1",
67 "graphql-tag": "^2.12.6"
68 },
69 "devDependencies": {
70 "@rollup/plugin-buble": "^0.21.3",
71 "graphql": "^16.6.0",
72 "rollup": "^3.0.0-7"
73 },
74 "types": "./types/index.d.ts",
75 "ava": {
76 "workerThreads": false,
77 "files": [
78 "!**/fixtures/**",
79 "!**/helpers/**",
80 "!**/recipes/**",
81 "!**/types.ts"
82 ]
83 }
84}