next-csrf
Version:
CSRF mitigation library for Next.js
50 lines (49 loc) • 1.54 kB
JSON
{
"name": "next-csrf",
"version": "0.1.2",
"description": "CSRF mitigation library for Next.js",
"main": "dist/next-csrf.js",
"module": "dist/next-csrf.esm.js",
"source": "src/index.ts",
"repository": "https://github.com/j0lv3r4/next-csrf",
"author": "Juan Olvera",
"license": "MIT",
"scripts": {
"build": "rollup -c",
"dev": "rollup -w",
"test": "jest",
"release": "cross-var npm run build && cross-var git commit -am $npm_package_version && cross-var git tag $npm_package_version && git push && git push --tags && npm publish"
},
"devDependencies": {
"@rollup/plugin-commonjs": "^13.0.0",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^8.1.0",
"@rollup/plugin-typescript": "^5.0.0",
"@types/cookie": "^0.4.0",
"@types/cookie-signature": "^1.0.3",
"@types/csrf": "^1.3.2",
"@types/jest": "^26.0.3",
"@types/supertest": "^2.0.9",
"@typescript-eslint/eslint-plugin": "^3.4.0",
"@typescript-eslint/parser": "^3.4.0",
"eslint": "^7.3.1",
"eslint-config-airbnb-base": "^14.2.0",
"eslint-plugin-import": "^2.21.2",
"jest": "^26.1.0",
"next": "^9.4.4",
"np": "^6.2.4",
"prettier": "^2.0.5",
"rollup": "^2.18.0",
"rollup-plugin-analyzer": "^3.2.3",
"supertest": "^4.0.2",
"ts-jest": "^26.1.1",
"typescript": "^3.9.5"
},
"dependencies": {
"@types/http-errors": "^1.6.3",
"cookie": "^0.4.1",
"cookie-signature": "^1.1.0",
"csrf": "^3.1.0",
"querystring": "^0.2.0"
}
}