-
Notifications
You must be signed in to change notification settings - Fork 6
/
package.json
132 lines (132 loc) · 3.96 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
{
"name": "@ar.io/sdk",
"version": "1.1.1",
"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": "AGPL-3.0-or-later",
"files": [
"lib",
"bundles",
"LICENSE",
"README.md",
"package.json"
],
"publishConfig": {
"access": "public"
},
"author": {
"name": "Permanent Data Solutions Inc",
"email": "info@ar.io",
"website": "https://ar.io"
},
"keywords": [
"arweave",
"ar",
"blockchain",
"warp",
"contracts",
"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": "./bundles/web.bundle.min.js",
"require": "./bundles/web.bundle.min.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:integration",
"test:unit": "jest --config=jest.config.mjs",
"test:integration": "jest --config=jest.integration.config.mjs --runInBand",
"test:docker": "docker-compose up --exit-code-from test-runner --build",
"prepare": "husky install",
"example:esm": "cd examples/esm && yarn && node index.mjs",
"example:cjs": "cd examples/cjs && yarn && node index.cjs",
"example:web": "yarn 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/jest": "^29.5.12",
"@types/node": "^20.12.12",
"@types/sinon": "^10.0.15",
"@typescript-eslint/eslint-plugin": "^5.62.0",
"@typescript-eslint/parser": "^6.4.0",
"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-jest": "^27.6.3",
"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",
"jest": "^29.7.0",
"lint-staged": "^15.2.2",
"prettier": "^3.0.2",
"rimraf": "^5.0.1",
"semantic-release": "^21.0.7",
"sinon": "^15.2.0",
"ts-jest": "^29.1.2",
"ts-node": "^10.9.1",
"typescript": "^5.1.6",
"warp-contracts-plugin-deploy": "^1.0.13"
},
"dependencies": {
"arbundles": "0.11.0",
"arweave": "1.14.4",
"axios": "1.7.2",
"axios-retry": "^4.3.0",
"bunyan": "^1.8.15",
"warp-contracts": "1.4.45"
},
"lint-staged": {
"**/*.{ts,js,mjs,cjs,md,json}": [
"prettier --write ."
]
}
}