-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
66 lines (66 loc) · 2.25 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
{
"name": "near-hackathon-jankcity",
"version": "0.1.0",
"scripts": {
"build": "npm run build:contract && npm run build:web",
"build:contract": "mkdir -p out/ && gulp",
"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": "npm run build && npm run deploy:contract && npm run deploy:pages",
"prestart": "npm run build:contract && npm run dev:deploy:contract",
"start": "CONTRACT_NAME=$(cat neardev/dev-account) parcel src/index.html",
"dev": "nodemon --watch assembly -e ts --exec 'npm run start'",
"test": "npm run build:contract && jest test --env=near-shell/test_environment"
},
"devDependencies": {
"@babel/preset-env": "^7.8.4",
"@babel/preset-react": "^7.8.3",
"babel-jest": "^25.1.0",
"babel-polyfill": "^6.26.0",
"gh-pages": "^2.2.0",
"gulp": "^4.0.2",
"jest": "^25.1.0",
"jest-environment-node": "^24.9.0",
"near-bindgen-as": "^1.2.0",
"near-runtime-ts": "^0.5.2",
"near-shell": "^0.20.1",
"nodemon": "^2.0.2",
"parcel-bundler": "^1.12.4",
"react-test-renderer": "^16.12.0"
},
"dependencies": {
"nearlib": "^0.21.0",
"react": "^16.12.0",
"react-dom": "^16.12.0",
"react-loading-overlay": "^1.0.1",
"react-modal": "^3.11.1",
"react-spinners": "^0.8.0",
"regenerator-runtime": "^0.13.3"
},
"eslintConfig": {
"extends": "react-app"
},
"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"
]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
}
}