malibu
Version:
Framework-agnostic CSRF middleware
77 lines (76 loc) • 1.96 kB
JSON
{
"name": "malibu",
"version": "1.0.6",
"description": "Framework-agnostic CSRF middleware",
"keywords": [
"csrf",
"middleware",
"tokens",
"framework agnostic",
"express",
"tinyhttp",
"polka",
"http"
],
"author": "Reinaldy Rafli <aldy505@tutanota.com>",
"license": "MIT",
"type": "module",
"types": "./dist/index.d.ts",
"exports": "./dist/index.js",
"files": [
"dist"
],
"scripts": {
"build": "rollup -c",
"test": "uvu -r tsm tests",
"test:coverage": "c8 --include=src pnpm test",
"test:report": "c8 report --reporter=text-lcov > coverage.lcov",
"lint": "eslint \"./**/*.ts\"",
"format": "prettier --write \"./**/*.ts\"",
"prepare": "husky install"
},
"repository": {
"type": "git",
"url": "git+https://github.com/tinyhttp/malibu"
},
"bugs": {
"url": "https://github.com/tinyhttp/malibu/issues"
},
"homepage": "https://github.com/tinyhttp/malibu#readme",
"directories": {
"test": "./test",
"lib": "./src"
},
"engines": {
"node": "^12.20.0 || ^14.13.1 || >=16.0.0"
},
"devDependencies": {
"@commitlint/cli": "17.4.4",
"@commitlint/config-conventional": "17.4.4",
"@rollup/plugin-typescript": "11.0.0",
"@tinyhttp/app": "2.0.29",
"@tinyhttp/cookie-parser": "2.0.6",
"@types/express-session": "1.17.6",
"@types/node": "18.15.3",
"@typescript-eslint/eslint-plugin": "5.55.0",
"@typescript-eslint/parser": "5.55.0",
"c8": "7.13.0",
"eslint": "8.36.0",
"eslint-config-prettier": "8.7.0",
"eslint-plugin-prettier": "4.2.1",
"express-session": "1.17.3",
"husky": "8.0.3",
"milliparsec": "2.2.2",
"prettier": "2.8.4",
"rollup": "3.19.1",
"supertest-fetch": "1.5.0",
"tslib": "2.5.0",
"tsm": "^2.3.0",
"typescript": "4.9.5",
"uvu": "0.5.6"
},
"dependencies": {
"@tinyhttp/cookie": "2.0.6",
"@tinyhttp/cookie-signature": "2.0.6"
}
}