-
Notifications
You must be signed in to change notification settings - Fork 129
/
package.json
108 lines (108 loc) · 3.44 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
{
"name": "arweave",
"version": "1.15.5",
"description": "Arweave JS client library",
"main": "./node/index.js",
"react-native": "./node/index.js",
"browser": "./web/index.js",
"files": [
"node",
"web",
"bundles"
],
"scripts": {
"compile:node": "tsc --declaration -project tsconfig.node.json && resolve-tspaths -p tsconfig.node.json",
"compile:web": "tsc --declaration -project tsconfig.web.json && resolve-tspaths -p tsconfig.web.json",
"bundle:web": "webpack --config-name web",
"bundle:web-prod": "webpack --config-name web-prod",
"profile:web": "webpack --config-name web --json > ./web.profile.json && webpack-bundle-analyzer ./web.profile.json",
"package": "mkdirp node web && ncp dist/node/common/ dist/node/node/ && ncp dist/node/node/ node && ncp dist/web/common/ dist/web/web/ && ncp dist/web/web/ web && npm run clean:dist",
"build": "npm run clean && npm run compile:node && npm run compile:web && npm run package && npm run bundle:web && npm run bundle:web-prod",
"clean:dist": "rimraf dist",
"clean:package": "rimraf node web",
"clean:bundle": "rimraf bundles",
"clean": "npm run clean:dist && npm run clean:package && npm run clean:bundle",
"prepublishOnly": "npm run clean && npm run build",
"test": "mocha test/*.ts && echo \"NOW RUN => 'npm run test:web' <= \" ",
"test:web": "npm run bundle:web && webpack --config-name web-tests && opener test/web/web.html",
"prettier:check": "prettier --check \"src/**/*.ts\" \"test/**/*.ts\"",
"prettier:write": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
"version": "npm run prettier:write && git add -A src && git add -A test",
"postversion": "git push && git push --tags"
},
"mocha": {
"extension": [
"ts"
],
"node-option": [
"require=ts-node/register",
"require=tsconfig-paths/register",
"experimental-fetch",
"no-warnings"
]
},
"repository": {
"type": "git",
"url": "git+https://github.com/ArweaveTeam/arweave-js.git"
},
"keywords": [
"arweave",
"js",
"blockchain",
"crypto",
"data",
"permanence",
"http"
],
"author": "Arweave Team <team@arweave.org>",
"contributors": [
"Kyle Beckles <kyle@arweave.org>",
"Aidan O'Kelly <aidan@arweave.org>",
"Ros McMahon <ros@arweave.org>",
"Cedrik Boudreau <cedrik@arweave.org>"
],
"license": "MIT",
"bugs": {
"url": "https://github.com/ArweaveTeam/arweave-js/issues"
},
"homepage": "https://github.com/ArweaveTeam/arweave-js#readme",
"devDependencies": {
"@types/base64-js": "^1.3.0",
"@types/chai": "^4.3.1",
"@types/mocha": "^10.0.1",
"@types/node": "^20.16.5",
"buffer": "^6.0.3",
"chai": "^4.3.6",
"crypto-browserify": "^3.12.0",
"mkdirp": "^1.0.4",
"mocha": "^10.0.0",
"ncp": "^2.0.0",
"opener": "^1.5.2",
"prettier": "^2.8.1",
"process": "^0.11.10",
"resolve-tspaths": "^0.6.0",
"rimraf": "^3.0.2",
"stream-browserify": "^3.0.0",
"terser-webpack-plugin": "^5.3.3",
"ts-loader": "^9.3.0",
"ts-node": "^10.8.0",
"tsconfig-paths": "^4.0.0",
"typescript": "^5.6.2",
"webpack": "^5.72.1",
"webpack-bundle-analyzer": "^4.5.0",
"webpack-cli": "^4.9.2"
},
"targets": {
"chrome": "70",
"node": "18"
},
"engines": {
"node": ">=18"
},
"dependencies": {
"arconnect": "^0.4.2",
"asn1.js": "^5.4.1",
"base64-js": "^1.5.1",
"bignumber.js": "^9.0.2"
}
}