UNPKG

koa-stateless-csrf

Version:
59 lines (58 loc) 1.45 kB
{ "name": "koa-stateless-csrf", "version": "1.2.1", "description": "Stateless CSRF support for Koa APIs", "main": "dist/index.js", "module": "dist/index.esm.js", "types": "dist/index.d.ts", "scripts": { "build": "vite build", "lint": "eslint .", "test": "vitest", "coverage": "vitest run --coverage", "prepare": "husky install" }, "author": "Ben Scholzen 'DASPRiD' <mail@dasprids.de>", "license": "BSD-2-Clause", "repository": { "type": "git", "url": "https://github.com/dasprid/koa-stateless-csrf.git" }, "files": [ "dist/**/*" ], "keywords": [ "Koa", "CSRF", "Stateless" ], "peerDependencies": { "koa": "^2" }, "devDependencies": { "@commitlint/cli": "^17.6.1", "@commitlint/config-conventional": "^17.6.1", "@rollup/plugin-typescript": "^11.1.0", "@tsconfig/node18": "^1.0.3", "@types/cookies": "^0.7.7", "@types/http-errors": "^2.0.1", "@types/koa": "^2.13.6", "@types/node": "^18.16.0", "@vitest/coverage-c8": "^0.30.1", "eslint": "^8.39.0", "eslint-config-dasprid": "^0.1.15", "http-errors": "^2.0.0", "husky": "^8.0.3", "koa": "^2.14.2", "lint-staged": "^13.2.1", "node-mocks-http": "^1.12.2", "rollup": "^3.21.0", "typescript": "^5.0.4", "vite": "^4.3.1", "vite-plugin-dts": "^2.3.0", "vitest": "^0.30.1" }, "lint-staged": { "*.ts": "eslint --cache --fix" } }