mirror of
https://github.com/selfxyz/self.git
synced 2026-01-08 06:14:07 -05:00
* fix yarn format * yarn format * fix lint * undo temporary disabling * pipeline fixes * revert nvmrc change
98 lines
3.1 KiB
JSON
98 lines
3.1 KiB
JSON
{
|
|
"name": "@selfxyz/mobile-sdk-alpha",
|
|
"version": "2.6.4",
|
|
"description": "Self SDK (alpha) for registering and proving. Adapters-first, RN-first with web shims.",
|
|
"keywords": [
|
|
"self",
|
|
"react-native",
|
|
"web",
|
|
"zk",
|
|
"sdk"
|
|
],
|
|
"sideEffects": false,
|
|
"type": "module",
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/esm/index.d.ts",
|
|
"browser": "./dist/esm/browser.js",
|
|
"import": "./dist/esm/index.js",
|
|
"require": "./dist/cjs/index.cjs",
|
|
"default": "./dist/esm/index.js"
|
|
},
|
|
"./browser": {
|
|
"types": "./dist/esm/browser.d.ts",
|
|
"import": "./dist/esm/browser.js",
|
|
"require": "./dist/cjs/browser.cjs"
|
|
},
|
|
"./constants/analytics": {
|
|
"types": "./dist/esm/constants/analytics.d.ts",
|
|
"import": "./dist/esm/constants/analytics.js",
|
|
"require": "./dist/cjs/constants/analytics.cjs"
|
|
}
|
|
},
|
|
"main": "./dist/cjs/index.cjs",
|
|
"module": "./dist/esm/index.js",
|
|
"types": "./dist/esm/index.d.ts",
|
|
"files": [
|
|
"dist",
|
|
"android",
|
|
"ios",
|
|
"mobile-sdk-alpha.podspec",
|
|
"react-native.config.cjs"
|
|
],
|
|
"scripts": {
|
|
"build": "rm -rf dist && tsup && yarn postbuild",
|
|
"postbuild": "node ./scripts/postBuild.mjs",
|
|
"demo:android": "yarn workspace demo-app android",
|
|
"demo:ios": "yarn workspace demo-app ios",
|
|
"demo:start": "yarn workspace demo-app start",
|
|
"demo:test": "yarn workspace demo-app test",
|
|
"fmt": "prettier --check .",
|
|
"fmt:fix": "prettier --write .",
|
|
"format": "sh -c 'if [ -z \"$SKIP_BUILD_DEPS\" ]; then yarn nice; else yarn fmt:fix; fi'",
|
|
"lint": "eslint .",
|
|
"lint:fix": "eslint --fix .",
|
|
"nice": "yarn lint:fix && yarn fmt:fix",
|
|
"prepublishOnly": "npm run build && npm run typecheck && npm run validate:exports && npm run validate:pkg",
|
|
"report:exports": "node ./scripts/report-exports.mjs",
|
|
"test": "vitest run",
|
|
"test:build": "yarn build && yarn test && yarn types && yarn lint",
|
|
"test:demo": "yarn workspace demo-app test",
|
|
"typecheck": "tsc -p tsconfig.json --noEmit",
|
|
"types": "tsc -p tsconfig.json --noEmit",
|
|
"validate:exports": "node ./scripts/validate-exports.mjs",
|
|
"validate:pkg": "node ./scripts/verify-conditions.mjs"
|
|
},
|
|
"dependencies": {
|
|
"tslib": "^2.6.2"
|
|
},
|
|
"devDependencies": {
|
|
"@selfxyz/common": "workspace:^",
|
|
"@testing-library/react": "^14.1.2",
|
|
"@types/react": "^18.3.4",
|
|
"@typescript-eslint/eslint-plugin": "^8.0.0",
|
|
"@typescript-eslint/parser": "^8.0.0",
|
|
"eslint": "^8.57.0",
|
|
"eslint-config-prettier": "^10.1.8",
|
|
"eslint-import-resolver-typescript": "^4.4.4",
|
|
"eslint-plugin-import": "^2.31.0",
|
|
"eslint-plugin-prettier": "^5.5.4",
|
|
"eslint-plugin-simple-import-sort": "^12.1.1",
|
|
"eslint-plugin-sort-exports": "^0.8.0",
|
|
"jsdom": "^24.0.0",
|
|
"prettier": "^3.5.3",
|
|
"tsup": "^8.0.1",
|
|
"typescript": "^5.9.2",
|
|
"vitest": "^1.6.0"
|
|
},
|
|
"peerDependencies": {
|
|
"react": "^18.3.1",
|
|
"react-native": "^0.76.9",
|
|
"tamagui": "^1.126.0"
|
|
},
|
|
"packageManager": "yarn@4.6.0",
|
|
"publishConfig": {
|
|
"access": "public"
|
|
}
|
|
}
|