Mirror: Modular GraphQL.js import paths without the hassle.
at main 1.4 kB view raw
1{ 2 "name": "babel-plugin-modular-graphql", 3 "description": "Modular GraphQL.js import paths without the hassle", 4 "version": "1.1.0", 5 "main": "index.js", 6 "author": "Phil Pluckthun <phil@kitten.sh>", 7 "license": "MIT", 8 "repository": "https://github.com/kitten/babel-plugin-modular-graphql", 9 "bugs": { 10 "url": "https://github.com/kitten/babel-plugin-modular-graphql/issues" 11 }, 12 "files": [ 13 "import-map.json", 14 "import-map-overrides.json", 15 "index.js" 16 ], 17 "scripts": { 18 "build": "node scripts/generate-import-map.js", 19 "prepublishOnly": "node scripts/generate-import-map.js" 20 }, 21 "keywords": [ 22 "graphql", 23 "babel-plugin", 24 "modular", 25 "tree-shaking" 26 ], 27 "peerDependencies": { 28 "graphql": "^14.0.0 || ^15.0.0 || ^16.0.0" 29 }, 30 "peerDependenciesMeta": { 31 "graphql": { 32 "optional": true 33 } 34 }, 35 "devDependencies": { 36 "@rollup/plugin-node-resolve": "^13.1.1", 37 "graphql-14": "npm:graphql@^14.5.8", 38 "graphql-15": "npm:graphql@^16.1.0", 39 "graphql-16": "npm:graphql@^15.8.0", 40 "husky-v4": "^4.3.0", 41 "lint-staged": "^12.1.2", 42 "prettier": "^2.5.1", 43 "rollup": "^2.61.1" 44 }, 45 "lint-staged": { 46 "*.{json,js}": [ 47 "prettier --write" 48 ] 49 }, 50 "husky": { 51 "hooks": { 52 "pre-commit": "lint-staged" 53 } 54 }, 55 "prettier": { 56 "singleQuote": true, 57 "printWidth": 100 58 } 59}