-
Notifications
You must be signed in to change notification settings - Fork 12
/
package.json
138 lines (138 loc) · 4.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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
{
"name": "@ar.io/sdk",
"version": "2.3.2",
"repository": {
"type": "git",
"url": "git+https://github.com/ar-io/ar-io-sdk.git"
},
"main": "./lib/cjs/node/index.js",
"module": "./lib/esm/node/index.js",
"types": "./lib/types/node/index.d.ts",
"browser": "./bundles/web.bundle.min.js",
"type": "module",
"engines": {
"node": ">=18"
},
"license": "Apache-2.0",
"files": [
"lib",
"bundles",
"LICENSE",
"README.md",
"package.json"
],
"publishConfig": {
"access": "public"
},
"author": {
"name": "Permanent Data Solutions Inc",
"email": "[email protected]",
"website": "https://ar.io"
},
"keywords": [
"arweave",
"ar",
"blockchain",
"ar.io",
"ao"
],
"exports": {
".": {
"import": "./lib/esm/node/index.js",
"require": "./lib/cjs/node/index.js",
"types": "./lib/types/node/index.d.ts",
"browser": "./bundles/web.bundle.min.js"
},
"./node": {
"import": "./lib/esm/node/index.js",
"require": "./lib/cjs/node/index.js",
"types": "./lib/types/node/index.d.ts"
},
"./web": {
"import": "./lib/esm/web/index.js",
"require": "./lib/cjs/web/index.js",
"types": "./lib/types/web/index.d.ts",
"browser": "./bundles/web.bundle.min.js"
}
},
"scripts": {
"build:web": "node bundle.mjs",
"build:esm": "yarn tsc -p tsconfig.json",
"build:cjs": "yarn tsc -p tsconfig.cjs.json && echo \"{\\\"type\\\": \\\"commonjs\\\"}\" > lib/cjs/package.json",
"build": "yarn clean && yarn build:web && yarn build:esm && yarn build:cjs",
"clean": "rimraf [ lib bundles coverage tests/contracts tests/wallets ]",
"lint": "eslint src",
"lint:fix": "eslint src --fix",
"format": "prettier --check .",
"format:fix": "prettier --write .",
"test": "yarn test:unit && yarn test:e2e",
"test:cjs": "yarn test:link && cd ./tests/e2e/cjs && yarn && yarn test",
"test:esm": "yarn test:link && cd ./tests/e2e/esm && yarn && yarn test",
"test:web": "yarn test:link && cd ./tests/e2e/web && yarn && yarn test",
"test:unit": "NODE_OPTIONS=\"--import=./register.mjs\" node --test tests/unit/**.test.ts",
"test:link": "yarn build && yarn link",
"test:e2e": "yarn test:cjs && yarn test:esm && yarn test:web",
"prepare": "husky install",
"example:esm": "cd examples/esm && yarn && node index.mjs",
"example:cjs": "yarn test:link && cd examples/cjs && yarn && node index.cjs",
"example:web": "yarn test:link && build:web && http-server --port 8080 --host -o examples/web"
},
"devDependencies": {
"@commitlint/cli": "^17.1.2",
"@commitlint/config-conventional": "^17.1.0",
"@esbuild-plugins/node-modules-polyfill": "^0.2.2",
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/exec": "^6.0.3",
"@semantic-release/git": "^10.0.1",
"@semantic-release/npm": "^11.0.3",
"@trivago/prettier-plugin-sort-imports": "^4.2.0",
"@types/node": "^20.12.12",
"@types/sinon": "^10.0.15",
"@typescript-eslint/eslint-plugin": "^5.62.0",
"@typescript-eslint/parser": "^6.4.0",
"arconnect": "^1.0.3",
"dotenv": "^16.4.5",
"dotenv-cli": "^7.4.2",
"esbuild": "^0.19.2",
"esbuild-plugin-polyfill-node": "^0.3.0",
"eslint": "^8.47.0",
"eslint-config-prettier": "^9.0.0",
"eslint-config-standard-with-typescript": "^37.0.0",
"eslint-plugin-header": "^3.1.1",
"eslint-plugin-import": "^2.28.0",
"eslint-plugin-n": "^16.0.1",
"eslint-plugin-prettier": "^5.0.0",
"eslint-plugin-promise": "^6.1.1",
"http-server": "^14.1.1",
"husky": "^8.0.3",
"lint-staged": "^15.2.2",
"markdown-toc-gen": "^1.0.1",
"prettier": "^3.0.2",
"rimraf": "^5.0.1",
"semantic-release": "^21.0.7",
"sinon": "^15.2.0",
"testcontainers": "^10.13.1",
"ts-node": "^10.9.2",
"typescript": "^5.1.6",
"vite-plugin-node-polyfills": "^0.22.0"
},
"dependencies": {
"@dha-team/arbundles": "^1.0.1",
"@permaweb/aoconnect": "^0.0.57",
"arweave": "1.14.4",
"axios": "1.7.7",
"axios-retry": "^4.3.0",
"eventemitter3": "^5.0.1",
"plimit-lit": "^3.0.1",
"winston": "^3.13.0",
"zod": "^3.23.8"
},
"lint-staged": {
"**/*.{ts,js,mjs,cjs,md,json}": [
"prettier --write ."
],
"**/README.md": [
"markdown-toc-gen insert"
]
}
}