1
0
mirror of https://github.com/trezor/trezor-wallet synced 2024-11-30 12:18:09 +00:00
trezor-wallet/package.json

145 lines
6.0 KiB
JSON
Raw Normal View History

2017-12-13 11:01:37 +00:00
{
2018-08-30 18:10:36 +00:00
"name": "trezor-wallet",
2019-03-06 12:47:52 +00:00
"version": "1.1.1-beta",
2017-12-13 11:01:37 +00:00
"author": "TREZOR <info@trezor.io>",
"description": "",
2018-04-16 21:19:50 +00:00
"bin": {
"flow": "./node_modules/flow-bin"
},
2018-10-19 11:45:46 +00:00
"license": "SEE LICENSE IN LICENSE.md",
2017-12-13 11:01:37 +00:00
"scripts": {
"dev": "yarn && npx webpack-dev-server --config webpack/dev.babel.js",
"dev:local": "yarn && npx webpack-dev-server --config webpack/local.babel.js",
2018-10-15 11:24:41 +00:00
"build": "rimraf build && run-s build:*",
2018-10-24 21:01:23 +00:00
"build:stable": "rimraf build/stable && npx webpack --config webpack/production.babel.js --output-path build/stable --progress --bail",
2018-10-15 11:24:41 +00:00
"build:beta": "rimraf build/beta && cross-env BUILD=beta npx webpack --config webpack/production.babel.js --output-path build/beta --progress --bail",
"build:dev": "rimraf build.dev && cross-env BUILD=development npx webpack --config webpack/production.babel.js --output-path build/dev --progress --bail",
2019-02-18 19:36:27 +00:00
"translations:extract": "rimraf translations/extractedMessages && cross-env NODE_ENV=translations babel src",
2019-02-28 13:59:33 +00:00
"translations:upload": "yarn translations:extract && yarn ttm merge-msgs && yarn ttm build-csv && yarn ttm upload",
"translations:download": "yarn ttm build-translations && sleep 1 && yarn ttm export-translations",
2018-08-27 15:15:22 +00:00
"flow": "flow check src",
2018-08-14 14:06:34 +00:00
"lint": "run-s lint:*",
2019-04-02 15:41:28 +00:00
"lint:js": "npx eslint .",
"lint:css": "npx stylelint './src/**/*.js'",
2019-03-04 12:33:02 +00:00
"lint-fix": "npx eslint ./src ./webpack --fix",
2018-08-25 10:59:12 +00:00
"test": "run-s test:*",
"test:unit": "npx jest",
2018-09-19 16:08:22 +00:00
"test-unit:watch": "npx jest -o --watch",
Integration tests (#311) * Add base test env * Add eslint rules for cypress * Add configs and scripts in package json * Added docker file for bridge and emualator * Bridge install progress * Bridge install next step * Add task for integration tests * Fixed deps * Added baseUrl * Added baseUrl fix * Added npx * Added caching for cypress bin * Added path to binary * Install cypress * Finalized dockerfile * Fixed bridge lib path * Fixed path for binary * Adjust script again * Run all the things properly * Try to run the tests * First POC test * First POC test in gitlab * Fixed flow * Fixed gitlab test url, try docker service * export artifacts * Test only integration tests in CI * Test only integration tests in CI 2 * Test only integration tests in CI 3 * Added tests for initialize device * Try to add docker in only one step * Turn on other integration steps * Correct node version * Ignore cache in flow * Run bridge and emulator in debug link mode * Fix param * Try to run new config in CI * init device in docker * Remove docker image after run * Remove amp * Fix path * Artifacts on fail * Artifacts on fail with volume * Artifacts on fail with volume 2 * Install mkdir * Install mkdir again * test * test 2 * test 3 * test 4 * test 5 * test 6 * test 7 * test 8 * test 9 * test 10 * test 11 * test 12 * test 13 * test 14 * test 15 * test 16 * test 17 * Revert "test 17" This reverts commit f3f6c0d6906cdc470aa11ae728b4b61a6b71a732. * test 18 * test 19 * test 20 * test 21 try chrome * test 22 * test 23 * test 24 * test 25 * test 25 try to install chrome again * test 25 try to install chrome again * Added missing deps * Added debug * Install chromium * Install chromium 2 * turn on chromium * turn off debug * turn on debug * fix folder * turn off debug * Fix init device * Add header dashboard test * Bring things back * clean * clean fix * Build image in CI * Added stage step * Added docker image * Added service * Added tests to docker image * Refactor a bit * Correct registry image * Build wallet again * Add test for dashbaord content * new node version, more tests * Remove unused code * typo * Correct snapshots, moved deps to dev, beta disclaimer prop
2019-02-05 13:26:40 +00:00
"test-integration:dev": "npx cypress open -c baseUrl=http://localhost:8081/#/",
"test-integration:test": "npx cypress run",
"test-integration:gitlab": "npx cypress run -c baseUrl=https://localhost:8080/#/ --browser chromium",
2018-10-24 15:58:10 +00:00
"server:beta": "node ./server/index.js --buildType=beta",
2018-10-24 21:01:23 +00:00
"server:stable": "node ./server/index.js --buildType=stable"
2017-12-13 11:01:37 +00:00
},
"dependencies": {
Integration tests (#311) * Add base test env * Add eslint rules for cypress * Add configs and scripts in package json * Added docker file for bridge and emualator * Bridge install progress * Bridge install next step * Add task for integration tests * Fixed deps * Added baseUrl * Added baseUrl fix * Added npx * Added caching for cypress bin * Added path to binary * Install cypress * Finalized dockerfile * Fixed bridge lib path * Fixed path for binary * Adjust script again * Run all the things properly * Try to run the tests * First POC test * First POC test in gitlab * Fixed flow * Fixed gitlab test url, try docker service * export artifacts * Test only integration tests in CI * Test only integration tests in CI 2 * Test only integration tests in CI 3 * Added tests for initialize device * Try to add docker in only one step * Turn on other integration steps * Correct node version * Ignore cache in flow * Run bridge and emulator in debug link mode * Fix param * Try to run new config in CI * init device in docker * Remove docker image after run * Remove amp * Fix path * Artifacts on fail * Artifacts on fail with volume * Artifacts on fail with volume 2 * Install mkdir * Install mkdir again * test * test 2 * test 3 * test 4 * test 5 * test 6 * test 7 * test 8 * test 9 * test 10 * test 11 * test 12 * test 13 * test 14 * test 15 * test 16 * test 17 * Revert "test 17" This reverts commit f3f6c0d6906cdc470aa11ae728b4b61a6b71a732. * test 18 * test 19 * test 20 * test 21 try chrome * test 22 * test 23 * test 24 * test 25 * test 25 try to install chrome again * test 25 try to install chrome again * Added missing deps * Added debug * Install chromium * Install chromium 2 * turn on chromium * turn off debug * turn on debug * fix folder * turn off debug * Fix init device * Add header dashboard test * Bring things back * clean * clean fix * Build image in CI * Added stage step * Added docker image * Added service * Added tests to docker image * Refactor a bit * Correct registry image * Build wallet again * Add test for dashbaord content * new node version, more tests * Remove unused code * typo * Correct snapshots, moved deps to dev, beta disclaimer prop
2019-02-05 13:26:40 +00:00
"@babel/polyfill": "^7.2.5",
"bignumber.js": "8.0.2",
2018-02-20 09:30:36 +00:00
"color-hash": "^1.0.3",
2018-10-24 15:58:10 +00:00
"commander": "^2.19.0",
2019-02-20 13:28:11 +00:00
"connected-react-router": "6.0.0",
2019-03-04 11:52:12 +00:00
"copy-to-clipboard": "^3.0.8",
2019-02-05 16:23:47 +00:00
"copy-webpack-plugin": "^4.6.0",
"cross-env": "^5.2.0",
2019-02-05 16:23:47 +00:00
"date-fns": "^1.30.1",
"ethereumjs-tx": "^1.3.7",
2018-02-20 09:30:36 +00:00
"ethereumjs-units": "^0.2.0",
"ethereumjs-util": "^6.0.0",
2019-02-05 16:23:47 +00:00
"express": "^4.16.4",
2018-09-21 14:54:02 +00:00
"git-revision-webpack-plugin": "^3.0.3",
2019-02-06 16:07:54 +00:00
"hdkey": "^1.1.0",
2018-10-09 13:20:57 +00:00
"history": "^4.7.2",
2018-07-30 10:47:37 +00:00
"html-webpack-plugin": "^3.2.0",
2019-02-06 16:07:54 +00:00
"jest-fetch-mock": "^2.1.0",
2018-10-02 13:43:03 +00:00
"morgan": "^1.9.1",
2019-02-05 16:23:47 +00:00
"npm-run-all": "^4.1.5",
2018-07-30 14:30:25 +00:00
"prop-types": "^15.6.2",
2019-02-05 16:23:47 +00:00
"raf": "^3.4.1",
"raven-js": "^3.27.0",
"rc-tooltip": "^3.7.3",
2019-03-28 12:09:16 +00:00
"react": "^16.8.6",
"react-dom": "^16.8.6",
2019-02-05 16:23:47 +00:00
"react-hot-loader": "^4.6.5",
"react-intl": "^2.8.0",
2018-10-30 16:00:42 +00:00
"react-json-view": "^1.19.1",
2019-01-17 10:34:24 +00:00
"react-qr-reader": "^2.1.2",
2017-12-13 11:01:37 +00:00
"react-qr-svg": "^2.1.0",
"react-redux": "^6.0.0",
"react-router": "^4.3.1",
2019-02-05 16:23:47 +00:00
"react-router-dom": "^4.3.1",
2018-02-20 09:30:36 +00:00
"react-scale-text": "^1.2.2",
2019-02-05 16:23:47 +00:00
"react-select": "^2.3.0",
"react-textarea-autosize": "^7.1.0",
"react-transition-group": "^2.5.3",
2019-03-29 13:43:21 +00:00
"react-window": "^1.7.1",
2018-08-22 12:31:16 +00:00
"redbox-react": "^1.6.0",
2019-02-05 16:23:47 +00:00
"redux": "4.0.1",
2017-12-13 11:01:37 +00:00
"redux-logger": "^3.0.6",
2018-03-08 16:10:53 +00:00
"redux-raven-middleware": "^1.2.0",
2019-02-05 16:23:47 +00:00
"redux-thunk": "^2.3.0",
"rimraf": "^2.6.3",
"styled-components": "^4.1.3",
"styled-normalize": "^8.0.6",
Integration tests (#311) * Add base test env * Add eslint rules for cypress * Add configs and scripts in package json * Added docker file for bridge and emualator * Bridge install progress * Bridge install next step * Add task for integration tests * Fixed deps * Added baseUrl * Added baseUrl fix * Added npx * Added caching for cypress bin * Added path to binary * Install cypress * Finalized dockerfile * Fixed bridge lib path * Fixed path for binary * Adjust script again * Run all the things properly * Try to run the tests * First POC test * First POC test in gitlab * Fixed flow * Fixed gitlab test url, try docker service * export artifacts * Test only integration tests in CI * Test only integration tests in CI 2 * Test only integration tests in CI 3 * Added tests for initialize device * Try to add docker in only one step * Turn on other integration steps * Correct node version * Ignore cache in flow * Run bridge and emulator in debug link mode * Fix param * Try to run new config in CI * init device in docker * Remove docker image after run * Remove amp * Fix path * Artifacts on fail * Artifacts on fail with volume * Artifacts on fail with volume 2 * Install mkdir * Install mkdir again * test * test 2 * test 3 * test 4 * test 5 * test 6 * test 7 * test 8 * test 9 * test 10 * test 11 * test 12 * test 13 * test 14 * test 15 * test 16 * test 17 * Revert "test 17" This reverts commit f3f6c0d6906cdc470aa11ae728b4b61a6b71a732. * test 18 * test 19 * test 20 * test 21 try chrome * test 22 * test 23 * test 24 * test 25 * test 25 try to install chrome again * test 25 try to install chrome again * Added missing deps * Added debug * Install chromium * Install chromium 2 * turn on chromium * turn off debug * turn on debug * fix folder * turn off debug * Fix init device * Add header dashboard test * Bring things back * clean * clean fix * Build image in CI * Added stage step * Added docker image * Added service * Added tests to docker image * Refactor a bit * Correct registry image * Build wallet again * Add test for dashbaord content * new node version, more tests * Remove unused code * typo * Correct snapshots, moved deps to dev, beta disclaimer prop
2019-02-05 13:26:40 +00:00
"trezor-bridge-communicator": "1.0.2",
2019-03-26 09:52:32 +00:00
"trezor-connect": "7.0.2-electron.4",
2019-03-28 14:00:39 +00:00
"trezor-ui-components": "^1.0.0-beta.12",
"wallet-address-validator": "^0.2.4",
2019-02-28 09:01:37 +00:00
"web3": "1.0.0-beta.35",
"webpack": "^4.29.3",
2019-02-05 14:06:59 +00:00
"webpack-build-notifier": "^0.1.30",
"webpack-bundle-analyzer": "^3.0.3",
2019-02-06 16:07:54 +00:00
"whatwg-fetch": "^3.0.0",
2018-07-30 11:44:39 +00:00
"yarn-run-all": "^3.1.1"
2017-12-13 11:01:37 +00:00
},
"devDependencies": {
2019-02-02 13:42:12 +00:00
"@babel/cli": "^7.2.3",
"@babel/core": "^7.2.2",
"@babel/plugin-proposal-class-properties": "^7.3.0",
2019-02-05 16:23:47 +00:00
"@babel/plugin-proposal-object-rest-spread": "^7.3.2",
2019-02-02 13:42:12 +00:00
"@babel/plugin-transform-flow-strip-types": "^7.2.3",
"@babel/plugin-transform-runtime": "^7.2.0",
"@babel/preset-env": "^7.3.1",
2019-02-01 17:09:16 +00:00
"@babel/preset-flow": "^7.0.0",
"@babel/preset-react": "^7.0.0",
"@babel/register": "^7.0.0",
2019-02-05 14:43:08 +00:00
"babel-eslint": "^10.0.1",
2019-02-05 16:23:47 +00:00
"babel-jest": "^24.1.0",
2019-02-02 13:42:12 +00:00
"babel-loader": "^8.0.5",
2019-02-01 17:09:16 +00:00
"babel-plugin-module-resolver": "^3.1.3",
"babel-plugin-react-intl": "^3.0.1",
2019-02-01 17:09:16 +00:00
"babel-plugin-styled-components": "^1.10.0",
Integration tests (#311) * Add base test env * Add eslint rules for cypress * Add configs and scripts in package json * Added docker file for bridge and emualator * Bridge install progress * Bridge install next step * Add task for integration tests * Fixed deps * Added baseUrl * Added baseUrl fix * Added npx * Added caching for cypress bin * Added path to binary * Install cypress * Finalized dockerfile * Fixed bridge lib path * Fixed path for binary * Adjust script again * Run all the things properly * Try to run the tests * First POC test * First POC test in gitlab * Fixed flow * Fixed gitlab test url, try docker service * export artifacts * Test only integration tests in CI * Test only integration tests in CI 2 * Test only integration tests in CI 3 * Added tests for initialize device * Try to add docker in only one step * Turn on other integration steps * Correct node version * Ignore cache in flow * Run bridge and emulator in debug link mode * Fix param * Try to run new config in CI * init device in docker * Remove docker image after run * Remove amp * Fix path * Artifacts on fail * Artifacts on fail with volume * Artifacts on fail with volume 2 * Install mkdir * Install mkdir again * test * test 2 * test 3 * test 4 * test 5 * test 6 * test 7 * test 8 * test 9 * test 10 * test 11 * test 12 * test 13 * test 14 * test 15 * test 16 * test 17 * Revert "test 17" This reverts commit f3f6c0d6906cdc470aa11ae728b4b61a6b71a732. * test 18 * test 19 * test 20 * test 21 try chrome * test 22 * test 23 * test 24 * test 25 * test 25 try to install chrome again * test 25 try to install chrome again * Added missing deps * Added debug * Install chromium * Install chromium 2 * turn on chromium * turn off debug * turn on debug * fix folder * turn off debug * Fix init device * Add header dashboard test * Bring things back * clean * clean fix * Build image in CI * Added stage step * Added docker image * Added service * Added tests to docker image * Refactor a bit * Correct registry image * Build wallet again * Add test for dashbaord content * new node version, more tests * Remove unused code * typo * Correct snapshots, moved deps to dev, beta disclaimer prop
2019-02-05 13:26:40 +00:00
"cypress": "^3.1.5",
"cypress-image-snapshot": "^3.0.0",
2019-02-05 14:43:08 +00:00
"eslint": "^5.13.0",
"eslint-config-airbnb": "^17.1.0",
2019-03-04 11:15:22 +00:00
"eslint-config-prettier": "^4.0.0",
2019-02-01 17:09:16 +00:00
"eslint-import-resolver-babel-module": "^5.0.1",
2019-02-05 14:43:08 +00:00
"eslint-loader": "^2.1.2",
Integration tests (#311) * Add base test env * Add eslint rules for cypress * Add configs and scripts in package json * Added docker file for bridge and emualator * Bridge install progress * Bridge install next step * Add task for integration tests * Fixed deps * Added baseUrl * Added baseUrl fix * Added npx * Added caching for cypress bin * Added path to binary * Install cypress * Finalized dockerfile * Fixed bridge lib path * Fixed path for binary * Adjust script again * Run all the things properly * Try to run the tests * First POC test * First POC test in gitlab * Fixed flow * Fixed gitlab test url, try docker service * export artifacts * Test only integration tests in CI * Test only integration tests in CI 2 * Test only integration tests in CI 3 * Added tests for initialize device * Try to add docker in only one step * Turn on other integration steps * Correct node version * Ignore cache in flow * Run bridge and emulator in debug link mode * Fix param * Try to run new config in CI * init device in docker * Remove docker image after run * Remove amp * Fix path * Artifacts on fail * Artifacts on fail with volume * Artifacts on fail with volume 2 * Install mkdir * Install mkdir again * test * test 2 * test 3 * test 4 * test 5 * test 6 * test 7 * test 8 * test 9 * test 10 * test 11 * test 12 * test 13 * test 14 * test 15 * test 16 * test 17 * Revert "test 17" This reverts commit f3f6c0d6906cdc470aa11ae728b4b61a6b71a732. * test 18 * test 19 * test 20 * test 21 try chrome * test 22 * test 23 * test 24 * test 25 * test 25 try to install chrome again * test 25 try to install chrome again * Added missing deps * Added debug * Install chromium * Install chromium 2 * turn on chromium * turn off debug * turn on debug * fix folder * turn off debug * Fix init device * Add header dashboard test * Bring things back * clean * clean fix * Build image in CI * Added stage step * Added docker image * Added service * Added tests to docker image * Refactor a bit * Correct registry image * Build wallet again * Add test for dashbaord content * new node version, more tests * Remove unused code * typo * Correct snapshots, moved deps to dev, beta disclaimer prop
2019-02-05 13:26:40 +00:00
"eslint-plugin-chai-friendly": "^0.4.1",
"eslint-plugin-cypress": "^2.2.0",
2019-02-05 14:52:46 +00:00
"eslint-plugin-flowtype": "^3.2.1",
2019-02-05 14:43:08 +00:00
"eslint-plugin-import": "^2.16.0",
"eslint-plugin-jest": "^22.2.2",
"eslint-plugin-jsx-a11y": "^6.2.1",
2019-03-04 11:15:22 +00:00
"eslint-plugin-prettier": "^3.0.1",
2019-02-05 14:43:08 +00:00
"eslint-plugin-react": "^7.12.4",
2019-02-05 14:06:59 +00:00
"file-loader": "3.0.1",
2018-12-20 16:40:56 +00:00
"flow-bin": "0.75.0",
2019-02-05 16:23:47 +00:00
"jest": "^24.1.0",
2019-03-04 11:15:22 +00:00
"prettier": "^1.16.4",
"prettier-eslint": "^8.8.2",
"prettylint": "^1.0.0",
2019-02-05 14:06:59 +00:00
"stylelint": "^9.10.1",
2018-08-10 13:33:23 +00:00
"stylelint-config-standard": "^18.2.0",
"stylelint-config-styled-components": "^0.1.1",
2019-02-05 14:06:59 +00:00
"stylelint-custom-processor-loader": "^0.6.0",
2019-02-05 16:23:47 +00:00
"stylelint-processor-styled-components": "^1.5.2",
2018-09-05 12:54:24 +00:00
"stylelint-webpack-plugin": "^0.10.5",
2019-02-22 12:05:18 +00:00
"trezor-translations-manager": "^1.0.4",
2019-02-05 14:06:59 +00:00
"webpack-cli": "^3.2.3",
2019-03-06 15:19:15 +00:00
"webpack-dev-server": "^3.1.14"
2018-10-02 13:43:03 +00:00
},
"optionalDependencies": {
2019-02-05 16:23:47 +00:00
"fsevents": "1.2.7"
2017-12-13 11:01:37 +00:00
}
}