{ "name": "nextjs-cors", "version": "2.2.0", "private": false, "description": "Nextjs-Cors is a node.js package to provide a middleware that can be used to enable CORS with various options in nextjs applications.", "keywords": [ "nextjs-cors", "express-cors", "nextjs-express-cors", "next-cors", "cors-server", "cors" ], "homepage": "https://github.com/yonycalsin/nextjs-cors#readme", "bugs": { "url": "https://github.com/yonycalsin/nextjs-cors/issues" }, "repository": { "type": "git", "url": "git+https://github.com/yonycalsin/nextjs-cors.git" }, "license": "MIT", "author": "Yony Calsin", "main": "dist/index.js", "module": "dist/nextjs-cors.esm.js", "typings": "dist/index.d.ts", "files": [ "dist", "package.json", "README.md" ], "scripts": { "clean": "rimraf dist", "boot": "npm run clean && npm run build", "typecheck": "tsc --noEmit", "start": "tsdx watch", "build": "tsdx build", "test": "tsdx test", "lint": "tsdx lint", "prepare": "tsdx build", "prettier": "prettier --ignore-path .gitignore \"**/*.{ts,tsx,json,md}\"", "format": "npm run prettier -- --write", "check-format": "npm run prettier -- --list-different", "semantic-release": "semantic-release" }, "husky": { "hooks": { "pre-commit": "tsdx lint", "pre-push": "npm run typecheck" } }, "lint-staged": { "*.{ts,js}": [ "eslint --fix" ] }, "dependencies": { "cors": "^2.8.5" }, "devDependencies": { "@semantic-release/changelog": "^6.0.1", "@semantic-release/git": "^10.0.1", "@types/cors": "^2.8.12", "husky": "^6.0.0", "lint-staged": "^10.5.4", "next": "^11.1.0", "prettier": "^2.0.5", "prettier-plugin-organize-imports": "^2.0.0", "prettier-plugin-packagejson": "^2.2.5", "rimraf": "^3.0.2", "semantic-release": "^19.0.5", "tsdx": "^0.14.1", "typescript": "^4.4.2" }, "peerDependencies": { "next": "^8.1.1-canary.54 || ^9.0.0 || ^10.0.0-0 || ^11.0.0 || ^12.0.0 || ^13.0.0 || ^14.0.0" }, "publishConfig": { "access": "public" }, "release": { "branches": [ "master" ], "plugins": [ "@semantic-release/commit-analyzer", "@semantic-release/release-notes-generator", "@semantic-release/npm", [ "@semantic-release/github", { "assets": [ "dist" ] } ], "@semantic-release/changelog" ] }, "volta": { "node": "14.17.0" } }