-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
142 lines (142 loc) · 5.41 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
{
"name": "rise-wallet",
"version": "1.4.0-beta2",
"engines": {
"yarn": "^1.10.1"
},
"license": "GPL-3.0-only",
"dependencies": {
"@ledgerhq/hw-transport-webusb": "^4.48.0",
"@material-ui/core": "^3.7.0",
"@material-ui/icons": "^3.0.1",
"@types/bech32": "^1.1.1",
"@types/ledgerhq__hw-transport": "^4.21.1",
"@types/w3c-web-usb": "^1.0.3",
"async-mutex": "^0.1.3",
"bech32": "^1.1.3",
"bignumber.js": "^8.0.1",
"bip39": "^2.5.0",
"classnames": "^2.2.6",
"delay": "^4.1.0",
"downshift": "^3.1.7",
"dpos-ledger-api": "^3.0.1",
"dpos-offline": "^3.0.4",
"file-saver": "^2.0.2",
"inobounce": "^0.1.6",
"is-mobile": "^2.0.0",
"jdenticon": "^2.1.0",
"keyboardjs": "^2.5.1",
"lodash": "^4.17.11",
"mdi-material-ui": "^5.7.0",
"mobx": "^5.8.0",
"mobx-react": "^5.4.3",
"mobx-router-rise": "^0.0.13",
"moment": "^2.23.0",
"parcel-bundler": "^1.12.3",
"query-string": "^6.2.0",
"react": "^16.6.3",
"react-dom": "^16.6.3",
"react-helmet": "^5.2.0",
"react-intl": "^2.7.2",
"regenerator-runtime": "^0.13.2",
"risejs": "^1.4.1",
"sinon": "^7.2.2",
"socket.io-client": "^2.2.0",
"store": "^2.0.12",
"svg-country-flags": "^1.2.6",
"ts-jest": "^23.10.5",
"typescript": "^3.5.2",
"unique-random": "^2.0.0",
"utils": "^0.3.1",
"workbox-cli": "^4.3.1"
},
"scripts": {
"set-build:dev": "rm .browserslistrc; cp scripts/browserslistrc-dev .browserslistrc",
"set-build:compat": "rm .browserslistrc; cp scripts/browserslistrc-compat .browserslistrc",
"clean:build-dev": "rm -Rf dist/build-dev",
"clean:build": "rm -Rf dist/build",
"start": "yarn set-build:dev; yarn clean:build-dev; parcel --out-dir dist/build-dev src/index.html --https",
"start-http": "yarn set-build:dev; yarn clean:build-dev; parcel --out-dir dist/build-dev src/index.html",
"build": "yarn clean:build; yarn set-build:compat; yarn install; rm -Rf dist/build; parcel build --out-dir dist/build src/index.html; cp -fR src/assets dist/build/; workbox generateSW scripts/workbox-prod.js",
"build-dev": "yarn clean:build-dev; yarn set-build:dev; yarn clean:build-dev; mkdirp build/dev; parcel build --out-dir dist/build-dev src/index.html; cp -fR src/assets dist/build-dev/; workbox generateSW scripts/workbox-dev.js",
"deploy-now": "yarn build-dev; cp -f now.json dist/build-dev; cd dist/build-dev && now --target production",
"cypress": "cypress open",
"test": "run-p --race serve test-cypress",
"test-ci": "yarn build; run-p --race serve test-cypress",
"test-cypress": "cypress-run run --record false",
"test-cypress:record": "cypress-run run --record",
"test-unit": "jest",
"test-unit:prepare": "rm -rf tmp/unit-test/; tsc --project tsconfig.test.json",
"test-unit:prepare-watch": "rm -rf tmp/unit-test/; tsc --watch --project tsconfig.test.json",
"release": "./scripts/release.sh",
"intl:prepare": "babel -o tmp/transpiled-bundle.js --config-file './babelrc.intl.js' $(./scripts/intl-files.sh)",
"intl:export": "bash scripts/intl-export.sh",
"intl:import": "bash scripts/intl-import.sh",
"tsc": "tsc --project tsconfig.prod.json",
"tslint": "tslint --fix --project tslint.prod.json 'src/**/*.{ts,tsx}'",
"precommit": "yarn tsc; yarn prettier; yarn tslint; yarn test-unit:prepare; yarn test-unit; yarn intl:prepare",
"prettier": "prettier src/**.{ts,tsx} --write",
"serve": "node src/serve.js & local-ssl-proxy --source 3000 --target 5000",
"encrypt-fixtures": "travis encrypt-file cypress/fixtures/accounts.json cypress/fixtures/accounts.json.enc --add",
"release:desktop": "./scripts/release-desktop.sh"
},
"pre-commit": [
"precommit"
],
"devDependencies": {
"@babel/cli": "^7.4.4",
"@babel/core": "^7.4.5",
"@babel/plugin-proposal-decorators": "^7.4.4",
"@babel/plugin-syntax-dynamic-import": "^7.2.0",
"@babel/polyfill": "^7.0.0",
"@babel/preset-env": "^7.4.5",
"@babel/preset-es2015": "^7.0.0-beta.53",
"@babel/preset-react": "^7.0.0",
"@babel/preset-typescript": "^7.3.3",
"@bahmutov/add-typescript-to-cypress": "^2.0.0",
"@types/bip39": "^2.4.1",
"@types/bytebuffer": "^5.0.37",
"@types/classnames": "^2.2.6",
"@types/file-saver": "^2.0.1",
"@types/jest": "^23.3.10",
"@types/keyboardjs": "^2.4.0",
"@types/ledgerhq__hw-transport-u2f": "^4.21.0",
"@types/lodash": "^4.14.119",
"@types/moment": "^2.13.0",
"@types/node": "^10.12.17",
"@types/query-string": "^6.1.1",
"@types/react": "^16.7.17",
"@types/react-dom": "^16.0.11",
"@types/react-helmet": "^5.0.7",
"@types/react-intl": "^2.3.14",
"@types/socket.io-client": "^1.4.32",
"babel-plugin-react-intl": "^3.5.0",
"cypress": "^3.3.1",
"cypress-run": "^1.0.6",
"express": "^4.16.4",
"gh-pages": "^2.0.1",
"isomorphic-fetch": "^2.2.1",
"local-ssl-proxy": "^1.3.0",
"npm-run-all": "^4.1.5",
"pre-commit": "^1.2.2",
"prettier": "^1.15.3",
"raf": "^3.4.1",
"tslint": "^5.12.1",
"type-tagger": "^1.0.0"
},
"prettier": {
"singleQuote": true
},
"jest": {
"verbose": true,
"testMatch": [
"<rootDir>/tmp/unit-test/transpiled/**/__tests__/**/*.js?(x)",
"<rootDir>/tmp/unit-test/transpiled/**/?(*.)+(spec|test).js?(x)"
],
"testEnvironment": "jsdom",
"setupFiles": [
"raf/polyfill"
],
"testURL": "http://localhost/"
}
}