-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
75 lines (75 loc) · 2.33 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
{
"name": "near-sputnik-dao",
"version": "0.1.0",
"license": "UNLICENSED",
"scripts": {
"build": "npm run build:web",
"build:no-contract": "npm run build:web",
"build:contract": "node contract/compile.js",
"build:contract:debug": "node contract/compile.js --debug",
"build:web": "parcel build src/index.html --public-url ./",
"dev:deploy:contract": "near dev-deploy",
"deploy:contract": "near deploy",
"deploy:pages": "gh-pages -d dist/",
"deploy:no-contract": "npm run build:no-contract && npm run deploy:pages",
"deploy": "npm run build && npm run deploy:pages",
"prestart": "npm run build",
"start": "parcel src/index.html --open",
"start:web": "parcel src/index.html --open",
"dev": "nodemon --watch contract/src -e rs --exec \"npm run start\"",
"test": "npm run build:contract:debug && cd contract && cargo test -- --nocapture && cd .. && jest test --runInBand"
},
"devDependencies": {
"@babel/core": "~7.12.3",
"@babel/preset-env": "^7.12.11",
"@babel/preset-react": "~7.12.5",
"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.5.2",
"nodemon": "~2.0.3",
"parcel-bundler": "~1.12.4",
"react-test-renderer": "~17.0.1",
"shelljs": "~0.8.4"
},
"dependencies": {
"decimal.js": "^10.2.1",
"mdbreact": "5.0.0",
"near-api-js": "^0.36.2",
"node-fetch": "^2.6.1",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-router": "^5.2.0",
"react-router-dom": "^5.2.0",
"react-transition-group": "^4.4.1",
"regenerator-runtime": "^0.13.7"
},
"jest": {
"moduleNameMapper": {
"\\.(jpg|ico|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/src/__mocks__/fileMock.js",
"\\.(css|less)$": "<rootDir>/src/__mocks__/fileMock.js"
},
"setupFiles": [
"<rootDir>/src/jest.init.js"
],
"testEnvironment": "near-cli/test_environment",
"testPathIgnorePatterns": [
"<rootDir>/contract/",
"<rootDir>/node_modules/"
]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
}
}