status-web/packages/status-js/package.json

87 lines
2.1 KiB
JSON

{
"name": "@status-im/js",
"version": "0.6.0",
"license": "MIT OR Apache-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"
},
"scripts": {
"test": "vitest",
"dev": "vite build --watch --mode development",
"build": "vite build",
"postbuild": "yarn 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"
},
"devDependencies": {
"@bufbuild/protoc-gen-es": "1.4.2",
"@status-im/eslint-config": "*",
"@waku/interfaces": "^0.0.21",
"happy-dom": "^9.1.7"
},
"files": [
"dist/",
"!dist/**/*.map",
"!dist/tsconfig.tsbuildinfo",
"LICENSE-MIT",
"LICENSE-APACHE-v2",
"package.json"
],
"publishConfig": {
"access": "public"
},
"lint-staged": {
"*.{ts,tsx,js,jsx,mjs}": [
"eslint",
"prettier --write"
],
"*.{md,mdx,yml,yaml,json}": [
"prettier --write"
]
}
}