strapi-nextgen-framework
Version:
Production-ready, type-safe framework bridging Strapi v4 CMS and Next.js 14+ App Router with automatic cache management, Error Boundaries, and SEO optimization
146 lines (145 loc) • 4.94 kB
JSON
{
"name": "strapi-nextgen-framework",
"version": "0.1.1",
"description": "Production-ready, type-safe framework bridging Strapi v4 CMS and Next.js 14+ App Router with automatic cache management, Error Boundaries, and SEO optimization",
"main": "./dist/index.js",
"module": "./dist/esm/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"import": "./dist/esm/index.js",
"require": "./dist/index.js",
"types": "./dist/index.d.ts"
}
},
"files": [
"dist",
"README.md",
"LICENSE"
],
"scripts": {
"build": "tsc && tsc -p tsconfig.esm.json",
"build:watch": "tsc --watch",
"type-check": "tsc --noEmit",
"lint": "eslint src --ext .ts,.tsx",
"lint:fix": "eslint src --ext .ts,.tsx --fix",
"format": "prettier --write \"src/**/*.{ts,tsx,json,md}\"",
"format:check": "prettier --check \"src/**/*.{ts,tsx,json,md}\"",
"test": "vitest run",
"test:unit": "vitest run --exclude src/**/__tests__/integration/**",
"test:integration": "vitest run src/**/__tests__/integration/**",
"test:e2e": "playwright test",
"test:e2e:ui": "playwright test --ui",
"test:e2e:headed": "playwright test --headed",
"test:e2e:visual": "playwright test e2e/visual.spec.ts",
"test:e2e:visual:update": "playwright test e2e/visual.spec.ts --update-snapshots",
"test:e2e:visual:debug": "playwright test e2e/visual.spec.ts --debug",
"test:e2e:a11y": "playwright test e2e/accessibility.spec.ts",
"test:e2e:a11y:debug": "playwright test e2e/accessibility.spec.ts --debug",
"test:e2e:perf": "playwright test e2e/performance.spec.ts",
"test:e2e:perf:debug": "playwright test e2e/performance.spec.ts --debug",
"test:e2e:load": "playwright test e2e/load.spec.ts",
"test:e2e:load:debug": "playwright test e2e/load.spec.ts --debug",
"test:watch": "vitest",
"test:coverage": "vitest run --coverage",
"test:coverage:ui": "vitest --coverage --ui",
"test:coverage:watch": "vitest watch --coverage",
"test:coverage:report": "vitest run --coverage && start coverage/index.html",
"benchmark": "npm run benchmark:lighthouse && npm run benchmark:bundle && npm run benchmark:memory",
"benchmark:lighthouse": "lhci autorun --config=lighthouserc.benchmark.json",
"benchmark:bundle": "node scripts/bundle-size-check.js",
"benchmark:memory": "node --expose-gc scripts/memory-benchmark.js",
"benchmark:parse": "node scripts/parse-lighthouse-results.js",
"benchmark:report": "node scripts/generate-performance-report.js",
"benchmark:check": "node scripts/check-performance-budget.js",
"analyze:bundle": "node scripts/bundle-size-check.js",
"docs": "typedoc --out docs src/index.ts",
"prepublishOnly": "npm run build && npm run test:unit",
"clean": "rimraf dist"
},
"keywords": [
"strapi",
"nextjs",
"next.js",
"cms",
"headless-cms",
"graphql",
"typescript",
"react",
"app-router",
"isr",
"seo",
"cache",
"revalidation",
"dynamic-zones",
"error-boundary",
"zod",
"validation",
"strapi-v4",
"next14",
"server-components",
"react-server-components",
"nextjs-server-components",
"strapi-cms",
"headless-cms-strapi",
"graphql-api",
"typescript-framework",
"react-framework",
"nextjs-framework",
"server-side-rendering",
"static-site-generation",
"incremental-static-regeneration"
],
"author": "fuqom",
"license": "GPL-3.0",
"repository": {
"type": "git",
"url": "https://github.com/DDevFurkanPasa/NextGen.git"
},
"bugs": {
"url": "https://github.com/DDevFurkanPasa/NextGen/issues"
},
"homepage": "https://github.com/DDevFurkanPasa/NextGen#readme",
"peerDependencies": {
"next": ">=14.0.0",
"react": ">=18.2.0",
"react-dom": ">=18.2.0"
},
"dependencies": {
"graphql": "^16.8.1",
"graphql-request": "^6.1.0",
"strapi-nextgen-framework": "^0.1.0",
"zod": "^3.22.4"
},
"devDependencies": {
"@axe-core/playwright": "^4.11.0",
"@playwright/test": "^1.56.1",
"@testing-library/jest-dom": "^6.9.1",
"@testing-library/react": "^16.3.0",
"@types/node": "^20.10.5",
"@types/react": "^18.2.45",
"@types/react-dom": "^18.2.18",
"@typescript-eslint/eslint-plugin": "^6.15.0",
"@typescript-eslint/parser": "^6.15.0",
"@vitest/coverage-v8": "^1.0.4",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.6.0",
"jsdom": "^27.1.0",
"lighthouse": "^12.8.2",
"next": "^14.0.4",
"playwright": "^1.56.1",
"playwright-lighthouse": "^4.0.0",
"prettier": "^3.1.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"rimraf": "^5.0.5",
"typedoc": "^0.25.4",
"typescript": "^5.3.3",
"vitest": "^1.0.4"
},
"engines": {
"node": ">=18.0.0"
}
}