-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
92 lines (92 loc) · 2.87 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
87
88
89
90
91
92
{
"name": "nearideas",
"version": "0.0.1",
"license": "MIT",
"scripts": {
"build": "npm run build:contract && npm run build:css && npm run build:web",
"build:contract": "cd contract && node ./build.js",
"build:css": "postcss src/css/tailwind.css -o src/css/index.css",
"build:web": "parcel build src/index.html --public-url ./",
"dev:deploy:contract": "near dev-deploy --wasmFile ./contract/res/ideabank.wasm",
"deploy:contract": "near deploy",
"deploy:pages": "gh-pages -d dist/",
"deploy": "npm run build && npm run deploy:pages",
"prestart": "npm run build:contract && npm run dev:deploy:contract && npm run build:css",
"start": "env-cmd -f ./neardev/dev-account.env parcel src/index.html",
"dev": "nodemon --watch assembly -e ts --exec \"npm run start\"",
"test": "(cd contract && cargo test -- --nocapture && cd ..) && npm run build:contract"
},
"devDependencies": {
"@babel/plugin-transform-runtime": "^7.11.0",
"@babel/preset-env": "^7.11.0",
"@babel/preset-react": "^7.10.4",
"env-cmd": "^10.1.0",
"gh-pages": "^3.0.0",
"near-shell": "^0.24.9",
"nodemon": "^2.0.3",
"parcel-bundler": "^1.12.4",
"shelljs": "^0.8.4"
},
"dependencies": {
"@babel/core": "^7.11.1",
"@babel/runtime": "^7.11.2",
"autoprefix": "^1.0.1",
"near-api-js": "^0.27.0",
"postcss-cli": "^7.1.1",
"react": ">=15",
"react-bootstrap": "^1.3.0",
"react-dom": "^16.11.0",
"react-router-dom": "^5.2.0",
"react-scripts": "3.4.0",
"regenerator-runtime": "^0.13.7",
"tailwindcss": "^1.7.3"
},
"babel": {
"presets": [
"@babel/preset-env",
"@babel/preset-react"
],
"plugins": [
[
"@babel/plugin-transform-runtime",
{
"absoluteRuntime": false,
"corejs": false,
"helpers": true,
"regenerator": true,
"useESModules": false,
"version": "7.0.0-beta.0"
}
]
]
},
"babelrc": {
"presets": [
[
"env",
{
"targets": {
"browsers": [
"last 2 Chrome versions"
]
}
}
]
]
},
"eslintConfig": {
"extends": "react-app"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
}
}