This repository has been archived by the owner on May 15, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
123 lines (123 loc) · 4.83 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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
{
"name": "app",
"version": "1.0.0",
"private": true,
"dependencies": {
"@emotion/core": "^10.0.27",
"@emotion/styled": "^10.0.27",
"@wearekickback/contracts": "^1.2.9",
"@wearekickback/shared": "^1.13.0",
"apollo-cache-inmemory": "^1.2.8",
"apollo-client": "^2.4.0",
"apollo-link": "^1.2.3",
"apollo-link-http": "^1.5.5",
"apollo-link-state": "^0.4.1",
"apollo-upload-client": "^10.0.0",
"apollo-utilities": "^1.0.21",
"bnc-onboard": "^1.6.0",
"decimal.js": "^10.0.1",
"es6-promisify": "^6.0.0",
"ethereum-event-logs": "^1.0.2",
"ethval": "^1.3.0",
"eventemitter3": "^3.1.0",
"graphql": "^14.0.2",
"graphql-subscriptions": "^1.0.0",
"graphql-tag": "^2.9.2",
"jsonwebtoken": "^8.3.0",
"lodash": "^4.17.10",
"logrocket": "^0.6.19",
"moment": "^2.22.2",
"moment-timezone": "^0.5.23",
"node-fetch": "^2.6.0",
"query-string": "^6.2.0",
"rc-time-picker": "^3.6.2",
"react": "^16.8.1",
"react-apollo": "^2.2.4",
"react-blockies": "^1.4.1",
"react-day-picker": "^7.3.0",
"react-dom": "^16.8.1",
"react-dropdown": "^1.6.4",
"react-dropzone": "^7.0.1",
"react-markdown": "^4.3.1",
"react-qr-reader": "2.2.1",
"react-router": "^5.1.2",
"react-router-dom": "^5.1.2",
"react-router-hash-link": "^1.2.2",
"react-scripts": "2.1.5",
"react-select": "^2.1.0",
"react-timezone": "^2.3.0",
"react-tooltip": "^3.9.0",
"sanitize-html": "^1.20.1",
"truffle": "^5.0.0-beta.0",
"use-interval": "^1.2.1",
"uuid": "^3.3.2",
"web3": "1.0.0-beta.36",
"web3-utils": "^1.0.0-beta.36",
"whatwg-fetch": "^3.0.0"
},
"scripts": {
"setup": "scripts/setup.js",
"seedParty": "node scripts/seedParty.js",
"start": "react-scripts --max_old_space_size=2048 start",
"build": "react-scripts --max_old_space_size=2048 build",
"build:release:kovan": "yarn setup --kovan && yarn build",
"build:release:ropsten": "yarn setup --ropsten && yarn build",
"build:release:rinkeby": "yarn setup --rinkeby && yarn build",
"build:release:alpha": "yarn setup --alpha && yarn build",
"build:release:live": "yarn setup --live && yarn build",
"deploy:ropsten": "yarn build:release:ropsten && yarn now -f --local-config .deploy/now.ropsten.json --public && yarn now alias --local-config .deploy/now.ropsten.json && yarn now rm kickback-app-ropsten --safe --yes",
"deploy:rinkeby": "yarn build:release:rinkeby && yarn now -f --local-config .deploy/now.rinkeby.json --public && yarn now alias --local-config .deploy/now.rinkeby.json && yarn now rm kickback-app-rinkeby --safe --yes",
"deploy:kovan": "yarn build:release:kovan && yarn now -f --local-config .deploy/now.kovan.json --public && yarn now alias --local-config .deploy/now.kovan.json && yarn now rm kickback-app-kovan --safe --yes",
"deploy:alpha": "yarn build:release:alpha && yarn now -f --local-config .deploy/now.alpha.json --public && yarn now alias --local-config .deploy/now.alpha.json && yarn now rm kickback-app-alpha --safe --yes",
"deploy:live": "yarn build:release:live && yarn now -f --local-config .deploy/now.live.json --public && yarn now alias --local-config .deploy/now.live.json && yarn now rm kickback-app-live --safe --yes",
"deploy:dev": "yarn deploy:kovan",
"deploy:branch": "/bin/sh -c 'if [ \"$TRAVIS_BRANCH\" = \"master\" ]; then yarn deploy:live; elif [ \"$TRAVIS_BRANCH\" = \"dev\" ]; then yarn deploy:dev; fi'",
"deploy:pr": "yarn build:release:kovan && scripts/deployTravisBuildToSurge.sh",
"deploy": "/bin/sh -c 'if [ \"$TRAVIS_PULL_REQUEST\" = \"false\" ]; then yarn deploy:branch; else yarn deploy:pr; fi'",
"precommit": "lint-staged",
"pretty": "prettier --write --tab-width 2 --no-semi --single-quote \t \"src/**/*.js\"",
"test": "react-scripts test --env=jsdom",
"cypress:open": "cypress open",
"eject": "react-scripts eject",
"storybook": "start-storybook -p 9009 -s public",
"build-storybook": "build-storybook -s public",
"now": "now --team wearekickback --token $NOW_TOKEN"
},
"devDependencies": {
"@storybook/addon-actions": "^3.4.11",
"@storybook/addon-links": "^3.4.11",
"@storybook/react": "^3.4.11",
"babel-plugin-macros": "^2.4.2",
"cypress": "^3.1.2",
"cypress-testing-library": "^2.3.3",
"ganache-cli": "^6.1.8",
"graphql-request": "^1.8.2",
"husky": "^1.2.0",
"lint-staged": "^8.1.0",
"now": "^13.1.3",
"prettier": "^1.15.2",
"surge": "^0.20.1",
"yargs": "^12.0.2"
},
"lint-staged": {
"*.js": [
"npm run pretty",
"git add"
]
},
"browserslist": {
"development": [
"last 2 chrome versions",
"last 2 firefox versions",
"last 2 edge versions"
],
"production": [
">0.25%",
"not op_mini all",
"ie 11"
]
},
"engines": {
"node": "10.x"
}
}