-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
20 lines (20 loc) · 991 Bytes
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{
"name": "near-dapp-example",
"version": "1.0.0",
"license": "(MIT AND Apache-2.0)",
"scripts": {
"start": "cd frontend && npm run start",
"deploy": "npm run build:contract && cd contract && near dev-deploy --wasmFile ./target/wasm32-unknown-unknown/release/hello_near.wasm",
"build": "npm run build:contract && npm run build:web",
"build:web": "cd frontend && npm run build",
"build:contract": "cd contract && rustup target add wasm32-unknown-unknown && cargo build --all --target wasm32-unknown-unknown --release",
"test": "npm run test:unit && npm run test:integration",
"test:unit": "cd contract && cargo test",
"test:integration": "npm run build:contract && cd integration-tests && cargo run --example integration-tests \"../contract/target/wasm32-unknown-unknown/release/hello_near.wasm\"",
"deps-install": "npm install && cd frontend && npm install && cd .."
},
"devDependencies": {
"near-cli": "^3.3.0"
},
"dependencies": {}
}