mirror of
https://github.com/strapi/strapi.git
synced 2026-01-07 12:45:45 +00:00
107 lines
3.1 KiB
JSON
107 lines
3.1 KiB
JSON
{
|
|
"name": "@strapi/plugin-graphql",
|
|
"version": "5.10.4",
|
|
"description": "Adds GraphQL endpoint with default API methods.",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/strapi/strapi.git",
|
|
"directory": "packages/plugins/graphql"
|
|
},
|
|
"license": "SEE LICENSE IN LICENSE",
|
|
"author": {
|
|
"name": "Strapi Solutions SAS",
|
|
"email": "hi@strapi.io",
|
|
"url": "https://strapi.io"
|
|
},
|
|
"maintainers": [
|
|
{
|
|
"name": "Strapi Solutions SAS",
|
|
"email": "hi@strapi.io",
|
|
"url": "https://strapi.io"
|
|
}
|
|
],
|
|
"exports": {
|
|
"./strapi-admin": {
|
|
"types": "./dist/admin/src/index.d.ts",
|
|
"source": "./admin/src/index.ts",
|
|
"import": "./dist/admin/index.mjs",
|
|
"require": "./dist/admin/index.js",
|
|
"default": "./dist/admin/index.js"
|
|
},
|
|
"./strapi-server": {
|
|
"types": "./dist/server/src/index.d.ts",
|
|
"source": "./server/src/index.ts",
|
|
"import": "./dist/server/index.mjs",
|
|
"require": "./dist/server/index.js",
|
|
"default": "./dist/server/index.js"
|
|
},
|
|
"./package.json": "./package.json"
|
|
},
|
|
"files": [
|
|
"dist/",
|
|
"strapi-server.js"
|
|
],
|
|
"scripts": {
|
|
"build": "run -T npm-run-all clean --parallel build:code build:types",
|
|
"build:code": "run -T rollup -c",
|
|
"build:types": "run -T run-p build:types:server build:types:admin",
|
|
"build:types:server": "run -T tsc -p server/tsconfig.build.json --emitDeclarationOnly",
|
|
"build:types:admin": "run -T tsc -p admin/tsconfig.build.json --emitDeclarationOnly",
|
|
"clean": "run -T rimraf ./dist",
|
|
"lint": "run -T eslint .",
|
|
"watch": "run -T rollup -c -w"
|
|
},
|
|
"dependencies": {
|
|
"@apollo/server": "4.11.0",
|
|
"@as-integrations/koa": "1.1.1",
|
|
"@graphql-tools/schema": "10.0.3",
|
|
"@graphql-tools/utils": "^10.1.3",
|
|
"@koa/cors": "5.0.0",
|
|
"@strapi/design-system": "2.0.0-rc.18",
|
|
"@strapi/icons": "2.0.0-rc.18",
|
|
"@strapi/utils": "5.10.4",
|
|
"graphql": "^16.8.1",
|
|
"graphql-depth-limit": "^1.1.0",
|
|
"graphql-playground-middleware-koa": "^1.6.21",
|
|
"graphql-scalars": "1.22.2",
|
|
"koa-bodyparser": "4.4.1",
|
|
"koa-compose": "^4.1.0",
|
|
"lodash": "4.17.21",
|
|
"nexus": "1.3.0",
|
|
"pluralize": "8.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@strapi/strapi": "5.10.4",
|
|
"@strapi/types": "5.10.4",
|
|
"@types/graphql-depth-limit": "1.1.5",
|
|
"@types/koa-bodyparser": "4.3.12",
|
|
"@types/koa__cors": "5.0.0",
|
|
"cross-env": "^7.0.3",
|
|
"eslint-config-custom": "5.10.4",
|
|
"koa": "2.15.4",
|
|
"react": "18.3.1",
|
|
"react-dom": "18.3.1",
|
|
"react-router-dom": "6.22.3",
|
|
"styled-components": "6.1.8",
|
|
"tsconfig": "5.10.4",
|
|
"typescript": "5.4.4"
|
|
},
|
|
"peerDependencies": {
|
|
"@strapi/strapi": "^5.0.0",
|
|
"react": "^17.0.0 || ^18.0.0",
|
|
"react-dom": "^17.0.0 || ^18.0.0",
|
|
"react-router-dom": "^6.0.0",
|
|
"styled-components": "^6.0.0"
|
|
},
|
|
"engines": {
|
|
"node": ">=18.0.0 <=22.x.x",
|
|
"npm": ">=6.0.0"
|
|
},
|
|
"strapi": {
|
|
"displayName": "GraphQL",
|
|
"name": "graphql",
|
|
"description": "Adds GraphQL endpoint with default API methods.",
|
|
"kind": "plugin"
|
|
}
|
|
}
|