90 lines
2.2 KiB
JSON
90 lines
2.2 KiB
JSON
{
|
|
"name": "@status-im/js",
|
|
"version": "1.0.1",
|
|
"license": "MPL-2.0",
|
|
"type": "module",
|
|
"main": "./dist/index.js",
|
|
"module": "./dist/index.js",
|
|
"types": "./dist/types/index.d.ts",
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/types/index.d.ts",
|
|
"import": "./dist/index.js"
|
|
},
|
|
"./encode-url-data": {
|
|
"types": "./dist/types/utils/encode-url-data.d.ts",
|
|
"browser": null,
|
|
"import": "./dist/encode-url-data.js"
|
|
},
|
|
"./package.json": "./package.json"
|
|
},
|
|
"typesVersions": {
|
|
"*": {
|
|
"encode-url-data": [
|
|
"./dist/types/utils/encode-url-data.d.ts"
|
|
]
|
|
}
|
|
},
|
|
"repository": {
|
|
"url": "https://github.com/status-im/status-web.git",
|
|
"directory": "packages/status-js",
|
|
"type": "git"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/status-im/status-web/issues"
|
|
},
|
|
"engines": {
|
|
"node": ">=18.18.0"
|
|
},
|
|
"scripts": {
|
|
"preinstall": "npx only-allow pnpm",
|
|
"test": "vitest",
|
|
"dev": "vite build --watch --mode development",
|
|
"build": "vite build",
|
|
"postbuild": "pnpm build:types",
|
|
"build:types": "tsc --noEmit false --emitDeclarationOnly || true",
|
|
"lint": "eslint src",
|
|
"typecheck": "tsc",
|
|
"format": "prettier --write src",
|
|
"protos:list": "buf ls-files src/protos",
|
|
"protos:lint": "buf lint src/protos",
|
|
"protos": "buf generate src/protos",
|
|
"clean": "rimraf dist node_modules .turbo"
|
|
},
|
|
"dependencies": {
|
|
"@bufbuild/protobuf": "1.4.2",
|
|
"@libp2p/bootstrap": "^9.0.10",
|
|
"@scure/base": "^1.1.1",
|
|
"@waku/message-encryption": "^0.0.24",
|
|
"@waku/sdk": "^0.0.22",
|
|
"ethereum-cryptography": "^1.0.3",
|
|
"ethers": "^6.2.1",
|
|
"multiformats": "^11.0.1",
|
|
"zod": "^3.23.8"
|
|
},
|
|
"devDependencies": {
|
|
"@bufbuild/protoc-gen-es": "1.4.2",
|
|
"@status-im/eslint-config": "workspace:*",
|
|
"@waku/interfaces": "^0.0.21",
|
|
"happy-dom": "^9.1.7"
|
|
},
|
|
"files": [
|
|
"dist/",
|
|
"!dist/**/*.map",
|
|
"!dist/tsconfig.tsbuildinfo",
|
|
"package.json"
|
|
],
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"lint-staged": {
|
|
"*.{ts,tsx,js,jsx,mjs}": [
|
|
"eslint",
|
|
"prettier --write"
|
|
],
|
|
"*.{md,mdx,yml,yaml,json}": [
|
|
"prettier --write"
|
|
]
|
|
}
|
|
}
|