-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
30 lines (30 loc) · 1.73 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
{
"name": "near-chatme",
"version": "1.0.1",
"license": "(MIT AND Apache-2.0)",
"scripts": {
"start": "cd frontend && npm run start",
"dev:start": "cd frontend && npm run dev:start",
"deploy:clear": "npm run build:contract && near dev-deploy --wasmFile contract/target/wasm32-unknown-unknown/release/near_chatme.wasm --accountId vlodkow.testnet",
"deploy": "npm run build:contract && CONTRACT_ID=near-message.testnet && near deploy --wasmFile contract/target/wasm32-unknown-unknown/release/near_chatme.wasm --accountId $CONTRACT_ID",
"data:seed": "cd contract && ./data_seed.sh",
"build": "npm run build:contract && npm run build:web",
"build:web": "cd frontend && npm run build",
"build:contract": "cd contract && ./build.sh",
"update:contract": "npm run build:contract && npm run deploy",
"dev:build:web": "cd frontend && npm run dev:build",
"prod:build:web": "cd frontend && npm run prod:build",
"dev:deploy": "CONTRACT_ID=chatme.testnet && near deploy --wasmFile contract/target/wasm32-unknown-unknown/release/near_chatme.wasm --accountId $CONTRACT_ID",
"prod:deploy": "CONTRACT_ID=chatme.near && NEAR_ENV=mainnet near deploy --wasmFile contract/target/wasm32-unknown-unknown/release/near_chatme.wasm --accountId $CONTRACT_ID",
"test": "npm run test:unit",
"test:unit": "cd contract && cargo test",
"postinstall": "cd frontend && npm install && cd .. && echo rs tests && echo rs contract",
"graph:build": "cd thegraph && graph codegen && graph build",
"local:graph:deploy": "cd thegraph && npm run deploy",
"dev:graph:deploy": "cd thegraph && npm run dev:deploy",
"prod:graph:deploy": "cd thegraph && npm run prod:deploy"
},
"devDependencies": {
"near-cli": "^3.0.0"
}
}