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

82 lines
2.0 KiB
JSON

{
"name": "@status-im/js",
"version": "0.4.1",
"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"
},
"./encode-url-hash": {
"types": "./dist/types/utils/encode-url-hash.d.ts",
"browser": null,
"import": "./dist/encode-url-hash.js"
},
"./package.json": "./package.json"
},
"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.0.0",
"@scure/base": "^1.1.1",
"ethereum-cryptography": "^1.0.3",
"ethers": "^6.2.1",
"js-waku": "^0.30.0",
"multiformats": "^11.0.1"
},
"devDependencies": {
"@bufbuild/protoc-gen-es": "^1.0.0",
"@status-im/eslint-config": "*",
"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"
]
}
}