@nfid/identitykit
Version:
A React library for adding wallet connections to dApps.
129 lines • 3.83 kB
JSON
{
"name": "@nfid/identitykit",
"version": "1.0.13",
"description": "A React library for adding wallet connections to dApps.",
"keywords": [
"ICP",
"identity",
"wallet",
"dApp",
"react",
"blockchain",
"crypto"
],
"homepage": "https://qzjsg-qiaaa-aaaam-acupa-cai.icp0.io/",
"repository": {
"type": "git",
"url": "git+https://github.com/internet-identity-labs/identitykit.git"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/internet-identity-labs/identitykit/issues"
},
"main": "dist/index.cjs.js",
"module": "dist/index.esm.js",
"types": "dist/index.d.ts",
"files": [
"dist"
],
"exports": {
".": {
"main": "./dist/index.cjs.js",
"module": "./dist/index.esm.js",
"types": "./dist/index.d.ts"
},
"./react": {
"main": "./dist/libs/react/index.cjs.js",
"module": "./dist/libs/react/index.esm.js",
"types": "./dist/libs/react/index.d.ts"
},
"./react/styles.css": {
"import": "./dist/libs/react/index.css",
"require": "./dist/libs/react/index.css",
"default": "./dist/libs/react/index.css"
}
},
"engines": {
"node": ">=12.7.0"
},
"scripts": {
"dev": "npm run build-dev --watch",
"build": "npm run build-prod",
"build-prod": "rollup -c rollup.config.prod.js --bundleConfigAsCjs",
"build-dev": "rollup -c rollup.config.dev.js --bundleConfigAsCjs",
"post:build": "node ./scripts/frankBuild.js",
"test": "jest --passWithNoTests",
"lint:check": "eslint . --ext ts,tsx --max-warnings 0",
"lint:fix": "eslint . --fix --ext ts,tsx --max-warnings 0",
"size": "size-limit",
"analyze": "size-limit --why",
"format:write": "prettier --write '**/*.{ts,tsx,md,mdx,css}'",
"lint-staged": "lint-staged --no-stash"
},
"size-limit": [
{
"path": "dist/libs/react/index.cjs.js",
"limit": "10 KB"
},
{
"path": "dist/libs/react/index.esm.js",
"limit": "10 KB"
}
],
"dependencies": {
"@headlessui/react": "2.2.0",
"@radix-ui/react-dialog": "^1.1.5",
"@radix-ui/react-tooltip": "^1.1.7",
"@slide-computer/signer": "3.16.0",
"@slide-computer/signer-agent": "3.16.0",
"@slide-computer/signer-extension": "3.16.0",
"@slide-computer/signer-storage": "3.16.0",
"@slide-computer/signer-transport-auth-client": "3.16.0",
"@slide-computer/signer-transport-stoic": "3.16.0",
"@slide-computer/signer-web": "3.16.0",
"clsx": "^2.1.1",
"tailwindcss": "^3.4.13",
"tailwindcss-scoped-preflight": "^3.4.10",
"use-async-memo": "^1.2.5",
"use-context-selector": "^2.0.0"
},
"devDependencies": {
"@rollup/plugin-commonjs": "^28.0.2",
"@rollup/plugin-node-resolve": "^16.0.0",
"@rollup/plugin-replace": "^6.0.2",
"@svgr/rollup": "^8.1.0",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.2.0",
"eslint-plugin-jest": "^28.11.0",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"jest-transform-stub": "^2.0.0",
"react": "18.3.1",
"react-dom": "18.3.1",
"rollup": "^4.32.0",
"rollup-plugin-dts": "^6.1.1",
"rollup-plugin-generate-package-json": "^3.2.0",
"rollup-plugin-postcss": "^4.0.2",
"rollup-plugin-typescript2": "^0.36.0",
"size-limit": "^11.1.6",
"ts-jest": "^29.2.5"
},
"peerDependencies": {
"@dfinity/auth-client": ">=2.4.0",
"@dfinity/ledger-icp": ">=2.4.0",
"@dfinity/identity": ">=2.4.0",
"@dfinity/agent": ">=2.4.0",
"@dfinity/candid": ">=2.4.0",
"@dfinity/principal": ">=2.4.0",
"react": ">=18.3.1",
"react-dom": ">=18.3.1"
},
"lint-staged": {
"src/*.{js,jsx,ts,tsx}": [
"npm run lint:fix"
],
"**/*.{js,jsx,ts,tsx,md,json}": [
"npm run format:write"
]
}
}