-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
123 lines (123 loc) · 3.68 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
112
113
114
115
116
117
118
119
120
121
122
123
{
"name": "@entropyxyz/sdk",
"version": "0.4.1-2",
"license": "AGPL-3.0-only",
"description": "JS SDK for entropy blockchain ",
"type": "module",
"files": [
"index.cjs",
"index.mjs",
"keys.cjs",
"keys.mjs",
"dist/**/*",
"dev/**/*",
"README.md"
],
"exports": {
".": {
"import": "./index.mjs",
"require": "./index.cjs",
"default": "./dist/index.js",
"types": "./dist/index.d.ts"
},
"./keys": {
"import": "./keys.mjs",
"require": "./keys.cjs",
"default": "./dist/keys/index.js",
"types": "./dist/keys/index.d.ts"
},
"./utils": {
"import": "./dist/utils/index.js",
"require": "./dist/utils/index.cjs",
"default": "./dist/utils/index.js",
"types": "./dist/utils/index.d.ts"
},
"./testing": {
"import": "./dev/testing-utils.mjs"
}
},
"module": "./index.mjs",
"main": "./index.cjs",
"types": "dist/index.d.ts",
"scripts": {
"test": "yarn test:setup && yarn test:types && yarn test:ts && yarn test:only && yarn test:require && yarn test:import",
"test:setup": "./dev/bin/check-tools.sh && yarn build",
"test:types": "tsc",
"test:ts": "yarn removedb && ./dev/bin/test-ts.sh",
"test:require": "node tests/require.test.cjs | tap-spec",
"test:import": "node tests/import.test.mjs | tap-spec",
"test:only": "./dev/bin/test-only.sh",
"test:coverage": "nyc yarn test",
"lint": "yarn lint:ts && yarn lint:eslint",
"lint:ts": "tsc",
"lint:eslint": "eslint . --ext .ts --fix",
"peek": "tsc --build --clean",
"burn": "rm -Rf node_modules && yarn cache clean --all && yarn install",
"build": "rm -rf dist && tsup",
"build:node": "tsup --platform node ",
"build:browser": "tsup --platform browser",
"build:link": "yarn build && yarn unlink && yarn link",
"find-deadcode": "ts-prune",
"generate:types": "dev/bin/generate-types.sh",
"generate:docs": "typedoc --options typedoc.config.cjs --tsconfig tsconfig.json",
"prepare": "husky",
"prepack": "pinst --disable",
"postpack": "pinst --enable",
"publish:rc": "yarn burn && yarn build && npm publish --tag next",
"removedb": "./dev/bin/remove-db.sh"
},
"repository": {
"type": "git",
"url": "git+https://github.com/entropyxyz/sdk.git"
},
"publishConfig": {
"@entropyxyz:SDK": "https://npm.pkg.github.com"
},
"author": "Entropy",
"bugs": {
"url": "https://github.com/entropyxyz/sdk/issues"
},
"homepage": "https://github.com/entropyxyz/sdk#readme",
"devDependencies": {
"@mxssfd/typedoc-theme": "^1.1.3",
"@polkadot/typegen": "^14.0.1",
"@types/tape": "^5",
"@typescript-eslint/eslint-plugin": "^5.43.0",
"@typescript-eslint/parser": "^5.43.0",
"depcheck": "^1.4.7",
"eslint": "^8.57.0",
"husky": "^9.0.11",
"lint-staged": ">=10",
"nyc": "^15.1.0",
"pinst": "^3.0.0",
"tap-spec": "^5.0.0",
"tape": "^5.7.5",
"ts-node": "^10.9.1",
"ts-prune": "^0.10.3",
"tsup": "^6.5.0",
"tsx": "^4.9.3",
"typedoc": "^0.25.3",
"typedoc-plugin-merge-modules": "^5.1.0",
"typedoc-plugin-missing-exports": "^2.3.0",
"typedoc-plugin-rename-defaults": "^0.7.0",
"typescript": "^4.9.5",
"ws": "^8.17.1"
},
"dependencies": {
"@entropyxyz/entropy-protocol-nodejs": "^0.2.0",
"@entropyxyz/entropy-protocol-web": "^0.2.0",
"@polkadot/api": "^14.0.1",
"@types/lodash.clonedeep": "^4.5.9",
"@types/node": "^20.12.12",
"debug": "^4.3.4",
"ethers": "^6.13.4",
"hpke-js": "^1.2.7",
"lodash.clonedeep": "^4.5.0",
"uuid": "^9.0.1",
"xtend": "^4.0.2"
},
"lint-staged": {
"*.ts": "eslint --fix"
},
"packageManager": "[email protected]"
}