forked from olonho/guest-book
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
61 lines (61 loc) · 2.03 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
{
"name": "guest-book",
"version": "1.0.0",
"license": "(MIT AND Apache-2.0)",
"scripts": {
"build": "npm run build:contract && npm run build:web",
"build:contract": "cd contract && npm run build && mkdir -p ../out && cp ./out/main.wasm ../out/main.wasm",
"build:web": "parcel build frontend/index.html --public-url ./",
"deploy": "npm run build:contract && near dev-deploy",
"start": "npm run deploy && echo The app is starting! && env-cmd -f ./neardev/dev-account.env parcel frontend/index.html --open",
"dev": "npm run deploy && nodemon --watch contract -e ts --exec \"npm run start\"",
"test": "npm run test:unit && npm run test:integration",
"test:unit": "npm run build:contract && cd contract && npm run test",
"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": {
"@babel/core": "^7.18.5",
"@babel/preset-env": "^7.18.2",
"@babel/preset-react": "^7.17.12",
"@typescript-eslint/eslint-plugin": "^5.29.0",
"@typescript-eslint/parser": "^5.29.0",
"eslint": "^8.18.0",
"gh-pages": "^4.0.0",
"near-cli": "^3.3.1",
"near-sdk-as": "^3.2.3",
"nodemon": "^2.0.18",
"parcel-bundler": "^1.12.5",
"react-test-renderer": "^18.2.0",
"sass": "^1.53.0",
"ava": "^4.3.0",
"near-workspaces": "^3.1.0",
"typescript": "^4.7.4",
"ts-node": "^10.8.1"
},
"dependencies": {
"big.js": "^6.2.0",
"env-cmd": "^10.1.0",
"near-api-js": "^0.45.1",
"prop-types": "^15.8.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"regenerator-runtime": "^0.13.9"
},
"resolutions": {
"@babel/preset-env": "7.13.8"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
}
}