@cosmstack/blackshield
Version:
A developer-first security toolkit for React/Next.js applications
120 lines (119 loc) • 3.28 kB
JSON
{
"name": "@cosmstack/blackshield",
"version": "0.1.3",
"description": "A developer-first security toolkit for React/Next.js applications",
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
},
"./server": {
"types": "./dist/server/index.d.ts",
"import": "./dist/server/index.js",
"require": "./dist/server/index.cjs"
},
"./eslint-plugin": {
"types": "./dist/rules/index.d.ts",
"import": "./dist/rules/index.js",
"require": "./dist/rules/index.cjs"
},
"./build/next": {
"types": "./dist/build/next-plugin.d.ts",
"import": "./dist/build/next-plugin.js",
"require": "./dist/build/next-plugin.cjs"
},
"./build/vite": {
"types": "./dist/build/vite-plugin.d.ts",
"import": "./dist/build/vite-plugin.js",
"require": "./dist/build/vite-plugin.cjs"
}
},
"files": ["dist", "README.md"],
"scripts": {
"build": "tsup && chmod +x dist/cli/index.js",
"dev": "tsup --watch",
"test": "vitest",
"test:run": "vitest --run",
"test:ui": "vitest --ui",
"test:build": "./scripts/test-build.sh",
"lint": "biome check",
"lint:fix": "biome check --fix",
"format": "biome format --write",
"check": "biome check",
"check:fix": "biome check --fix",
"typecheck": "tsc --noEmit",
"clean": "rm -rf dist",
"release": "./scripts/release.sh",
"prepare": "husky"
},
"keywords": [
"security",
"react",
"nextjs",
"typescript",
"developer-tools",
"xss-protection",
"environment-variables",
"server-client-boundary"
],
"author": "CosmStack",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/cosmstack/blackshield.git"
},
"bugs": {
"url": "https://github.com/cosmstack/blackshield/issues"
},
"homepage": "https://github.com/cosmstack/blackshield#readme",
"type": "module",
"peerDependencies": {
"next": ">=13.0.0",
"react": ">=18.0.0",
"zod": ">=3.20.0"
},
"devDependencies": {
"@biomejs/biome": "1.9.4",
"@commitlint/cli": "^19.8.1",
"@commitlint/config-conventional": "^19.8.1",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.3.0",
"@testing-library/user-event": "^14.6.1",
"@types/dompurify": "^3.0.5",
"@types/node": "^24.0.1",
"@types/react": "^19.1.8",
"@typescript-eslint/eslint-plugin": "^8.34.0",
"@typescript-eslint/parser": "^8.34.0",
"@typescript-eslint/utils": "^8.34.0",
"commitizen": "^4.3.1",
"cz-conventional-changelog": "^3.3.0",
"eslint": "^9.29.0",
"husky": "^9.1.7",
"jsdom": "^26.1.0",
"next": "^15.3.3",
"react": "^19.1.0",
"react-dom": "^19.1.0",
"tsup": "^8.0.1",
"typescript": "^5.3.3",
"vitest": "^3.1.4",
"zod": "^3.22.4"
},
"dependencies": {
"commander": "^14.0.0",
"glob": "^11.0.3",
"isomorphic-dompurify": "^2.9.0",
"jose": "^6.0.11"
},
"config": {
"commitizen": {
"path": "cz-conventional-changelog"
}
},
"bin": {
"blackshield": "./dist/cli/index.js"
}
}