-
Notifications
You must be signed in to change notification settings - Fork 28
/
package.json
32 lines (32 loc) · 1.28 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
{
"name": "hello_near",
"version": "1.0.0",
"license": "UNLICENSED",
"scripts": {
"build": "cd contract && npm i && npm run build && mkdir -p ../out && cp ./build/hello_near.wasm ../out/main.wasm",
"deploy": "npm run build && near dev-deploy && export $(cat ./neardev/dev-account.env) && near call $CONTRACT_NAME init --accountId $CONTRACT_NAME --deposit 1",
"start": "npm run deploy && echo The app is starting! && env-cmd -f ./neardev/dev-account.env parcel frontend/index.html --open",
"dev": "nodemon --watch contract -e ts --exec \"npm run start\"",
"test": "npm run build && npm run test:unit && npm run test:integration",
"test:unit": "echo js has no unit tests",
"test:integration": "npm run test:integration:ts && npm run test:integration:rs",
"test:integration:ts": "ava --verbose",
"test:integration:rs": "cd integration-tests/rs && cargo run --example integration-tests"
},
"devDependencies": {
"ava": "^4.2.0",
"buffer": "^6.0.3",
"env-cmd": "^10.1.0",
"near-cli": "^3.2.0",
"near-workspaces": "^3.1.0",
"nodemon": "~2.0.15",
"process": "^0.11.10",
"ts-node": "^10.7.0",
"typescript": "^4.7.4"
},
"dependencies": {
"near-api-js": "~0.43.1",
"parcel": "^2.7.0",
"regenerator-runtime": "~0.13.5"
}
}