UNPKG

@datadome/module-nextjs

Version:

DataDome module for Next.js applications

63 lines (62 loc) 2.23 kB
{ "name": "@datadome/module-nextjs", "version": "1.0.1", "description": "DataDome module for Next.js applications", "main": "./dist-cjs/index.js", "module": "./dist-es/index.js", "types": "./dist-types/index.d.ts", "repository": { "type": "git", "url": "git+https://github.com/DataDome/module-nextjs.git" }, "keywords": [ "datadome", "bot", "protection", "nextjs" ], "author": "DataDome <team.integrations@datadome.co>", "license": "Apache-2.0", "bugs": { "url": "https://github.com/DataDome/module-nextjs/issues" }, "homepage": "https://github.com/DataDome/module-nextjs#readme", "scripts": { "test": "npm run build:test && ava", "test:cov": "c8 -r text -r json-summary npm test", "build": "concurrently \"npm run build:cjs\" \"npm run build:es\" \"npm run build:types\"", "build:cjs": "tsc --project tsconfig.cjs.json", "build:es": "tsc --project tsconfig.es.json", "build:test": "tsc --project tsconfig.test.json", "build:types": "tsc --project tsconfig.types.json", "clean": "rimraf ./dist-*/ ./*.tsbuildinfo", "lint": "npm run lint:type && npm run lint:eslint && npm run lint:prettier", "lint:fix": "npm run lint:eslint:fix && npm run lint:prettier:fix", "lint:eslint": "eslint . --config eslint.config.mjs", "lint:eslint:fix": "eslint . --fix --config eslint.config.mjs", "lint:prettier": "prettier --check \"./src/**/*.{ts,tsx}\"", "lint:prettier:fix": "prettier --write \"./src/**/*.{ts,tsx}\"", "lint:type": "tsc --noEmit" }, "peerDependencies": { "next": ">= 13 < 16", "react": ">= 18" }, "devDependencies": { "@types/node": "^18.0.0", "@types/react": "^19.1.2", "@eslint/js": "^9.8.0", "@types/eslint__js": "^8.42.3", "ava": "^6.2.0", "c8": "^7.13.0", "concurrently": "^8.2.2", "eslint": "^9.9.1", "prettier": "^3.3.3", "rimraf": "^5.0.10", "typescript": "^5.5.4", "typescript-eslint": "^8.3.0" }, "engines": { "node": ">= 18" } }