Files
datacloak/packages/detect/package.json

34 lines
1.1 KiB
JSON

{
"name": "@pratikw/detect",
"version": "0.3.0",
"type": "module",
"main": "dist/engine.js",
"types": "dist/engine.d.ts",
"description": "Local-first cloak for AI prompts: secrets/PII become realistic fakes before the model, originals restored on return.",
"files": [
"dist",
"README.md",
"LICENSE"
],
"publishConfig": {
"access": "public"
},
"repository": {
"type": "git",
"url": "git+https://github.com/pratikwayal01/datacloak.git",
"directory": "packages/detect"
},
"scripts": {
"build": "tsc",
"test": "vitest run",
"prepublishOnly": "cp ../../README.md ./README.md && cp ../../LICENSE ./LICENSE && sed -i -e 's#](assets/#](https://raw.githubusercontent.com/pratikwayal01/datacloak/master/assets/#g' -e 's#](docs/#](https://github.com/pratikwayal01/datacloak/blob/master/docs/#g' -e 's#](.opencode/#](https://github.com/pratikwayal01/datacloak/blob/master/.opencode/#g' ./README.md && npm run build && npm test"
},
"dependencies": {
"@faker-js/faker": "^10.6.0"
},
"devDependencies": {
"typescript": "~5.6.3",
"vitest": "^3.0.0"
}
}