2022-02-23 14:03:14 +00:00
|
|
|
{
|
2022-05-24 10:42:05 +00:00
|
|
|
"name": "@status-im/js",
|
2023-11-06 18:38:03 +00:00
|
|
|
"version": "0.4.2",
|
2022-02-23 14:03:14 +00:00
|
|
|
"license": "MIT OR Apache-2.0",
|
2022-06-28 14:40:39 +00:00
|
|
|
"type": "module",
|
2023-05-29 15:11:02 +00:00
|
|
|
"main": "./dist/index.js",
|
2023-05-03 12:48:16 +00:00
|
|
|
"module": "./dist/index.js",
|
|
|
|
"types": "./dist/types/index.d.ts",
|
2023-05-29 15:11:02 +00:00
|
|
|
"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"
|
|
|
|
},
|
2022-02-23 14:03:14 +00:00
|
|
|
"repository": {
|
|
|
|
"url": "https://github.com/status-im/status-web.git",
|
2022-05-23 12:57:01 +00:00
|
|
|
"directory": "packages/status-js",
|
2022-02-23 14:03:14 +00:00
|
|
|
"type": "git"
|
|
|
|
},
|
|
|
|
"bugs": {
|
|
|
|
"url": "https://github.com/status-im/status-web/issues"
|
|
|
|
},
|
|
|
|
"scripts": {
|
2023-03-13 20:48:42 +00:00
|
|
|
"test": "vitest",
|
2022-06-28 14:54:21 +00:00
|
|
|
"dev": "vite build --watch --mode development",
|
2022-06-29 14:46:51 +00:00
|
|
|
"build": "vite build",
|
2023-03-14 12:49:33 +00:00
|
|
|
"postbuild": "yarn build:types",
|
|
|
|
"build:types": "tsc --noEmit false --emitDeclarationOnly || true",
|
2022-06-29 14:46:51 +00:00
|
|
|
"lint": "eslint src",
|
2023-03-13 20:48:42 +00:00
|
|
|
"typecheck": "tsc",
|
2023-04-06 15:22:04 +00:00
|
|
|
"format": "prettier --write src",
|
|
|
|
"protos:list": "buf ls-files src/protos",
|
|
|
|
"protos:lint": "buf lint src/protos",
|
|
|
|
"protos": "buf generate src/protos",
|
2023-04-26 10:06:18 +00:00
|
|
|
"clean": "rimraf dist node_modules .turbo"
|
2022-02-23 14:03:14 +00:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2023-04-06 15:22:04 +00:00
|
|
|
"@bufbuild/protobuf": "^1.0.0",
|
|
|
|
"@scure/base": "^1.1.1",
|
2022-06-02 10:10:53 +00:00
|
|
|
"ethereum-cryptography": "^1.0.3",
|
2023-04-06 15:22:04 +00:00
|
|
|
"ethers": "^6.2.1",
|
2023-02-23 15:48:31 +00:00
|
|
|
"js-waku": "^0.30.0",
|
2023-04-06 15:22:04 +00:00
|
|
|
"multiformats": "^11.0.1"
|
2022-02-24 23:02:30 +00:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2023-04-06 15:22:04 +00:00
|
|
|
"@bufbuild/protoc-gen-es": "^1.0.0",
|
2023-06-21 10:35:48 +00:00
|
|
|
"@status-im/eslint-config": "*",
|
2023-04-06 15:22:04 +00:00
|
|
|
"happy-dom": "^9.1.7"
|
2022-06-30 13:31:50 +00:00
|
|
|
},
|
|
|
|
"files": [
|
|
|
|
"dist/",
|
|
|
|
"!dist/**/*.map",
|
|
|
|
"!dist/tsconfig.tsbuildinfo",
|
|
|
|
"LICENSE-MIT",
|
|
|
|
"LICENSE-APACHE-v2",
|
|
|
|
"package.json"
|
2022-07-06 13:37:35 +00:00
|
|
|
],
|
|
|
|
"publishConfig": {
|
|
|
|
"access": "public"
|
2023-06-27 20:30:11 +00:00
|
|
|
},
|
|
|
|
"lint-staged": {
|
|
|
|
"*.{ts,tsx,js,jsx,mjs}": [
|
|
|
|
"eslint",
|
|
|
|
"prettier --write"
|
|
|
|
],
|
|
|
|
"*.{md,mdx,yml,yaml,json}": [
|
|
|
|
"prettier --write"
|
|
|
|
]
|
2022-07-06 13:37:35 +00:00
|
|
|
}
|
2022-02-23 14:03:14 +00:00
|
|
|
}
|