-
Notifications
You must be signed in to change notification settings - Fork 20
/
package.json
38 lines (38 loc) · 1.41 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
{
"name": "template",
"version": "1.0.0",
"description": "Contract template with near-sdk-js",
"main": "index.js",
"type": "module",
"scripts": {
"build": "npm run build:contract && npm run build:web",
"build:contract": "near-sdk-js build src/index.ts build/contract.wasm",
"build:web": "parcel build frontend/index.html --public-url ./",
"deploy": "npm run build:contract && rm -rf neardev && near dev-deploy build/contract.wasm && export $(cat ./neardev/dev-account.env) && echo $CONTRACT_NAME && near call $CONTRACT_NAME init --accountId $CONTRACT_NAME",
"start": "npm run deploy && echo The app is starting! && export $(cat ./neardev/dev-account.env) && echo $CONTRACT_NAME && parcel frontend/index.html --open",
"dev": "npm run deploy && nodemon --watch contract -e ts --exec \"npm run start\"",
"test": "ava --verbose"
},
"author": "Near Inc <hello@nearprotocol.com>",
"license": "Apache-2.0",
"dependencies": {
"big.js": "^6.2.0",
"env-cmd": "^10.1.0",
"near-api-js": "^0.45.1",
"near-sdk-js": "^0.4.0-3",
"prop-types": "^15.8.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"regenerator-runtime": "^0.13.9"
},
"devDependencies": {
"ava": "^4.3.1",
"near-cli": "^3.3.1",
"near-workspaces": "^3.1.0",
"nodemon": "^2.0.18",
"parcel-bundler": "^1.12.5",
"react": "^18.2.0",
"sass": "^1.54.0",
"typescript": "^4.7.4"
}
}