forked from ArweaveTeam/arweave-js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
97 lines (97 loc) · 3.19 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
{
"name": "arweave",
"version": "1.10.23",
"description": "Arweave JS client library",
"main": "./node/index.js",
"browser": "./web/index.js",
"files": [
"node",
"web",
"bundles"
],
"scripts": {
"compile:node": "tsc --declaration -project tsconfig.node.json",
"compile:web": "tsc --declaration -project tsconfig.web.json",
"bundle:web": "npx webpack --config-name web",
"bundle:web-prod": "npx webpack --config-name web-prod",
"profile:web": "npx webpack --config-name web --json > ./web.profile.json && npx 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 --require ts-node/register test/*.ts && echo \"NOW RUN => 'npm run test:web' <= \" ",
"test:web": "npm run bundle:web && npx 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\"",
"preversion": "npm run test",
"version": "npm run prettier:write && git add -A src && git add -A test",
"postversion": "git push && git push --tags"
},
"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.2.12",
"@types/mocha": "^9.0.0",
"@types/node": "^14.14.22",
"buffer": "^6.0.3",
"chai": "^4.2.0",
"crypto-browserify": "^3.12.0",
"mkdirp": "^1.0.4",
"mocha": "^9.1.2",
"ncp": "^2.0.0",
"opener": "^1.5.2",
"prettier": "2.2.1",
"process": "^0.11.10",
"rimraf": "^3.0.2",
"stream-browserify": "^3.0.0",
"terser-webpack-plugin": "^5.1.4",
"ts-loader": "^9.2.6",
"ts-node": "^10.2.1",
"typescript": "^4.1.3",
"webpack": "^5.20.1",
"webpack-bundle-analyzer": "^4.4.0",
"webpack-cli": "^4.5.0"
},
"targets": {
"chrome": "70",
"node": "12"
},
"engines": {
"node": ">=12"
},
"dependencies": {
"arconnect": "^0.2.8",
"asn1.js": "^5.4.1",
"axios": "^0.22.0",
"base64-js": "^1.3.1",
"bignumber.js": "^9.0.1",
"util": "^0.12.4"
}
}