waf-http-api
Version:
A CDK construct that fronts an HTTP API with a CloudFront distribution and protects it with AWS WAF.
131 lines (130 loc) • 3.01 kB
JSON
{
"name": "waf-http-api",
"description": "A CDK construct that fronts an HTTP API with a CloudFront distribution and protects it with AWS WAF.",
"repository": {
"type": "git",
"url": "https://github.com/JaapHaitsma/waf-http-api.git"
},
"scripts": {
"prepare": "husky install"
},
"author": {
"name": "Jaap Haitsma",
"email": "jaap@haitsma.org",
"organization": false
},
"devDependencies": {
"@types/jest": "^30.0.0",
"@types/node": "^24.0.1",
"@typescript-eslint/eslint-plugin": "^8",
"@typescript-eslint/parser": "^8",
"aws-cdk-lib": "2.200.2",
"commit-and-tag-version": "^12",
"constructs": "10.0.5",
"eslint": "^9",
"eslint-config-prettier": "^10.1.5",
"eslint-import-resolver-typescript": "^4.4.3",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-prettier": "^5.4.1",
"husky": "^9.1.7",
"jest": "^30.0.4",
"jest-junit": "^16",
"jsii": "~5.8.0",
"jsii-diff": "^1.112.0",
"jsii-docgen": "^10.5.0",
"jsii-pacmak": "^1.112.0",
"jsii-rosetta": "~5.8.0",
"lint-staged": "^16.1.2",
"prettier": "^3.5.3",
"projen": "^0.93.0",
"ts-jest": "^29.4.0",
"ts-node": "^10.9.2",
"typescript": "^5.8.3"
},
"peerDependencies": {
"aws-cdk-lib": "^2.200.2",
"constructs": "^10.0.5"
},
"keywords": [
"api-gateway",
"aws",
"awscdk",
"cdk",
"cloudfront",
"http-api",
"waf"
],
"main": "lib/index.js",
"license": "MIT",
"publishConfig": {
"access": "public"
},
"version": "1.2.0",
"jest": {
"coverageProvider": "v8",
"testMatch": [
"<rootDir>/@(src|test)/**/*(*.)@(spec|test).ts?(x)",
"<rootDir>/@(src|test)/**/__tests__/**/*.ts?(x)",
"<rootDir>/@(projenrc)/**/*(*.)@(spec|test).ts?(x)",
"<rootDir>/@(projenrc)/**/__tests__/**/*.ts?(x)"
],
"clearMocks": true,
"collectCoverage": true,
"coverageReporters": [
"json",
"lcov",
"clover",
"cobertura",
"text"
],
"coverageDirectory": "coverage",
"coveragePathIgnorePatterns": [
"/node_modules/"
],
"testPathIgnorePatterns": [
"/node_modules/"
],
"watchPathIgnorePatterns": [
"/node_modules/"
],
"reporters": [
"default",
[
"jest-junit",
{
"outputDirectory": "test-reports"
}
]
],
"transform": {
"^.+\\.[t]sx?$": [
"ts-jest",
{
"tsconfig": "tsconfig.dev.json"
}
]
}
},
"types": "lib/index.d.ts",
"stability": "stable",
"jsii": {
"outdir": "dist",
"targets": {
"python": {
"distName": "waf-http-api",
"module": "waf_http_api"
}
},
"tsc": {
"outDir": "lib",
"rootDir": "src"
}
},
"lint-staged": {
"*.{js,ts,json,md}": [
"prettier --write",
"eslint --fix"
]
},
"//": "~~ Generated by projen. To modify, edit .projenrc.ts and run \"npx projen\"."
}