-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
165 lines (165 loc) · 7.07 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
{
"name": "marvin",
"version": "0.1.0",
"description": "Uniweb.it on the ethereum blockchain",
"keywords": [
"react",
"redux",
"web3",
"truffle",
"solidity"
],
"main": "index.js",
"homepage": "https://github.com/353swe",
"repository": {
"type": "git",
"url": "https://github.com/353swe"
},
"config": {
"rpc": "--account=0xcafecafecafecafecafecafecafecafecafecafecafecafecafecafecafecafe,1000000000000000000000 --account=0x0000000000000000000000000000000000000000000000000000000000000001,1000000000000000000 --account=0x0000000000000000000000000000000000000000000000000000000000000002,1000000000000000000 --account=0x0000000000000000000000000000000000000000000000000000000000000003,1000000000000000000 --account=0x0000000000000000000000000000000000000000000000000000000000000004,1000000000000000000 --account=0x0000000000000000000000000000000000000000000000000000000000000005,1000000000000000000 --account=0x0000000000000000000000000000000000000000000000000000000000000006,1000000000000000000 --account=0x0000000000000000000000000000000000000000000000000000000000000007,1000000000000000000 --account=0x0000000000000000000000000000000000000000000000000000000000000008,1000000000000000000 --account=0x0000000000000000000000000000000000000000000000000000000000000009,1000000000000000000 --account=0x0000000000000000000000000000000000000000000000000000000000000010,1000000000000000000 --account=0x0000000000000000000000000000000000000000000000000000000000000011,1000000000000000000 --account=0x0000000000000000000000000000000000000000000000000000000000000012,1000000000000000000 --account=0x0000000000000000000000000000000000000000000000000000000000000013,1000000000000000000 --account=0x0000000000000000000000000000000000000000000000000000000000000014,1000000000000000000"
},
"scripts": {
"frontendC": "echo Frontend",
"start": "start http://localhost:8080 & webpack-dev-server --inline --hot --watch --history-api-fallback --host localhost --port 8080 --devtool source-map",
"build-dev": "webpack --config webpack.dev.config.js",
"build-prod": "webpack -p --config webpack.prod.config.js",
"test": "mocha testnpm --recursive --compilers js:babel-register --require babel-polyfill --require ignore-styles --timeout 10000",
"test-watch": "npm test -- --watch",
"custom-test": "mocha --compilers js:babel-register --require babel-polyfill --require ignore-styles",
"solidityC": "echo Solidity",
"soltest": "./node_modules/.bin/truffle test --compile-all --show-events",
"compile": "./node_modules/.bin/truffle compile --all",
"migrate": "./node_modules/.bin/truffle migrate --network develop",
"migrateropsten": "./node_modules/.bin/truffle migrate --network ropsten",
"migratetest": "./node_modules/.bin/truffle test --compile-all --network develop",
"testrpc-win": "./node_modules/.bin/testrpc-sc.cmd %npm_package_config_rpc%",
"testrpc": "./node_modules/.bin/testrpc-sc $npm_package_config_rpc > /dev/null &",
"coverageC": "echo Coverage",
"solidity-coverage": "./node_modules/.bin/solidity-coverage",
"js-coverage": "nyc mocha testnpm --recursive --compilers js:babel-register --require babel-polyfill --require ignore-styles",
"rpcov": "./node_modules/.bin/testrpc-sc -l 0xfffffffffff > /dev/null &",
"make-coverage": "python scripts/js-coverage.py && python scripts/solidity-coverage.py",
"merge-coverage": "cp js-coverage/lcov.info report.lcov && echo \"$(cat coverage/lcov.info)\" >> report.lcov",
"push-coverage": "cat report.lcov | ./node_modules/.bin/coveralls",
"clean-coverage": "rm -r report.lcov coverage.json coverage/ js-coverage/",
"travisC": "echo Build and Linting",
"eslint": "./node_modules/.bin/eslint src testnpm test",
"eslint-fix": "./node_modules/.bin/eslint src testnpm test --fix",
"solhint": "./node_modules/.bin/solhint contracts/**/*.sol",
"check-build": "yarn run eslint && yarn run solhint && yarn run test && yarn run soltest",
"scaffold": "./node_modules/.bin/babel-node scripts/scaffold/generate.js",
"dscaffold": "./node_modules/.bin/babel-node scripts/scaffold/delete.js"
},
"nyc": {
"include": [
"src/**/*.js",
"src/web3calls/UniversityContractSupplier.js"
],
"exclude": [
"src/index.js",
"src/initWeb3.js",
"src/reducers.js",
"src/sagas.js",
"src/store.js",
"src/web3calls/**/*.js",
"src/util/web3/**/*.js"
],
"report-dir": "./js-coverage",
"all": true
},
"babel": {
"presets": [
"es2015",
"react",
"stage-3"
],
"plugins": [
[
"transform-runtime",
{
"helpers": true,
"polyfill": true,
"regenerator": true,
"moduleName": "babel-runtime"
}
]
]
},
"author": "353",
"license": "MIT",
"dependencies": {
"babel-eslint": "^8.2.2",
"babel-polyfill": "^6.20.0",
"bignumber.js": "^6.0.0",
"extensible-duck": "^1.4.0",
"extract-text-webpack-plugin": "^1.0.1",
"json-loader": "^0.5.7",
"prop-types": "^15.6.0",
"react": "^16.0.0",
"react-bootstrap": "^0.32.1",
"react-dom": "^16.0.0",
"react-redux": "^5.0.7",
"react-router": "^3.0.1",
"react-router-bootstrap": "^0.23.1",
"react-router-dom": "^4.2.2",
"react-router-redux": "^4.0.7",
"redux": "^3.6.0",
"redux-auth-wrapper": "^2.0.2",
"redux-form": "^7.3.0",
"redux-freeze": "^0.1.5",
"redux-persist": "^5.9.1",
"redux-saga": "^0.15.0",
"truffle-contract": "latest",
"truffle-hdwallet-provider": "0.0.3",
"web3": "^0.20.2"
},
"devDependencies": {
"babel-cli": "^6.26.0",
"babel-core": "^6.21.0",
"babel-loader": "^6.2.10",
"babel-plugin-transform-runtime": "^6.23.0",
"babel-preset-es2015": "^6.18.0",
"babel-preset-react": "^6.16.0",
"babel-preset-stage-3": "^6.17.0",
"babel-runtime": "^6.26.0",
"chai": "^4.1.2",
"chai-enzyme": "^1.0.0-beta",
"clean-webpack-plugin": "^0.1.15",
"copy-webpack-plugin": "^4.4.1",
"coveralls": "^3.0.0",
"css-loader": "^0.26.1",
"enzyme": "^3.3.0",
"enzyme-adapter-react-16": "^1.0.5",
"eslint": "^4.18.1",
"eslint-config-airbnb": "^16.1.0",
"eslint-config-airbnb-base": "^12.1.0",
"eslint-plugin-import": "^2.8.0",
"eslint-plugin-jsx-a11y": "^6.0.3",
"eslint-plugin-react": "^7.7.0",
"eth-gas-reporter": "^0.1.1",
"ignore-styles": "^5.0.1",
"jsdom": "11.6.2",
"jsdom-global": "3.0.2",
"mocha": "^3.2.0",
"node-sass": "^4.3.0",
"npm-run-all": "^4.1.2",
"nyc": "^11.5.0",
"react-addons-test-utils": "^15.0.0",
"react-hot-loader": "^3.0.0",
"react-test-renderer": "^16.0.0",
"redux-mock-store": "^1.5.1",
"redux-saga-test-plan": "^3.6.0",
"redux-test-utils": "^0.2.2",
"sass-loader": "^4.1.1",
"solhint": "^1.1.10",
"solidity-coverage": "^0.4.12",
"style-loader": "^0.13.1",
"surge": "^0.19.0",
"truffle": "4.1.5",
"web3-fake-provider": "^0.1.0",
"webpack": "^1.15.0",
"webpack-dashboard": "^1.1.1",
"webpack-dev-server": "^1.16.2",
"whatwg-fetch": "^2.0.1"
}
}