-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
111 lines (111 loc) · 3.3 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
{
"name": "@phala/sdk",
"version": "0.5.10",
"description": "Phala Phat Contract JS SDK",
"license": "Apache-2.0",
"author": [
"Leechael Yim <[email protected]>"
],
"homepage": "https://github.com/Phala-Network/phala-blockchain/tree/master/frontend/packages/sdk#readme",
"repository": {
"type": "git",
"url": "https://github.com/Phala-Network/phala-blockchain.git",
"directory": "frontend/packages/sdk"
},
"bugs": {
"url": "https://github.com/Phala-Network/phala-blockchain/issues"
},
"main": "dist/node/index",
"browser": "dist/browser/index",
"keywords": [
"phala",
"phala-network",
"phat-contract"
],
"exports": {
".": {
"import": {
"node": "./dist/node/index.mjs",
"default": "./dist/browser/index.mjs"
},
"require": {
"node": "./dist/node/index.js",
"default": "./dist/browser/index.js"
}
}
},
"files": [
"dist/*/*.js",
"dist/*/*.ts",
"dist/*/*.mjs",
"dist/*/*.mts"
],
"scripts": {
"prebuild": "shx rm -rf dist",
"build": "concurrently -m 2 'yarn:build:*'",
"build:node": "tsup --config tsup.node.ts",
"build:browser": "tsup --config tsup.browser.ts",
"generate:proto": "scripts/build_proto.sh",
"pretest": "tsc --noEmit",
"prettier": "prettier '*.{js,jsolintn,md}' '{src,tests,docs}/**/*.{ts,tsx,md,mdx}' --write",
"prettier:ci": "prettier '*.{js,json,md}' '{src,tests,docs}/**/*.{ts,tsx,md,mdx}' --list-different",
"eslint": "eslint --fix --no-eslintrc --c .eslintrc '*.{js,json,ts}' '{src,tests,benchmarks}/**/*.{ts,tsx}'",
"eslint:ci": "eslint --no-eslintrc --c .eslintrc '*.{js,json,ts}' '{src,tests}/**/*.{ts,tsx}'",
"test": "vitest --ui --coverage",
"test:ci": "vitest --run"
},
"dependencies": {
"@polkadot/api": "^10.9.1",
"@polkadot/api-contract": "^10.9.1",
"@polkadot/keyring": "^12.3.2",
"@polkadot/types": "^10.9.1",
"@polkadot/types-augment": "^10.9.1",
"@polkadot/util": "^12.3.2",
"@polkadot/util-crypto": "^12.3.2",
"browserify-cipher": "^1.0.1",
"cross-fetch": "^4.0.0",
"dedot": "^0.5.0",
"protobufjs": "^7.2.4",
"randombytes": "^2.1.0",
"rxjs": "^7.8.1",
"viem": "^1.5.0"
},
"devDependencies": {
"@esbuild-plugins/node-globals-polyfill": "^0.2.3",
"@esbuild-plugins/node-modules-polyfill": "^0.2.2",
"@types/node": "^20.4.1",
"@typescript-eslint/eslint-plugin": "^6.6.0",
"@typescript-eslint/parser": "^6.6.0",
"@vitest/coverage-v8": "^0.34.4",
"@vitest/ui": "^0.34.4",
"concurrently": "^8.2.1",
"esbuild": "^0.18.11",
"eslint": "^8.48.0",
"eslint-config-prettier": "^9.0.0",
"eslint-import-resolver-alias": "^1.1.2",
"eslint-plugin-import": "^2.28.1",
"eslint-plugin-prettier": "^5.0.0",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-vitest": "^0.3.1",
"prettier": "^3.0.3",
"protobufjs-cli": "^1.1.1",
"shx": "^0.3.4",
"ts-node": "^10.9.1",
"tsup": "^7.1.0",
"typescript": "^5.1.6",
"vitest": "^0.34.6"
},
"engines": {
"node": ">=16"
},
"prettier": {
"semi": false,
"trailingComma": "es5",
"singleQuote": true,
"bracketSameLine": true,
"tabWidth": 2,
"printWidth": 120
},
"packageManager": "[email protected]"
}