|
14 | 14 | "build:renderer": "yarn webpack -c source/renderer/webpack.config.js --progress", |
15 | 15 | "build:cleanup": "rimraf ./dist", |
16 | 16 | "build:electron": "./scripts/rebuild-native-modules.sh", |
17 | | - "check:all": "yarn prettier:check && yarn lint && yarn compile && yarn stylelint && yarn i18n:manage && yarn storybook:build", |
| 17 | + "check:all": "yarn prettier:check && yarn lint && yarn compile && yarn stylelint && yarn i18n:manage", |
18 | 18 | "start": "yarn electron ./", |
19 | 19 | "start:dev": "nodemon --watch 'dist/main' --exec 'NODE_ENV=development yarn start'", |
20 | | - "test": "NODE_ENV=test yarn build && yarn test:unit && yarn test:e2e:fail-fast", |
21 | | - "test:jest": "jest", |
22 | | - "test:generate:report": "yarn node-swc tests/reporter.ts", |
23 | | - "test:unit": "yarn cucumber:run --require 'tests/**/unit/**/*.ts' --tags '@unit and not @skip and not @wip'", |
24 | | - "test:unit:rerun": "yarn cucumber:rerun --require 'tests/**/unit/**/*.ts' --tags '@unit and not @skip and not @wip'", |
25 | | - "test:unit:watch": "nodemon --watch source --watch tests --exec \"yarn test:unit --tags '@unit and @watch'\"", |
26 | | - "test:unit:unbound": "yarn cucumber:run --require 'tests/**/unit/**/*.ts' --tags '@unbound and not @skip and not @wip'", |
27 | | - "test:e2e": "yarn cucumber:run --require 'tests/setup-e2e.ts' --require 'tests/**/e2e/**/*.ts' --tags '@e2e and not @skip and not @wip'", |
28 | | - "test:e2e:fail-fast": "yarn cucumber:fail-fast --require 'tests/setup-e2e.ts' --require 'tests/**/e2e/**/*.ts' --tags '@e2e and not @skip and not @wip'", |
29 | | - "test:e2e:rerun": "yarn cucumber:rerun --require 'tests/setup-e2e.ts' --require 'tests/**/e2e/**/*.ts' --tags '@e2e and not @skip and not @wip'", |
30 | | - "test:e2e:rerun:fail-fast": "yarn cucumber:rerun --require 'tests/setup-e2e.ts' --require 'tests/**/e2e/**/*.ts' --tags '@e2e and not @skip and not @wip'", |
31 | | - "test:e2e:watch": "gulp test:e2e:watch", |
32 | | - "test:e2e:watch:once": "KEEP_APP_AFTER_TESTS=true yarn test:e2e --tags '@e2e and @watch'", |
33 | | - "test:hardware-wallets": "ts-node hardware-wallet-tests/index.ts", |
34 | | - "cucumber": "cross-env NODE_ENV=test cucumber-js --require-module '@swc-node/register' --require 'tests/setup-common.ts' -f json:tests-report/report-data.json -f summary:tests-report/summary.log -f node_modules/cucumber-pretty:tests-report/results.log --format-options '{\"snippetInterface\": \"async-await\"}' -f node_modules/cucumber-pretty --format-options '{\"snippetInterface\": \"async-await\"}' -f rerun:tests/@rerun.txt", |
35 | | - "cucumber:run": "yarn cucumber tests", |
36 | | - "cucumber:fail-fast": "yarn cucumber tests --fail-fast", |
37 | | - "cucumber:rerun": "yarn cucumber tests-report/@rerun.txt", |
38 | | - "cucumber:rerun:fail-fast": "yarn cucumber tests-report/@rerun.txt --fail-fast", |
39 | 20 | "node-swc": "node -r @swc-node/register", |
40 | 21 | "debug": "gulp debug", |
41 | 22 | "package": "cross-env NODE_ENV=production yarn build && cross-env NODE_ENV=production yarn node-swc scripts/package.js", |
42 | 23 | "package:all": "yarn package --all", |
43 | | - "lint": "eslint --format=node_modules/eslint-formatter-pretty source storybook utils --ext .ts,.tsx", |
44 | | - "lint:fix": "eslint --fix --fix-type problem --ext '.ts,.tsx' source storybook utils", |
| 24 | + "lint": "eslint --format=node_modules/eslint-formatter-pretty source utils --ext .ts,.tsx", |
| 25 | + "lint:fix": "eslint --fix --fix-type problem --ext '.ts,.tsx' source utils", |
45 | 26 | "compile": "tsc --noEmit", |
46 | 27 | "precompile": "yarn typedef:sass", |
47 | 28 | "prettier": "./node_modules/.bin/prettier \"**/*.*\"", |
|
52 | 33 | "i18n:extract": "formatjs extract 'source/**/*.{ts,tsx}' --ignore='**/*.d.ts' --format='translations/formatter.js' --extract-source-location --out-file='translations/messages.json'", |
53 | 34 | "i18n:check": "yarn node-swc ./translations/translation-runner.ts", |
54 | 35 | "i18n:manage": "yarn i18n:extract && yarn i18n:check", |
55 | | - "storybook": "start-storybook -p 6006 -c storybook --ci /", |
56 | | - "storybook:build": "build-storybook -c storybook -o dist/storybook", |
57 | 36 | "themes:check:createTheme": "gulp build:themes && yarn node-swc ./dist/scripts/check.js", |
58 | 37 | "themes:update": "gulp build:themes && yarn node-swc ./dist/scripts/update.js && yarn prettier --loglevel warn --write source/renderer/app/themes/daedalus/*.ts", |
59 | 38 | "themes:copy": "yarn node-swc source/renderer/app/themes/utils/copyTheme.ts && yarn prettier --loglevel warn --write source/renderer/app/themes/daedalus/*.ts", |
|
76 | 55 | "electron": "./node_modules/.bin/electron" |
77 | 56 | }, |
78 | 57 | "devDependencies": { |
79 | | - "@dump247/storybook-state": "1.6.1", |
80 | 58 | "@electron/rebuild": "3.2.13", |
81 | 59 | "@faker-js/faker": "6.0.0", |
82 | 60 | "@formatjs/cli": "4.8.3", |
83 | 61 | "@pmmmwh/react-refresh-webpack-plugin": "0.5.3", |
84 | | - "@storybook/addon-actions": "6.4.22", |
85 | | - "@storybook/addon-knobs": "6.4.0", |
86 | | - "@storybook/addon-links": "6.4.22", |
87 | | - "@storybook/addons": "6.4.22", |
88 | | - "@storybook/builder-webpack5": "6.4.22", |
89 | | - "@storybook/core": "6.4.22", |
90 | | - "@storybook/manager-webpack5": "6.4.22", |
91 | | - "@storybook/react": "6.4.22", |
92 | 62 | "@swc-node/register": "1.4.2", |
93 | 63 | "@swc/core": "1.2.164", |
94 | 64 | "@swc/jest": "0.2.21", |
|
118 | 88 | "cross-env": "7.0.2", |
119 | 89 | "crypto-browserify": "3.12.0", |
120 | 90 | "css-loader": "6.2.0", |
121 | | - "cucumber": "6.0.5", |
122 | | - "cucumber-pretty": "6.0.0", |
123 | 91 | "del": "6.0.0", |
124 | 92 | "electron-connect": "0.6.3", |
125 | 93 | "electron-devtools-installer": "3.2.0", |
|
171 | 139 | "sinon": "9.2.2", |
172 | 140 | "spawn-sync": "2.0.0", |
173 | 141 | "spectron": "14.0.0", |
174 | | - "storybook-addon-swc": "1.1.7", |
175 | 142 | "stream-browserify": "3.0.0", |
176 | 143 | "stream-http": "3.2.0", |
177 | 144 | "style-loader": "3.2.1", |
|
193 | 160 | "webpack-dev-server": "4.9.0", |
194 | 161 | "ws": "7.3.1", |
195 | 162 | "yamljs": "0.3.0", |
196 | | - "yarn-lockfile": "1.1.1" |
| 163 | + "yarn-audit-fix": "^10.0.7", |
| 164 | + "yarn-audit-html": "^7.3.2" |
197 | 165 | }, |
198 | 166 | "dependencies": { |
199 | 167 | "@cardano-foundation/ledgerjs-hw-app-cardano": "6.0.0", |
|
218 | 186 | "chroma-js": "2.1.0", |
219 | 187 | "classnames": "2.2.6", |
220 | 188 | "csv-stringify": "5.5.1", |
221 | | - "cucumber-html-reporter": "5.2.0", |
222 | 189 | "electron": "24.2.0", |
223 | 190 | "electron-log-daedalus": "2.2.21", |
224 | 191 | "electron-store": "8.0.1", |
|
0 commit comments