mirror of
https://github.com/status-im/status-web.git
synced 2026-08-30 22:01:15 +00:00
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
101 lines
2.6 KiB
JSON
101 lines
2.6 KiB
JSON
{
|
|
"name": "@status-im/js",
|
|
"version": "1.2.2",
|
|
"license": "MPL-2.0",
|
|
"type": "module",
|
|
"main": "./dist/index.es.js",
|
|
"module": "./dist/index.es.js",
|
|
"types": "./dist/types/src/index.d.ts",
|
|
"source": "./src/index.ts",
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/types/src/index.d.ts",
|
|
"import": "./dist/index.es.js",
|
|
"require": "./dist/index.cjs.js"
|
|
},
|
|
"./encode-url-data": {
|
|
"types": "./dist/types/src/utils/encode-url-data.d.ts",
|
|
"browser": null,
|
|
"import": "./dist/encode-url-data.es.js",
|
|
"require": "./dist/encode-url-data.cjs.js"
|
|
},
|
|
"./create-url": {
|
|
"types": "./dist/types/src/utils/create-url.d.ts",
|
|
"import": "./dist/create-url.es.js",
|
|
"require": "./dist/create-url.cjs.js"
|
|
},
|
|
"./package.json": "./package.json"
|
|
},
|
|
"typesVersions": {
|
|
"*": {
|
|
"encode-url-data": [
|
|
"./dist/types/src/utils/encode-url-data.d.ts"
|
|
],
|
|
"create-url": [
|
|
"./dist/types/src/utils/create-url.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": ">=22.x"
|
|
},
|
|
"scripts": {
|
|
"preinstall": "npx only-allow pnpm",
|
|
"test": "vitest run",
|
|
"test:update": "vitest run --update",
|
|
"dev": "vite build --watch --mode development",
|
|
"build": "vite build && 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": "2.10.0",
|
|
"@libp2p/bootstrap": "^11.0.42",
|
|
"@scure/base": "^1.2.6",
|
|
"@waku/message-encryption": "^0.0.38",
|
|
"@waku/sdk": "^0.0.36",
|
|
"ethereum-cryptography": "^1.0.3",
|
|
"ethers": "^6.15.0",
|
|
"multiformats": "^11.0.1",
|
|
"zod": "3.25.76"
|
|
},
|
|
"devDependencies": {
|
|
"@bufbuild/protoc-gen-es": "2.10.0",
|
|
"@status-im/eslint-config": "workspace:*",
|
|
"@waku/interfaces": "^0.0.34",
|
|
"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"
|
|
]
|
|
}
|
|
}
|