-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
175 lines (175 loc) · 6.81 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
{
"name": "spectrum-lightsuite",
"version": "0.0.1",
"description": "Full Gamut Ethereum Lightsuite",
"author": "Chris Hitchcott <[email protected]> (http://hitchcott.com)",
"license": "BSD-3-Clause",
"repository": {
"type": "git",
"url": "git+https://github.com/spectrum/spectrum.git"
},
"scripts": {
"test": "npm run build; npm run test:jest; npm run serve:pm2; npm run test:cucumber; npm run serve:stop-pm2;",
"test:ci": "npm run test:jest:coverage; npm run test:cucumber:ci",
"test:jest": "jest",
"test:jest:update": "jest --updateSnapshot",
"test:jest:coverage": "jest --coverage && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js",
"test:watch": "jest --watchAll",
"test:cucumber": "./node_modules/.bin/wdio wdio.development.config.js",
"test:cucumber:ci": "echo 'Skipping Seleneium Tests'; # TODO: ./node_modules/.bin/wdio wdio.ci.config.js",
"start": "webpack-dev-server --progress --https",
"start:kovan": "DEV_ENVIRONMENT=kovan webpack-dev-server --progress --https",
"start:production": "DEV_ENVIRONMENT=production ENVIRONMENT=production webpack-dev-server --progress --https",
"build:stats": "rm -rf ./dist/production; STATS=true ENVIRONMENT=production webpack --progress --profile; npm run stats;",
"stats": "webpack-bundle-analyzer ./dist/stats.json ./dist/production;",
"build:demo": "rm -rf ./dist/demo; ENVIRONMENT=demo webpack --progress",
"build:vagrant": "rm -rf ./dist/vagrant; ENVIRONMENT=vagrant webpack --progress",
"build:kovan": "rm -rf ./dist/kovan; ENVIRONMENT=kovan webpack --progress",
"build:rinkeby": "rm -rf ./dist/rinkeby; ENVIRONMENT=rinkeby webpack --progress",
"build": "rm -rf ./dist/production; ENVIRONMENT=production webpack --progress",
"build:ci": "rm -rf ./dist/production; ENVIRONMENT=production webpack",
"serve": "./node_modules/.bin/http-server ./dist/production",
"serve:pm2": "./node_modules/.bin/pm2 start ./node_modules/.bin/http-server --name spectrum-test-server -- ./dist/production",
"serve:stop-pm2": "./node_modules/.bin/pm2 stop spectrum-test-server",
"deploy:github": "rm -rf ../spectrum.github.io/* && cp ./dist/production/* ../spectrum.github.io && cd ../spectrum.github.io && git commit -a -m 'redeploy spectrum' && git push origin master && cd ../spectrum",
"lint": "eslint './src/**/*.{js,jsx}'"
},
"jest": {
"transformIgnorePatterns": [
"/node_modules/(?!(web3-redux|@digix/redux-crypto-prices)).+\\.js$"
],
"moduleNameMapper": {
"\\.(css|less)$": "<rootDir>/test/__mocks__/styleMock.js",
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/test/__mocks__/fileMock.js",
"^@digix/spectrum/src/(.*)": "<rootDir>/src/$1"
},
"collectCoverageFrom": [
"src/**/*.{js,jsx}"
]
},
"files": [
"src",
".eslint",
".babelrc",
".gitignore"
],
"dependencies": {
"@digix/governance-ui-components": "file:../governance-ui-components",
"@digix/mui": "^1.0.0",
"@digix/react-ledger-container": "0.1.8",
"@digix/react-trezor-container": "^1.1.9",
"@digix/redux-crypto-prices": "0.0.1",
"@digix/sui-react-ezmodal": "0.0.4",
"@fortawesome/fontawesome-free": "^5.1.0",
"@material-ui/core": "1.3.0",
"@material-ui/icons": "1.1.0",
"awaiting": "^3.0.0",
"babel-polyfill": "^6.23.0",
"bignumber.js": "^4.0.4",
"blockies": "0.0.2",
"classnames": "^2.2.6",
"color": "^3.0.0",
"dotenv": "^8.0.0",
"es6-deferred": "^1.3.0",
"ethereumjs-tx": "^1.3.1",
"ethereumjs-util": "^5.1.2",
"ethereumjs-wallet": "^0.6.0",
"ipfs-api": "^14.3.5",
"jimp": "0.2.27",
"lodash": "^4.17.5",
"multi-hash": "^0.1.1",
"offline-plugin": "^4.8.4",
"promise-map-series": "^0.2.3",
"prop-types": "^15.6.0",
"qrcode.react": "^0.7.1",
"react": "^16.3.0",
"react-dom": "^16.3.0",
"react-dropzone": "^4.1.3",
"react-helmet": "^5.2.0",
"react-hot-loader": "^3.0.0-beta.6",
"react-markdown": "^4.0.6",
"react-qr-reader": "^1.1.3",
"react-redux": "^5.0.5",
"react-router": "^4.1.1",
"react-router-dom": "^4.1.1",
"react-semantic-ui-range": "^0.4.0",
"redux": "^3.7.1",
"redux-orm": "^0.9.3",
"redux-persist": "^4.10.0",
"redux-persist-transform-filter": "0.0.15",
"redux-thunk": "^2.2.0",
"reselect": "^3.0.1",
"sanitize-filename": "^1.6.1",
"semantic-ui-less": "2.2.11",
"semantic-ui-react": "^0.76.0",
"styled-components": "^3.4.10",
"underscore": "^1.8.3",
"uuid": "^3.1.0",
"web3": "0.20.1",
"web3-provider-engine": "^13.2.12",
"web3-redux": "^0.5.2",
"webfontloader": "^1.6.28",
"xhr": "^2.4.0"
},
"devDependencies": {
"@babel/runtime": "7.0.0-beta.55",
"babel-core": "6.25.0",
"babel-eslint": "8.0.0",
"babel-jest": "21.0.2",
"babel-loader": "7.1.1",
"babel-plugin-add-module-exports": "0.2.1",
"babel-plugin-transform-class-properties": "6.24.1",
"babel-plugin-transform-es2015-modules-commonjs": "6.24.1",
"babel-plugin-transform-object-rest-spread": "6.23.0",
"babel-preset-env": "1.5.2",
"babel-preset-es2015": "6.24.1",
"babel-preset-react": "6.24.1",
"babel-preset-react-optimize": "1.0.1",
"babel-preset-stage-0": "6.24.1",
"babel-preset-stage-2": "6.24.1",
"babel-root-import": "4.1.8",
"cache-loader": "^1.0.3",
"chai": "^4.1.2",
"copy-webpack-plugin": "^4.0.1",
"coveralls": "^2.13.1",
"css-loader": "^0.28.7",
"enzyme": "^2.9.1",
"enzyme-to-json": "^2.0.1",
"eslint": "3.19.0",
"eslint-config-airbnb": "^15.0.1",
"eslint-loader": "^1.8.0",
"eslint-plugin-import": "^2.7.0",
"eslint-plugin-jest": "^20.0.3",
"eslint-plugin-jsx-a11y": "^5.0.1",
"eslint-plugin-react": "^7.1.0",
"extract-text-webpack-plugin": "3.0.0",
"faker": "^4.1.0",
"file-loader": "^0.11.2",
"html-loader": "^0.5.1",
"html-webpack-plugin": "^2.28.0",
"http-server": "^0.10.0",
"jest": "^21.1.0",
"json-loader": "^0.5.4",
"less": "^2.7.2",
"less-loader": "^4.0.4",
"name-all-modules-plugin": "^1.0.1",
"optimize-css-assets-webpack-plugin": "^3.2.0",
"react-markdown-loader": "^1.1.11",
"react-test-renderer": "^15.6.2",
"stats-webpack-plugin": "^0.6.1",
"style-loader": "^0.18.2",
"uglify-js": "git://github.com/mishoo/UglifyJS2.git#harmony-v2.8.22",
"uglifyjs-webpack-plugin": "^1.2.7",
"underscore-template-loader": "^0.8.0",
"url-loader": "^0.5.9",
"wdio-cucumber-framework": "^1.1.1",
"wdio-sauce-service": "^0.4.0",
"wdio-selenium-standalone-service": "0.0.9",
"wdio-spec-reporter": "^0.1.0",
"webdriverio": "^4.8.0",
"webpack": "^3.6.0",
"webpack-bundle-analyzer": "^2.8.2",
"webpack-dev-server": "^2.8.2",
"webpack-pwa-manifest": "^3.3.2"
}
}