Enables tree-shaking for bundlers by marking all library packages as side-effect-free. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
33 lines
770 B
JSON
33 lines
770 B
JSON
{
|
|
"name": "@reviq/api-contract",
|
|
"version": "0.0.1",
|
|
"type": "module",
|
|
"sideEffects": false,
|
|
"main": "./dist/index.js",
|
|
"types": "./dist/index.d.ts",
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/index.d.ts",
|
|
"import": "./dist/index.js"
|
|
}
|
|
},
|
|
"scripts": {
|
|
"build": "tsc",
|
|
"test": "bun test src/",
|
|
"clean": "tsc --build --clean && rm -rf dist/ node_modules/ .eslintcache",
|
|
"lint": "eslint . --cache"
|
|
},
|
|
"dependencies": {
|
|
"@orpc/contract": "^1.13.2",
|
|
"@simplewebauthn/types": "^12.0.0",
|
|
"libphonenumber-js": "^1.12.33",
|
|
"zod": "^4.3.5"
|
|
},
|
|
"devDependencies": {
|
|
"@macalinao/eslint-config": "catalog:",
|
|
"@macalinao/tsconfig": "catalog:",
|
|
"eslint": "catalog:",
|
|
"typescript": "catalog:"
|
|
}
|
|
}
|