You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
trezor-wallet/package.json

145 lines
6.0 KiB

6 years ago
{
6 years ago
"name": "trezor-wallet",
4 years ago
"version": "1.4.1-beta",
6 years ago
"author": "TREZOR <info@trezor.io>",
"description": "",
"bin": {
"flow": "./node_modules/flow-bin"
},
"license": "SEE LICENSE IN LICENSE.md",
6 years ago
"scripts": {
"dev": "yarn && npx webpack-dev-server --config webpack/dev.babel.js",
"dev:local": "yarn && npx webpack-dev-server --config webpack/local.babel.js",
"build": "rimraf build && run-s build:*",
"build:stable": "rimraf build/stable && npx webpack --config webpack/production.babel.js --output-path build/stable --progress --bail",
"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",
"translations:extract": "rimraf translations/extractedMessages && cross-env NODE_ENV=translations babel src && yarn ttm merge-msgs && yarn ttm build-csv",
"translations:upload": "yarn translations:extract && yarn ttm upload",
"translations:download": "yarn ttm build-translations && sleep 1 && yarn ttm export-translations",
"flow": "flow check src",
"lint": "run-s lint:*",
5 years ago
"lint:js": "npx eslint .",
"lint:css": "npx stylelint './src/**/*.js'",
5 years ago
"lint-fix": "npx eslint ./src ./webpack --fix",
"test": "run-s test:*",
"test:unit": "npx jest",
"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
5 years ago
"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",
"server:beta": "node ./server/index.js --buildType=beta",
"server:stable": "node ./server/index.js --buildType=stable"
6 years ago
},
"dependencies": {
"@babel/polyfill": "^7.2.5",
"@hot-loader/react-dom": "16.8.6",
"bignumber.js": "9.0.0",
6 years ago
"color-hash": "^1.0.3",
"commander": "^2.19.0",
"connected-react-router": "6.4.0",
"copy-to-clipboard": "^3.0.8",
"copy-webpack-plugin": "^4.6.0",
"cross-env": "^5.2.0",
"date-fns": "^1.30.1",
"ethereumjs-tx": "^1.3.7",
6 years ago
"ethereumjs-units": "^0.2.0",
"ethereumjs-util": "^6.0.0",
"express": "^4.16.4",
"git-revision-webpack-plugin": "^3.0.3",
"history": "^4.7.2",
"html-webpack-plugin": "^3.2.0",
"jest-fetch-mock": "^2.1.0",
4 years ago
"morgan": "^1.10.0",
"npm-run-all": "^4.1.5",
"prop-types": "^15.6.2",
"raf": "^3.4.1",
"raven-js": "^3.27.0",
"rc-tooltip": "^3.7.3",
"react": "16.9.0",
"react-dom": "16.9.0",
"react-hot-loader": "^4.8.4",
"react-intl": "^2.8.0",
"react-json-view": "^1.19.1",
"react-qr-reader": "^2.1.2",
"react-qr-svg": "^2.1.0",
"react-redux": "^6.0.0",
"react-router": "^5.0.0",
"react-router-dom": "^5.0.0",
6 years ago
"react-scale-text": "^1.2.2",
"react-select": "^2.3.0",
"react-textarea-autosize": "^7.1.0",
"react-transition-group": "^2.5.3",
"react-window": "^1.7.1",
"redbox-react": "^1.6.0",
"redux": "4.0.1",
6 years ago
"redux-logger": "^3.0.6",
6 years ago
"redux-raven-middleware": "^1.2.0",
"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
5 years ago
"trezor-bridge-communicator": "1.0.2",
4 years ago
"trezor-connect": "8.1.1",
"trezor-ui-components": "^1.0.0-beta.20",
"wallet-address-validator": "^0.2.4",
"web3": "1.0.0-beta.36",
4 years ago
"webpack": "^4.42.1",
"webpack-build-notifier": "^0.1.30",
"webpack-bundle-analyzer": "^3.3.2",
"whatwg-fetch": "^3.0.0",
6 years ago
"yarn-run-all": "^3.1.1"
6 years ago
},
"devDependencies": {
4 years ago
"@babel/cli": "^7.8.4",
"@babel/core": "^7.9.0",
"@babel/plugin-proposal-class-properties": "^7.8.3",
"@babel/plugin-proposal-object-rest-spread": "^7.9.5",
"@babel/plugin-transform-flow-strip-types": "^7.9.0",
"@babel/plugin-transform-runtime": "^7.9.0",
"@babel/preset-env": "^7.9.5",
"@babel/preset-flow": "^7.0.0",
4 years ago
"@babel/preset-react": "^7.9.4",
"@babel/register": "^7.9.0",
"babel-eslint": "^10.1.0",
"babel-jest": "^25.4.0",
"babel-loader": "^8.1.0",
"babel-plugin-module-resolver": "^3.1.3",
"babel-plugin-react-intl": "^3.0.1",
4 years ago
"babel-plugin-styled-components": "^1.10.7",
"cypress": "^4.4.0",
"cypress-image-snapshot": "^3.1.1",
5 years ago
"eslint": "^5.16.0",
"eslint-config-airbnb": "^17.1.0",
5 years ago
"eslint-config-prettier": "^4.0.0",
"eslint-import-resolver-babel-module": "^5.0.1",
"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
5 years ago
"eslint-plugin-chai-friendly": "^0.4.1",
"eslint-plugin-cypress": "^2.2.0",
"eslint-plugin-flowtype": "^3.2.1",
"eslint-plugin-import": "^2.16.0",
"eslint-plugin-jest": "^22.2.2",
"eslint-plugin-jsx-a11y": "^6.2.1",
5 years ago
"eslint-plugin-prettier": "^3.0.1",
"eslint-plugin-react": "^7.12.4",
"file-loader": "3.0.1",
"flow-bin": "0.121.0",
4 years ago
"jest": "^25.4.0",
5 years ago
"prettier": "^1.16.4",
4 years ago
"prettier-eslint": "^9.0.1",
5 years ago
"prettylint": "^1.0.0",
4 years ago
"stylelint": "^13.3.2",
"stylelint-config-standard": "^20.0.0",
"stylelint-config-styled-components": "^0.1.1",
"stylelint-custom-processor-loader": "^0.6.0",
4 years ago
"stylelint-processor-styled-components": "^1.10.0",
"stylelint-webpack-plugin": "^1.2.3",
5 years ago
"trezor-translations-manager": "^1.0.5",
4 years ago
"webpack-cli": "^3.3.11",
"webpack-dev-server": "^3.10.3"
},
"optionalDependencies": {
"fsevents": "1.2.7"
6 years ago
}
}