-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
209 lines (209 loc) · 8.07 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
198
199
200
201
202
203
204
205
206
207
208
209
{
"name": "lace",
"version": "1.1.0",
"private": true,
"description": "A TypeScript monorepo containing modules for light wallet solutions",
"homepage": "https://github.com/input-output-hk/lace#README.md",
"bugs": {
"url": "https://github.com/input-output-hk/lace/issues"
},
"license": "Apache-2.0",
"contributors": [
"Lucas Barros Araújo <[email protected]> (https://iohk.io)",
"Przemysław Włodek <[email protected]> (https://iohk.io)",
"Rhys Bartels-Waller <[email protected]> (https://iohk.io)",
"Michael Chappell <[email protected]> (https://iohk.io)"
],
"workspaces": [
"packages/*",
"apps/*"
],
"scripts": {
"base-command-for-build-scripts": "wsrun --prefix -srame ${APP_NAME:+-p \"@lace/$APP_NAME\"} ${EXCLUDE_APP:+-x \"@lace/$APP_NAME\"} ${EXCLUDE_BROWSER:+-x \"@lace/browser-extension-wallet\"}",
"browser": "APP_NAME=browser-extension-wallet yarn $0",
"build": "yarn base-command-for-build-scripts -c build",
"build-deps": "EXCLUDE_APP=true yarn build",
"bump-cardano-js-sdk": "sh bump-cardano-js-sdk.sh",
"cardano:lint": "yarn eslint-cmd \"packages/cardano/**/*.{js,ts,tsx}\"",
"chromatic": "ENV=development yarn build-storybook; chromatic --exit-zero-on-changes --project-token=e28776c940b9 -d storybook-static/",
"cleanup": "yarn workspaces foreach run cleanup && yarn exec rm -rf node_modules storybook-static && rm -rf .cache/eslintcache",
"common:lint": "yarn eslint-cmd \"packages/common/**/*.{js,ts,tsx}\"",
"core:lint": "yarn eslint-cmd \"packages/core/**/*.{js,ts,tsx}\"",
"eslint-cmd": "eslint --cache --cache-location .cache/eslintcache --cache-strategy metadata --ignore-path ./.eslintignore --max-warnings=0",
"extension:lint": "yarn eslint-cmd \"apps/browser-extension-wallet/**/*.{js,ts,tsx}\"",
"format-check": "yarn workspaces foreach -ptv run format-check",
"postinstall": "husky install & ts-patch install -s",
"lint": "yarn workspaces foreach -ptv run lint && yarn markdown:lint",
"markdown:lint": "markdownlint '{packages,apps}/**/*.md' -p .gitignore",
"markdown:lint:fix": "yarn markdown:lint --fix",
"staking": "APP_NAME=staking yarn $0",
"storybook": "ENV=development start-storybook -p 6006",
"prestorybook:build": "yarn build",
"storybook:build": "ENV=development build-storybook --log-level error",
"test": "yarn workspaces foreach run test",
"type-check": "yarn workspaces foreach -ptv run type-check",
"version": "standard-version",
"watch": "yarn base-command-for-build-scripts --done-criteria 'created|(webpack [\\d\\.]+ compiled)|(.*STAKING.*CJS.*Build success)' -c watch",
"watch-deps": "EXCLUDE_APP=true yarn watch"
},
"lint-staged": {
"*(apps/**/*.{js,ts,tsx}|packages/!(translation|nami)/**/*.{js,ts,tsx}|stories/**/*.{js,ts,tsx})": [
"eslint --cache --cache-location .cache/eslintcache --cache-strategy metadata --fix --ignore-path ./.eslintignore",
"prettier --write"
],
"*(packages/nami/**/*.{js,ts,tsx})": [
"yarn workspace @lace/nami lint --fix",
"yarn workspace @lace/nami format"
],
"*(packages/translation/**/*.{js,ts,tsx})": [
"yarn workspace @lace/translation lint --fix",
"yarn workspace @lace/translation format"
],
"*.json": "prettier --write",
"package.json": "sort-package-json"
},
"resolutions": {
"@storybook/react-docgen-typescript-plugin": "1.0.6--canary.9.f9c48c0.0",
"ansi-regex": "^5.0.1",
"async": "^3.2.2",
"cross-fetch": "^3.1.5",
"follow-redirects": "^1.14.8",
"glob-parent": "^5.1.2",
"got": "^11.8.5",
"http-cache-semantics": "^4.1.1",
"json-schema": "^0.4.0",
"minimist": "^1.2.6",
"moment": "^2.29.4",
"nan": "^2.17.0",
"nanoid": "^3.1.31",
"node-fetch": "^2.6.7",
"nth-check": "^2.0.1",
"parse-link-header": "^2.0.0",
"raw-loader/loader-utils": "^2.0.4",
"shelljs": "^0.8.5",
"ssh2": "^1.4.0",
"tar": "^6.1.9",
"terser": "^5.14.2",
"trim": "^0.0.3",
"trim-newlines": "^3.0.1",
"trim-off-newlines": "^1.0.3"
},
"dependencies": {
"@input-output-hk/lace-ui-toolkit": "1.21.0",
"normalize.css": "^8.0.1"
},
"devDependencies": {
"@atixlabs/eslint-config": "^1.2.3",
"@babel/core": "7.15.0",
"@babel/plugin-transform-runtime": "7.15.0",
"@babel/preset-env": "7.15.0",
"@babel/preset-react": "7.14.5",
"@babel/preset-typescript": "7.15.0",
"@babel/runtime": "7.15.3",
"@commitlint/cli": "^17.0.3",
"@commitlint/config-conventional": "^17.0.3",
"@rollup/plugin-commonjs": "20.0.0",
"@rollup/plugin-image": "2.1.1",
"@rollup/plugin-json": "^6.0.0",
"@rollup/plugin-node-resolve": "13.0.4",
"@rollup/plugin-typescript": "8.3.0",
"@svgr/rollup": "^6.1.2",
"@svgr/webpack": "^6.1.2",
"@swc-node/register": "1.5.4",
"@swc/core": "1.3.11",
"@testing-library/jest-dom": "5.14.1",
"@testing-library/react": "12.0.0",
"@testing-library/react-hooks": "7.0.2",
"@testing-library/user-event": "^14.4.3",
"@types/faker": "5.5.8",
"@types/jest": "^26.0.24",
"@types/pbkdf2": "3.1.0",
"@types/pify": "5.0.1",
"@types/randombytes": "2.0.0",
"@types/react": "17.0.18",
"@types/react-copy-to-clipboard": "5.0.1",
"@types/react-dom": "17.0.9",
"@types/react-router-dom": "5.1.8",
"@types/storybook-react-router": "^1.0.2",
"@types/zxcvbn": "^4.4.1",
"@typescript-eslint/eslint-plugin": "^4.29.0",
"@typescript-eslint/parser": "^4.29.0",
"babel-jest": "28.1.3",
"babel-loader": "8.2.2",
"browserify-zlib": "^0.2.0",
"chromatic": "^6.7.0",
"clean-webpack-plugin": "4.0.0-alpha.0",
"constants-browserify": "^1.0.0",
"copy-webpack-plugin": "9.0.1",
"crypto-browserify": "^3.12.0",
"css-loader": "6.2.0",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.8.0",
"eslint-import-resolver-typescript": "^2.4.0",
"eslint-plugin-filenames": "^1.3.2",
"eslint-plugin-import": "^2.23.4",
"eslint-plugin-jest": "^24.4.0",
"eslint-plugin-lodash": "^7.4.0",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-promise": "^5.1.0",
"eslint-plugin-react": "^7.24.0",
"eslint-plugin-react-hooks": "^4.2.0",
"eslint-plugin-sonarjs": "^0.9.1",
"eslint-plugin-sort-keys": "^2.3.5",
"eslint-plugin-storybook": "^0.6.1",
"eslint-plugin-unicorn": "^35.0.0",
"faker": "5.5.3",
"file-loader": "^6.2.0",
"html-webpack-harddisk-plugin": "2.0.0",
"html-webpack-plugin": "5.3.2",
"https-browserify": "^1.0.0",
"husky": "^7.0.1",
"jest": "29.7.0",
"jest-canvas-mock": "^2.3.1",
"jest-environment-jsdom": "28.1.3",
"lint-staged": "^11.1.2",
"madr-tools": "^1.0.0",
"markdownlint-cli": "^0.31.1",
"node-gyp": "^9.4.0",
"node-polyfill-webpack-plugin": "^3.0.0",
"node-sass": "9.0.0",
"p-retry": "5.1.2",
"postcss": "8.3.6",
"prettier": "^2.3.2",
"raw-loader": "^4.0.2",
"rollup": "2.56.3",
"rollup-plugin-cleaner": "1.0.0",
"rollup-plugin-copy": "^3.4.0",
"rollup-plugin-node-polyfills": "0.2.1",
"rollup-plugin-peer-deps-external": "2.2.4",
"rollup-plugin-postcss": "4.0.1",
"sass-loader": "12.1.0",
"sort-package-json": "^2.4.1",
"standard-version": "^9.3.1",
"storybook-addon-designs": "^6.3.1",
"storybook-addon-mock": "^3.2.0",
"storybook-addon-outline": "^1.4.2",
"storybook-mock-date-decorator": "^1.0.0",
"storybook-react-router": "^1.0.8",
"stream-http": "^3.2.0",
"style-loader": "3.2.1",
"stylelint": "^15.6.1",
"stylelint-config-css-modules": "^4.2.0",
"stylelint-config-standard-scss": "^9.0.0",
"stylelint-order": "^6.0.3",
"swc-loader": "0.2.3",
"terser-webpack-plugin": "5.3.6",
"ts-jest": "29.1.2",
"ts-patch": "^2.0.1",
"typedoc": "^0.21.5",
"typescript": "^4.9.5",
"typescript-transform-paths": "3.3.1",
"webpack": "5.91.0",
"webpack-cli": "4.7.2",
"webpack-dev-server": "^4.9.3",
"webpack-merge": "5.8.0",
"webpack-subresource-integrity": "^5.1.0",
"wsrun": "^5.2.4"
},
"packageManager": "[email protected]"
}