-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
149 lines (149 loc) · 4.75 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
139
140
141
142
143
144
145
146
147
148
149
{
"name": "@project-kardeshev/ao-sdk",
"version": "1.0.0-alpha.6",
"repository": {
"type": "git",
"url": "git+https://github.com/project-kardeshev/ao-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"
},
"files": [
"lib",
"bundles",
"LICENSE",
"README.md",
"package.json"
],
"publishConfig": {
"access": "public"
},
"author": {
"name": "Atticus",
"email": "[email protected]",
"website": "https://atticus.ar.io"
},
"keywords": [
"arweave",
"ar",
"blockchain"
],
"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 ]",
"lint": "eslint src",
"lint:fix": "eslint src --fix",
"format": "prettier --write .",
"test": "echo \"Error: no test specified\" && exit 0",
"test:cjs": "cd ./tests/e2e/cjs && yarn && yarn test",
"test:esm": "cd ./tests/e2e/esm && yarn && yarn test",
"test:web": "cd ./tests/e2e/web && yarn && yarn test",
"test:unit": "jest --config=jest.config.mjs",
"test:link": "yarn build && yarn link",
"test:e2e": "yarn test:link && yarn test:cjs && yarn test:esm && yarn test:web",
"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",
"build-docs": "typedoc",
"predocs": "typedoc",
"docs:dev": "yarn predocs && vitepress dev ./docs",
"docs:build": "yarn predocs && vitepress build ./docs",
"docs:publish": "yarn docs:build && node tools/deploy-docs.mjs"
},
"dependencies": {
"@dha-team/arbundles": "^1.0.1",
"@permaweb/ao-loader": "^0.0.36",
"arweave": "^1.15.1",
"axios": "^1.7.7",
"axios-retry": "^4.5.0",
"better-sqlite3": "^11.3.0",
"eventemitter3": "^5.0.1",
"libhoney": "^4.3.0",
"winston": "^3.15.0",
"zod": "^3.23.8"
},
"devDependencies": {
"@commitlint/cli": "17.6.7",
"@commitlint/config-conventional": "17.6.7",
"@esbuild-plugins/node-modules-polyfill": "^0.2.2",
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/commit-analyzer": "^13.0.0",
"@semantic-release/exec": "^6.0.3",
"@semantic-release/git": "^10.0.1",
"@semantic-release/github": "^10.3.5",
"@semantic-release/npm": "^12.0.1",
"@semantic-release/release-notes-generator": "^14.0.1",
"@trivago/prettier-plugin-sort-imports": "^4.3.0",
"@types/better-sqlite3": "^7.6.11",
"@types/libhoney": "^4.1.1",
"@types/node": "^22.8.1",
"@types/sinon": "^10.0.15",
"@typescript-eslint/eslint-plugin": "^5.62.0",
"@typescript-eslint/parser": "^6.4.0",
"arconnect": "^1.0.4",
"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-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",
"permaweb-deploy": "^1.1.8",
"prettier": "^3.0.2",
"rimraf": "^5.0.1",
"semantic-release": "^21.0.7",
"sinon": "^15.2.0",
"starknet": "^6.11.0",
"ts-jest": "^29.1.2",
"ts-node": "^10.9.1",
"typedoc": "^0.26.10",
"typedoc-plugin-markdown": "^4.2.9",
"typedoc-vitepress-theme": "^1.0.2",
"typescript": "^5.1.6",
"vite-plugin-node-polyfills": "^0.22.0",
"vitepress": "^1.4.1"
},
"lint-staged": {
"**/*.{ts,js,mjs,cjs,md,json}": [
"prettier --write ."
],
"**/README.md": [
"markdown-toc-gen insert"
]
}
}