This repository has been archived by the owner on Feb 18, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 21
/
Copy pathpackage.json
193 lines (193 loc) · 9.24 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
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
{
"name": "@gnosis.pm/dx-react",
"version": "2.7.1",
"description": "slow.trade - ERC20 Trading Platform",
"main": "src/index.tsx",
"scripts": {
"build:all:prod": "cross-env NODE_ENV=production webpack --config webpack.prod.config.js --progress && cross-env CLAIM_ONLY=true NODE_ENV=production webpack --config webpack.prod.config.js --progress",
"build:all:dev": "cross-env NODE_ENV=development webpack --config webpack.dev.config.js --progress && cross-env CLAIM_ONLY=true NODE_ENV=development webpack --config webpack.dev.config.js --progress",
"build:all": "npm run clean && npm run build:all:dev && npm run build:all:prod",
"build:dev": "npm run clean && cross-env NODE_ENV=development webpack --config webpack.dev.config.js --progress",
"build:prod": "npm run clean && cross-env NODE_ENV=production webpack --config webpack.prod.config.js --progress",
"build:prod:claimOnly": "npm run clean && cross-env CLAIM_ONLY=true NODE_ENV=production webpack --config webpack.prod.config.js --progress",
"build": "if test \"$NODE_ENV\" = \"production\"; then npm run build:prod; else npm run build:dev; fi;",
"clean": "rimraf dist",
"start:dev:claimOnly": "cross-env CLAIM_ONLY=true npm start",
"start:localProd:claimOnly": "FE_CONDITIONAL_ENV='production' CLAIM_ONLY=true npm start",
"start:localProd": "FE_CONDITIONAL_ENV='production' npm start",
"start:dev": "cross-env NODE_ENV=development webpack-dev-server --config webpack.dev.config.js --progress",
"start:prod": "cross-env NODE_ENV=production webpack-dev-server --config webpack.prod.config.js --progress",
"start": "npm run start:dev",
"lint:js": "eslint ./src --cache",
"lint:js:fix": "npm run lint:js -- --fix",
"lint:css": "stylelint 'src/**/*.@(?(s)css|less)' --cache",
"lint:css:fix": "npm run lint:css -- --fix",
"lint:ts": "tslint './@(src|stories|.storybook)/**/*.ts?(x)' --project tsconfig.json",
"lint:ts:fix": "npm run lint:ts -- --fix",
"lint": "npm run lint:js; npm run lint:ts; npm run lint:css",
"lint:fix": "npm run lint:js:fix; npm run lint:ts:fix; npm run lint:css:fix",
"migrate_old": "cd ./node_modules/@gnosis.pm/dx-contracts && truffle migrate --reset && cd ../../../",
"migrate": "truffle migrate --reset",
"addTokenPair:gno": "truffle exec test/trufflescripts/add_token_pair.js --pair eth,gno",
"addTokenPair:omg": "truffle exec test/trufflescripts/add_token_pair.js --pair eth,omg",
"addTokenPair:rdn": "truffle exec test/trufflescripts/add_token_pair.js --pair eth,rdn",
"addTokenPairs": "truffle exec test/trufflescripts/add_token_pair.js --pair eth,gno && truffle exec test/trufflescripts/add_token_pair.js --pair eth,rdn && truffle exec test/trufflescripts/add_token_pair.js --pair eth,omg",
"rpc": "npx ganache-cli --account=0x4f3edf983ac636a65a842ce7c78d9aa706d3b113bce9c46f30d7d21715b23b1d,50000000000000000000000 --account=0x6cbed15c793ce57650b9877cf6fa156fbef513c4e6134f022a85b1ffdd59b2a1,50000000000000000000000 --account=0x6370fd033278c143179d81c5526140625662b8daa446c22ee2d73db3707e620c,50000000000000000000000 --account=0x646f1ce2fdad0e6deeeb5c7e8e5543bdde65e86029e2fd9fc169899c440a7913,50000000000000000000000 --account=0xadd53f9a7e588d003326d1cbf9e4a43c061aadd9bc938c843a79e7b4fd2ad743,50000000000000000000000 --account=0x395df67f0c2d2d9fe1ad08d1bc8b6627011959b79c53d7dd6a3536a33ab8a4fd,50000000000000000000000 --account=0xe485d098507f54e7733a205420dfddbe58db035fa577fc294ebd14db90767a52,50000000000000000000000",
"setup-rpc": "npm run migrate && npm run addTokenPairs",
"test": "run-with-testrpc 'npm run migrate && npm run build'",
"test:karma": "truffle migration --reset && karma start --grep standalone && truffle migration --reset && karma start --grep DutchX",
"test:karma:manual": "karma start --no-browsers --grep DutchX",
"stats": "npm run clean && cross-env NODE_ENV=production webpack --config webpack.prod.config.js --profile --json > stats.json",
"precommit": "lint-staged",
"storybook": "start-storybook -s ./ -p 6006",
"build-storybook": "build-storybook",
"add2ipfs": "node ./test/scripts/add2ipfs.js",
"simulateAuction": "truffle exec test/trufflescripts/add_token_pair.js --pair eth,gno && truffle exec test/trufflescripts/deposit.js --master --gno 20000 && truffle exec test/trufflescripts/increase_time.js -h 8 && truffle exec test/trufflescripts/buy_order.js --master -n 100e18 && truffle exec test/trufflescripts/increase_time.js -h 1",
"simulateTheoreticallyClosedAuction": "truffle exec test/trufflescripts/add_token_pair.js --pair eth,gno && truffle exec test/trufflescripts/deposit.js --master --gno 20000e18 && truffle exec test/trufflescripts/increase_time.js -h 50 && truffle exec test/trufflescripts/increase_time.js -h 1",
"simulateTheoreticallyClosedAuctionWithBuyVolume": "truffle exec test/trufflescripts/add_token_pair.js --pair eth,gno && truffle exec test/trufflescripts/deposit.js --master --gno 20000e18 && truffle exec test/trufflescripts/increase_time.js -h 8 && truffle exec test/trufflescripts/buy_order.js --master -n 1e17 && truffle exec test/trufflescripts/increase_time.js -h 50"
},
"lint-staged": {
"@(src|test)/**/*.js?(x)": [
"eslint --cache --fix",
"git add"
],
"src/**/*.ts?(x)": [
"tslint --project tsconfig.json --fix --force",
"git add"
],
"src/**/*.@(?(s)css|less)": [
"stylelint --cache --fix",
"git add"
]
},
"repository": {
"type": "git",
"url": "https://github.com/gnosis/dx-react.git"
},
"author": "slow.trade",
"license": "MIT",
"jest": {
"transform": {
"^.+\\.tsx?$": "<rootDir>/node_modules/ts-jest/preprocessor.js"
},
"testRegex": "./src/test/.*.(ts|tsx|js|jsx)$",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json"
],
"modulePaths": [
"<rootDir>/src/"
]
},
"dependencies": {
"@gnosis.pm/dx-contracts": "2.0.0",
"@gnosis.pm/gno-token": "2.0.0",
"@gnosis.pm/util-contracts": "2.0.0",
"bignumber.js": "5.0.0",
"connected-react-router": "4.4.1",
"cross-env": "5.1.6",
"ethjs-abi": "0.2.1",
"extract-text-webpack-plugin": "3.0.2",
"history": "4.7.2",
"html-webpack-plugin": "3.2.0",
"localforage": "1.7.2",
"lodash": "4.17.10",
"name-all-modules-plugin": "1.0.1",
"react": "16.4.2",
"react-dom": "16.4.2",
"react-ga": "2.5.6",
"react-hot-loader": "4.3.6",
"react-redux": "5.0.7",
"react-router-dom": "4.3.1",
"redux": "4.0.0",
"redux-actions": "2.6.1",
"redux-batched-actions": "0.4.0",
"redux-thunk": "2.3.0",
"reselect": "3.0.1",
"run-with-testrpc": "0.3.0",
"truffle-contract": "3.0.6",
"uglifyjs-webpack-plugin": "1.3.0",
"web3": "0.20.7",
"webpack": "3.12.0"
},
"devDependencies": {
"@babel/cli": "7.2.0",
"@babel/core": "7.2.0",
"@babel/plugin-proposal-class-properties": "7.2.1",
"@babel/plugin-proposal-object-rest-spread": "7.2.0",
"@babel/plugin-transform-runtime": "7.2.0",
"@babel/preset-env": "7.2.0",
"@babel/preset-react": "7.0.0",
"@babel/runtime": "7.2.0",
"@storybook/addon-actions": "3.4.11",
"@storybook/addon-knobs": "3.4.11",
"@storybook/addon-links": "3.4.11",
"@storybook/react": "3.4.11",
"@types/bignumber.js": "4.0.3",
"@types/expect": "1.20.2",
"@types/history": "4.7.2",
"@types/jest": "23.3.10",
"@types/lodash": "4.14.119",
"@types/react": "16.7.13",
"@types/react-dom": "16.0.11",
"@types/react-hot-loader": "4.1.0",
"@types/react-redux": "6.0.7",
"@types/react-router-dom": "4.3.1",
"@types/redux-actions": "2.3.1",
"@types/storybook__addon-actions": "3.4.1",
"@types/storybook__addon-knobs": "3.4.1",
"@types/storybook__react": "3.0.9",
"@types/webpack-env": "1.13.1",
"autoprefixer": "9.4.2",
"awesome-typescript-loader": "4.0.1",
"babel-eslint": "9.0.0",
"babel-loader": "8.0.4",
"babel-plugin-transform-remove-console": "6.9.0",
"copy-webpack-plugin": "4.6.0",
"css-loader": "1.0.1",
"eslint": "5.9.0",
"eslint-config-airbnb": "17.1.0",
"eslint-import-resolver-webpack": "0.10.1",
"eslint-plugin-import": "2.14.0",
"eslint-plugin-jest": "21.27.2",
"eslint-plugin-jsx-a11y": "6.1.2",
"eslint-plugin-react": "7.11.1",
"expect": "23.6.0",
"favicons-webpack-plugin": "0.0.9",
"file-loader": "^2.0.0",
"husky": "^0.14.3",
"ipfs-api": "^24.0.2",
"jest": "^23.6.0",
"json-x-loader": "^0.3.0",
"karma": "^1.7.1",
"karma-chrome-launcher": "^2.2.0",
"karma-cli": "^1.0.1",
"karma-mocha": "^1.3.0",
"karma-mocha-reporter": "^2.2.5",
"karma-webpack": "^2.0.5",
"lint-staged": "^7.3.0",
"minimist": "^1.2.0",
"mocha": "^5.2.0",
"node-sass": "^4.11.0",
"postcss-loader": "^3.0.0",
"rimraf": "^2.6.2",
"sass-loader": "^7.1.0",
"storybook-addon-jsx": "^5.4.0",
"storybook-host": "^5.0.3",
"storybook-router": "^0.3.2",
"style-loader": "^0.23.1",
"stylelint": "9.9.0",
"stylelint-config-standard": "^18.2.0",
"truffle": "^5.0.2",
"truffle-hdwallet-provider": "0.0.6",
"ts-jest": "23.10.5",
"tslib": "1.8.0",
"tslint": "5.11.0",
"tslint-config-airbnb": "5.11.1",
"typescript": "2.9.2",
"webpack-dev-server": "2.9.1"
}
}