@dawans/promptshield
Version:
Secure your LLM stack with enterprise-grade RulePacks for AI safety scanning
93 lines (92 loc) • 3.01 kB
JSON
{
"name": "@dawans/promptshield",
"version": "1.0.4",
"publishConfig": {
"access": "public"
},
"description": "Secure your LLM stack with enterprise-grade RulePacks for AI safety scanning",
"author": "PromptShield Team",
"license": "Apache-2.0",
"keywords": [
"llm",
"security",
"ai",
"safety",
"cli",
"rulepack",
"prompt-injection",
"ai-safety",
"security-scanning",
"vulnerability-detection"
],
"homepage": "https://x.com/Sawyer0",
"bugs": {
"url": "https://x.com/Sawyer0"
},
"bin": {
"promptshield": "./bin/promptshield"
},
"scripts": {
"clean": "node -e \"require('fs').rmSync('dist', {recursive: true, force: true})\"",
"build": "npm run clean && tsc",
"test": "node scripts/unified-test-runner.js",
"test:unit": "node scripts/unified-test-runner.js --type=unit",
"test:integration": "node scripts/unified-test-runner.js --type=integration",
"test:performance": "node scripts/unified-test-runner.js --type=performance",
"test:cli": "node scripts/unified-test-runner.js --type=cli",
"test:coverage": "node scripts/unified-test-runner.js --coverage",
"test:verbose": "node scripts/unified-test-runner.js --verbose",
"test:fast": "node scripts/unified-test-runner.js --bail",
"test:report": "node scripts/unified-test-runner.js --save-report",
"lint": "eslint src/",
"lint:fix": "eslint src/ --fix",
"format": "prettier --write src/",
"format:check": "prettier --check src/",
"dev": "ts-node src/cli/index.ts",
"type-check": "tsc --noEmit",
"security:audit": "npm audit --audit-level=moderate",
"security:fix": "npm audit fix",
"deps:check": "npm outdated",
"deps:update": "npm update",
"deps:clean": "npm cache clean --force && node -e \"require('fs').rmSync('node_modules', {recursive: true, force: true})\" && npm install",
"validate": "npm run type-check && npm run lint && npm run format:check && npm run security:audit",
"validate:output": "node scripts/validate-output.js",
"prepublishOnly": "npm run type-check && npm run lint && npm run format:check && npm run security:audit",
"ci": "npm run validate && npm run test:coverage",
"prepare": "npm run build"
},
"files": [
"bin",
"dist",
"README.md",
"docs/QUICKSTART.md",
"docs/CLI_REFERENCE.md",
"rulepacks"
],
"type": "commonjs",
"devDependencies": {
"@types/glob": "^8.1.0",
"@types/jest": "^30.0.0",
"@types/js-yaml": "^4.0.9",
"@types/stream-json": "^1.7.8",
"@typescript-eslint/eslint-plugin": "^8.36.0",
"eslint": "^9.31.0",
"globals": "^16.3.0",
"jest": "^29.4.0",
"prettier": "^3.6.2",
"ts-jest": "^29.4.0",
"typescript": "^5.8.3"
},
"engines": {
"node": ">=16.0.0",
"npm": ">=8.0.0"
},
"dependencies": {
"ajv": "^8.17.1",
"commander": "^14.0.0",
"glob": "^11.0.3",
"js-yaml": "^4.1.0",
"stream-json": "^1.9.1",
"zod": "^4.0.5"
}
}