UNPKG

koa-csp

Version:

Used to set respose header: Content-Security-Policy

58 lines (57 loc) 1.58 kB
{ "name": "koa-csp", "version": "1.2.6", "description": "Used to set respose header: Content-Security-Policy", "packageManager": "pnpm@9.9.0", "main": "dist/cjs/src/index.js", "module": "dist/esm/src/index.js", "types": "dist/esm/src/index.d.ts", "exports": { "require": "./dist/cjs/src/index.js", "import": "./dist/esm/src/index.js" }, "repository": "git@github.com:Val-istar-Guo/koa-csp.git", "author": "Val.istar.Guo <Val.istar.Guo@gmail.com>", "keywords": [ "Content-Security-Policy", "koa", "csp", "koa-csp" ], "license": "MIT", "scripts": { "build": "npm run clean && ./build/build.sh", "clean": "rm -rf ./dist/*", "dev": "npm run clean && ./build/dev.sh", "prepare": "ts-patch install -s && is-ci || husky", "prepublishOnly": "npm run build", "release": "standard-version", "release:alpha": "standard-version --prerelease alpha", "test": "jest" }, "devDependencies": { "@buka/eslint-config": "^2.0.3", "@commitlint/cli": "^19.4.1", "@commitlint/config-conventional": "^19.4.1", "@jest/globals": "^29.7.0", "eslint": "^9.9.1", "husky": "^9.1.5", "is-ci": "^3.0.1", "jest": "^29.7.0", "jest-mock": "^29.7.0", "koa": "^2.15.3", "standard-version": "^9.5.0", "ts-jest": "^29.2.5", "ts-node": "^10.9.2", "ts-patch": "^3.2.1", "typescript": "^5.5.4", "typescript-transform-paths": "^3.5.0" }, "dependencies": { "@types/koa": ">= 2", "@types/node": ">= 14" }, "peerDependencies": { "koa": ">= 2" } }