-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
86 lines (86 loc) · 2.56 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
{
"name": "request-network",
"version": "0.1.0",
"license": "UNLICENSED",
"scripts": {
"build": "yarn build:contract && yarn build:web",
"build:contract": "(cd contract && ./build.sh)",
"build:web": "rm -rf dist && parcel build src/index.html --public-url ./",
"dev:deploy:contract": "near dev-deploy",
"deploy:contract": "near deploy",
"start:server": "(cd server && yarn start)",
"prestart": "yarn build:contract && yarn dev:deploy:contract",
"start": "echo The app is starting! It will automatically open in your browser when ready && env-cmd -f ./neardev/dev-account.env parcel src/index.html --open",
"start:no-contract": "env-cmd -f ./neardev/dev-account.env parcel src/index.html",
"dev": "nodemon --watch contract/src -e rs --exec \"yarn start\"",
"deploy:pages": "gh-pages -d dist/",
"deploy": "yarn build && yarn deploy:contract && yarn deploy:pages",
"test": "yarn build:contract && cd contract && cargo test -- --nocapture && cd .. && jest test --runInBand"
},
"devDependencies": {
"@babel/core": "~7.14.0",
"@babel/preset-env": "~7.14.0",
"@babel/preset-react": "~7.13.13",
"babel-jest": "~26.6.2",
"env-cmd": "~10.1.0",
"gh-pages": "~3.1.0",
"jest": "~26.6.2",
"jest-environment-node": "~26.6.2",
"near-cli": "~1.6.0",
"nodemon": "^2.0.7",
"parcel-bundler": "~1.12.4",
"react-test-renderer": "~17.0.1",
"sass": "^1.35.2",
"shelljs": "~0.8.4"
},
"dependencies": {
"big.js": "^6.1.1",
"crypto-js": "^4.0.0",
"ethers": "5.1.4",
"near-api-js": "~0.41.0",
"react": "~17.0.1",
"react-dom": "~17.0.1",
"regenerator-runtime": "~0.13.5",
"autobahn-browser": "^20.9.2"
},
"resolutions": {
"@babel/preset-env": "7.13.8"
},
"jest": {
"projects": [
{
"displayName": "Contract tests",
"setupFiles": [
"<rootDir>/src/tests/jest.init.js"
],
"testEnvironment": "near-cli/test_environment",
"testMatch": [
"<rootDir>/src/tests/main.test.js"
]
},
{
"displayName": "User interface tests",
"setupFiles": [
"<rootDir>/src/tests/jest.init.js"
],
"testEnvironment": "jsdom",
"testMatch": [
"<rootDir>/src/tests/ui.test.js"
]
}
],
"testTimeout" : 30000
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
}
}