-
Notifications
You must be signed in to change notification settings - Fork 98
/
Copy pathpackage.json
197 lines (197 loc) · 6.57 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
194
195
196
197
{
"name": "Cosmos",
"productName": "Cosmos",
"version": "0.3.0",
"description": "The electron wrapper for Cosmos UI.",
"author": "All In Bits, Inc <[email protected]>",
"license": "Apache-2.0",
"homepage": "https://cosmos.network",
"repository": {
"type": "git",
"url": "git+https://github.com/cosmos/cosmos-ui.git"
},
"engines": {
"node": ">=8.0.0"
},
"scripts": {
"build": "node tasks/release.js",
"build:clean": "cross-env PLATFORM_TARGET=clean node tasks/release.js",
"build:darwin": "cross-env PLATFORM_TARGET=darwin node tasks/release.js",
"build:linux": "cross-env PLATFORM_TARGET=linux node tasks/release.js",
"build:mas": "cross-env PLATFORM_TARGET=mas node tasks/release.js",
"build:win32": "cross-env PLATFORM_TARGET=win32 node tasks/release.js",
"release:darwin": "electron-installer-dmg --overwrite builds/Cosmos-darwin-x64/Cosmos.app builds/cosmos",
"release:linux": "electron-installer-debian --src builds/Cosmos-linux-x64/ --dest builds/cosmos --arch amd64",
"release:win32": "node tasks/windows-installer.js",
"uionly": "cross-env COSMOS_UI_ONLY='true' yarn run testnet",
"local": "npm run testnet local",
"testnet": "node tasks/testnet.js",
"lint": "eslint --ext .js,.vue -f ./node_modules/eslint-friendly-formatter app test",
"lint:fix": "eslint --ext .js,.vue -f ./node_modules/eslint-friendly-formatter --fix app test",
"pack": "npm run pack:main && npm run pack:renderer",
"pack:main": "cross-env NODE_ENV=production webpack --colors --config webpack.main.config.js",
"pack:renderer": "cross-env NODE_ENV=production webpack --colors --config webpack.renderer.config.js",
"test": "npm run test:unit",
"test:unit": "cross-env LOGGING=false MOCK=false jest --maxWorkers=2",
"test:e2e": "tape \"test/e2e/!(main)*.js\"",
"vue:route": "node tasks/vue/route.js",
"vuex:module": "node tasks/vuex/module.js"
},
"devDependencies": {
"babel-core": "^6.8.0",
"babel-eslint": "^7.0.0",
"babel-jest": "^21.2.0",
"babel-loader": "^7.1.2",
"babel-plugin-istanbul": "^3.1.2",
"babel-plugin-transform-runtime": "^6.8.0",
"babel-preset-es2015": "^6.6.0",
"babel-preset-stage-0": "^6.5.0",
"babel-register": "^6.18.0",
"babel-runtime": "^6.6.1",
"cross-env": "^3.1.4",
"css-loader": "^0.28.7",
"del": "^2.2.1",
"devtron": "^1.1.0",
"electron-debug": "^1.4.0",
"electron-devtools-installer": "^2.1.0",
"electron-packager": "^10.1.0",
"eslint": "^3.13.1",
"eslint-config-standard": "^6.2.1",
"eslint-friendly-formatter": "^2.0.5",
"eslint-loader": "^1.3.0",
"eslint-plugin-html": "^2.0.0",
"eslint-plugin-promise": "^3.4.0",
"eslint-plugin-standard": "^2.0.1",
"extract-text-webpack-plugin": "^3.0.2",
"file-loader": "^0.9.0",
"html-beautify": "^1.0.4",
"html-webpack-plugin": "^2.16.1",
"jest": "^21.2.1",
"jest-vue-preprocessor": "^1.3.1",
"json-loader": "^0.5.4",
"lodash": "^4.17.4",
"markdown-it": "^8.3.2",
"mkdirp": "^0.5.1",
"node-loader": "^0.6.0",
"node-sass": "^4.7.2",
"numeral": "^2.0.6",
"proxyquire": "^1.8.0",
"pug": "^2.0.0-rc.1",
"sass-loader": "^6.0.6",
"spectron": "^3.7.2",
"style-loader": "^0.19.1",
"tape": "^4.8.0",
"tape-promise": "^2.0.1",
"tree-kill": "^1.1.0",
"url-loader": "^0.6.2",
"vue-hot-reload-api": "^2.0.7",
"vue-html-loader": "^1.2.4",
"vue-loader": "^13.6.2",
"vue-style-loader": "^3.0.3",
"vue-template-compiler": "^2.5.13",
"vue-template-es2015-compiler": "1.6.x",
"vue-test-utils": "^1.0.0-beta.8",
"webpack": "^3.10.0",
"webpack-dev-server": "^2.2.0",
"webpack-merge": "^0.14.1",
"xmlhttprequest": "^1.8.0"
},
"dependencies": {
"@nylira/vue-button": "^4.1.5",
"@nylira/vue-field": "^1.1.17",
"@nylira/vue-form-msg": "^1.0.3",
"@nylira/vue-input": "^3.2.0",
"@nylira/vue-notifications": "^1.4.4",
"axios": "^0.17.0",
"casual": "^1.5.19",
"chart.js": "^2.6.0",
"cosmos-sdk": "^1.5.1",
"electron": "^1.7.5",
"event-to-promise": "^0.8.0",
"express": "^4.16.2",
"express-http-proxy": "^1.1.0",
"flatpickr": "^4.1.2",
"fs-extra": "^5.0.0",
"interactjs": "^1.3.3",
"kill-port": "^1.0.0",
"moment": "^2.17.1",
"mousetrap": "^1.6.1",
"nib": "^1.1.2",
"no-scroll": "^2.1.0",
"perfect-scrollbar": "^1.3.0",
"semver": "^5.4.1",
"shortid": "^2.2.8",
"stacktrace-js": "^2.0.0",
"stylus": "^0.54.5",
"stylus-loader": "^3.0.1",
"tendermint": "^2.0.3",
"tendermint-crypto": "github:mappum/js-crypto",
"toml": "^2.3.3",
"user-home": "^2.0.0",
"vue": "^2.5.13",
"vue-electron": "^1.0.6",
"vue-resource": "^1.3.5",
"vue-router": "^3.0.1",
"vuelidate": "^0.5.0",
"vuex": "^3.0.1"
},
"jest": {
"testMatch": [
"**/unit/specs/**/*spec.js"
],
"moduleFileExtensions": [
"js",
"vue"
],
"moduleDirectories": [
"app/node_modules",
"node_modules",
"src"
],
"moduleNameMapper": {
"^src/(.*)$": "<rootDir>/app/src/$1",
"^app/(.*)$": "<rootDir>/app/$1",
"^renderer/(.*)$": "<rootDir>/app/src/renderer/$1",
"^common/(.*)$": "<rootDir>/app/src/renderer/components/common/$1",
"^govern/(.*)$": "<rootDir>/app/src/renderer/components/govern/$1",
"^monitor/(.*)$": "<rootDir>/app/src/renderer/components/monitor/$1",
"^staking/(.*)$": "<rootDir>/app/src/renderer/components/staking/$1",
"^scripts/(.*)$": "<rootDir>/app/src/renderer/scripts/$1",
"^wallet/(.*)$": "<rootDir>/app/src/renderer/components/wallet/$1",
"^variables$": "<rootDir>/app/src/renderer/styles/variables.styl"
},
"transform": {
".*.vue$": "jest-vue-preprocessor",
".*.js$": "babel-jest"
},
"transformIgnorePatterns": [
"node_modules/(?!.*vue$)"
],
"collectCoverage": true,
"mapCoverage": true,
"coverageDirectory": "./test/unit/coverage",
"coverageReporters": [
"lcov"
],
"coveragePathIgnorePatterns": [
"/node_modules/",
"/build/",
"/dist/",
"/test/",
"/config.js"
],
"testURL": "http://localhost",
"setupFiles": [
"./test/unit/helpers/fixed_time.js",
"./test/unit/helpers/setup.js",
"./test/unit/helpers/console_error_throw.js",
"./test/unit/helpers/genesis_mock.js"
]
},
"optionalDependencies": {
"electron-installer-debian": "^0.7.1",
"electron-installer-dmg": "^0.2.1",
"electron-squirrel-startup": "^1.0.0",
"electron-winstaller": "^2.6.3"
}
}