-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
36 lines (36 loc) · 1.31 KB
/
package.json
File metadata and controls
36 lines (36 loc) · 1.31 KB
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
{
"name": "rust-counter",
"description": "Counter Smart Contract\n\nThis project contains implementation of counter backed by blockchain, written in Rust.",
"version": "0.0.1",
"license": "(MIT AND Apache-2.0)",
"scripts": {
"build": "cd contract && cargo build --target wasm32-unknown-unknown --release",
"postbuild": "cp contract/target/wasm32-unknown-unknown/release/rust_counter_tutorial.wasm ./out/main.wasm",
"deploy:contract": "near deploy",
"deploy:pages": "gh-pages -d src",
"deploy": "yarn build && yarn deploy:contract",
"deploy:dev": "yarn build && near dev-deploy",
"dev": "yarn deploy:dev && yarn start:dev",
"prestart": "yarn build && yarn deploy:contract",
"start": "parcel src/index.html",
"start:dev": "env-cmd -f ./neardev/dev-account.env parcel src/index.html",
"test:cargo": "cd contract && cargo test -- --nocapture",
"test": "yarn build && yarn test:cargo && jest"
},
"devDependencies": {
"env-cmd": "^10.1.0",
"gh-pages": "~3.2.3",
"jest": "~27.3.1",
"jest-environment-node": "~27.3.1",
"near-cli": "^2.1.1",
"nodemon": "~2.0.14",
"parcel-bundler": "~1.12.5"
},
"jest": {
"testEnvironment": "near-cli/test_environment"
},
"dependencies": {
"near-api-js": "^0.43.1",
"regenerator-runtime": "^0.13.9"
}
}