-
Notifications
You must be signed in to change notification settings - Fork 17
/
package.json
70 lines (70 loc) · 2.25 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
{
"name": "web4-near",
"version": "0.6.0",
"description": "Web3 using plain HTTP",
"keywords": [
"rust",
"assemblyscript",
"permaweb",
"ipfs",
"blockchain",
"web3",
"web4",
"nearprotocol"
],
"bin": {
"web4": "bin/web4"
},
"files": [
"bin",
"util",
"wallet-adapter",
"*.js"
],
"main": "app.js",
"engines": {
"node": ">=16.0"
},
"license": "MIT",
"scripts": {
"build": "npm run build:contract",
"build:website": "mkdir -p dist && marked -i README.md -o dist/_index.html && cp -R public/* dist/ && cat templates/header.html dist/_index.html > dist/index.html",
"build:wallet-adapter": "npx browserify wallet-adapter/wallet-adapter.js -p esmify > wallet-adapter/dist/wallet-adapter.js",
"build:contract": "cd contract && npm run build:release",
"build:contract:debug": "cd contract && npm run build:debug",
"dev:deploy:contract": "near dev-deploy --wasmFile contract/build/debug/greeter.wasm",
"deploy:contract": "near deploy web4.near --wasmFile contract/build/release/greeter.wasm ",
"deploy:website": "npm run build:website && npx web4-deploy dist/ web4.near",
"deploy": "npm run build:contract && npm run deploy:contract",
"prestart": "npm run build:contract:debug && npm run dev:deploy:contract",
"start": "env-cmd -f ./neardev/dev-account.env nodemon bin/web4 --watch . -e js",
"dev": "nodemon --watch contract -e ts --exec \"npm run start\"",
"test": "set -o pipefail; tape test/*.test.js | tap-diff",
"test:e2e": "./test/e2e.sh",
"test:e2e:fastnear": "FAST_NEAR_URL=https://rpc.web4.near.page npm run test:e2e",
"test:all": "npm run test && npm run test:e2e && npm run test:e2e:fastnear"
},
"dependencies": {
"koa": "^2.13.1",
"koa-router": "^10.0.0",
"near-api-js": "^2.1.4",
"node-fetch": "^2.6.1",
"qs": "^6.11.1",
"raw-body": "^2.5.2"
},
"devDependencies": {
"@here-wallet/core": "^3.3.1",
"@meteorwallet/sdk": "^0.8.0",
"browserify": "^17.0.0",
"env-cmd": "^10.1.0",
"esmify": "^2.1.1",
"fast-near": "^0.4.2",
"js-cookie": "^3.0.5",
"marked": "^3.0.4",
"nock": "^13.3.0",
"nodemon": "^2.0.7",
"supertest": "^6.3.3",
"tap-diff": "^0.1.1",
"tape": "^5.6.3"
}
}