Files
self/packages/webview-bridge/package.json
Justin Hernandez ff66899eca add ESLint, Prettier, and typecheck to webview-app and webview-bridge (#1870)
* add webview formatting

* updates

* fixes
2026-03-25 21:25:29 -07:00

68 lines
1.8 KiB
JSON

{
"name": "@selfxyz/webview-bridge",
"version": "0.0.1-alpha.1",
"type": "module",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
},
"./mock": {
"types": "./dist/mock.d.ts",
"import": "./dist/mock.js",
"require": "./dist/mock.cjs"
},
"./schema": {
"types": "./dist/schema.d.ts",
"import": "./dist/schema.js",
"require": "./dist/schema.cjs"
},
"./adapters": {
"types": "./dist/adapters.d.ts",
"import": "./dist/adapters.js",
"require": "./dist/adapters.cjs"
}
},
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"files": [
"dist"
],
"scripts": {
"build": "tsup",
"fmt": "prettier --check .",
"fmt:fix": "prettier --write .",
"format": "yarn nice",
"lint": "eslint . --max-warnings=0",
"lint:fix": "eslint . --fix --max-warnings=0",
"nice": "prettier --write . && eslint . --fix && tsc --noEmit",
"test": "vitest run",
"typecheck": "tsc --noEmit",
"types": "tsup"
},
"dependencies": {
"@selfxyz/mobile-sdk-alpha": "workspace:^",
"uuid": "^11.1.0"
},
"devDependencies": {
"@types/node": "^22.18.3",
"@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.9.1",
"fake-indexeddb": "^6.2.5",
"prettier": "^3.5.3",
"tsup": "^8.0.1",
"typescript": "^5.9.3",
"vitest": "^2.1.8"
},
"packageManager": "yarn@4.12.0"
}