mirror of
https://github.com/luxfhe/permit.git
synced 2026-10-30 17:10:15 +00:00
- Remove Zama fhevmjs dependencies - Use @luxfhe/wasm and @luxfhe/kms - Update types for native FHE API
101 lines
2.7 KiB
JSON
101 lines
2.7 KiB
JSON
{
|
|
"name": "@luxfhe/permit",
|
|
"version": "0.1.0",
|
|
"description": "LuxFHE permit utilities",
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/index.d.ts",
|
|
"import": "./dist/index.mjs",
|
|
"require": "./dist/index.js"
|
|
}
|
|
},
|
|
"engines": {
|
|
"node": ">=20.0.0"
|
|
},
|
|
"files": [
|
|
"dist",
|
|
"src",
|
|
"licenses",
|
|
"package.json",
|
|
"package-lock.json",
|
|
"README.md",
|
|
"LICENSE"
|
|
],
|
|
"scripts": {
|
|
"build": "tsup",
|
|
"dev": "tsup --watch",
|
|
"clean": "rimraf dist",
|
|
"prepublishOnly": "npm run clean && npm run build",
|
|
"lint": "eslint src/",
|
|
"_pure-compile": "tsc -p tsconfig.cjs.json && tsc -p tsconfig.esm.json && tsc -p tsconfig.types.json",
|
|
"compile": "pnpm _hack-backup-cjs && pnpm _pure-compile && pnpm _hack-restore-cjs",
|
|
"build-rollup": "rollup -c",
|
|
"dev-rollup": "rollup -c -w",
|
|
"test": "VITE_CJS_IGNORE_WARNING=true vitest --reporter=basic --disable-console-intercept=false --silent=false",
|
|
"coverage": "pnpm compile && VITE_CJS_IGNORE_WARNING=true vitest run --coverage",
|
|
"test-no-localluxfhe": "SKIP_LOCAL_ENV=true VITE_CJS_IGNORE_WARNING=true vitest ",
|
|
"prettier": "prettier --write \"**/*.{js,json,md,sol,ts,yml}\"",
|
|
"prettier-ci": "prettier --check \"**/*.{js,json,md,sol,ts,yml}\""
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/luxfi/luxfhe.git"
|
|
},
|
|
"author": "Lux Partners Limited",
|
|
"license": "MIT",
|
|
"bugs": {
|
|
"url": "https://github.com/luxfi/luxfhe/issues"
|
|
},
|
|
"homepage": "https://github.com/luxfi/luxfhe#readme",
|
|
"dependencies": {
|
|
"@luxfhe/wasm": "^0.1.0",
|
|
"@types/node": "^20.0.0",
|
|
"immer": "^10.1.1",
|
|
"tweetnacl": "^1.0.3",
|
|
"tweetnacl-util": "^0.15.1",
|
|
"type-fest": "^4.26.1",
|
|
"zod": "^3.23.8",
|
|
"zustand": "^5.0.1"
|
|
},
|
|
"devDependencies": {
|
|
"@rollup/plugin-commonjs": "25.0.8",
|
|
"@rollup/plugin-node-resolve": "15.2.3",
|
|
"@rollup/plugin-wasm": "6.2.2",
|
|
"@typescript-eslint/eslint-plugin": "7.2.0",
|
|
"@vitest/coverage-v8": "1.1.0",
|
|
"eslint": "8.57.0",
|
|
"ethers": "^6.9.1",
|
|
"happy-dom": "^15.11.6",
|
|
"jsdom": "^25.0.0",
|
|
"prettier": "3.2.5",
|
|
"rimraf": "^6.0.1",
|
|
"rollup": "4.18.0",
|
|
"shx": "^0.3.4",
|
|
"ts-node": "10.9.2",
|
|
"tsup": "^8.4.0",
|
|
"typedoc": "0.25.13",
|
|
"typedoc-plugin-extras": "3.0.0",
|
|
"typescript": "5.4.5",
|
|
"uglify-js": "3.17.4",
|
|
"vite": "5.0.10",
|
|
"vite-plugin-top-level-await": "1.4.1",
|
|
"vite-plugin-wasm": "3.3.0",
|
|
"vitest": "1.6.0"
|
|
},
|
|
"sideEffects": false,
|
|
"tsup": {
|
|
"entry": {
|
|
"index": "./src/core/index.ts"
|
|
},
|
|
"format": [
|
|
"cjs",
|
|
"esm"
|
|
],
|
|
"dts": true,
|
|
"splitting": false,
|
|
"sourcemap": true,
|
|
"clean": true,
|
|
"outDir": "dist"
|
|
}
|
|
}
|