@wise/art 2.3.2 → 2.3.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +6 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wise/art",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.3",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "React library for art elements in UI",
|
|
6
6
|
"homepage": "https://github.com/transferwise/web-art#readme",
|
|
@@ -19,13 +19,15 @@
|
|
|
19
19
|
"scripts": {
|
|
20
20
|
"setup": "yarn && yarn build",
|
|
21
21
|
"load-i10s": "copyfiles -u 3 node_modules/wise-atoms/illustrations/**/*.png temp",
|
|
22
|
+
"load-flags": "yarn load-country-flags && yarn load-currency-flags && yarn transform-flags",
|
|
22
23
|
"load-country-flags": "copyfiles -u 3 node_modules/wise-atoms/flags/*.svg s3-bucket/flags && node ./scripts/generate-country-flags.mjs",
|
|
23
24
|
"load-currency-flags": "copyfiles -u 3 node_modules/wise-atoms/flags/.metadata.json s3-bucket/flags && node ./scripts/generate-currency-flags.mjs",
|
|
25
|
+
"transform-flags": "node ./scripts/transform-flags.mjs",
|
|
24
26
|
"convert-i10s-png-to-webp": "rm -rf s3-bucket/illustrations/ && copyfiles --f node_modules/wise-atoms/illustrations/**/*.png s3-bucket/illustrations && node ./scripts/convert-png-to-webp.mjs",
|
|
25
27
|
"generate-i10s-metadata": "node ./scripts/generate-i10s-metadata.mjs && eslint 'src/illustrations/metadata.ts' --fix",
|
|
26
28
|
"bundle": "rm -rf dist && microbundle --jsxFragment React.Fragment --jsx React.createElement && cpx src/illustrations/Illustration.css dist/",
|
|
27
29
|
"cleanup": "rm -rf temp",
|
|
28
|
-
"build": "yarn load-i10s && yarn
|
|
30
|
+
"build": "yarn load-i10s && yarn convert-i10s-png-to-webp && yarn generate-i10s-metadata && yarn load-flags && yarn bundle && yarn cleanup",
|
|
29
31
|
"start": "start-storybook -p 3001",
|
|
30
32
|
"dev": "yarn start",
|
|
31
33
|
"test": "release-to-github-with-changelog-pre-release-checks",
|
|
@@ -37,6 +39,8 @@
|
|
|
37
39
|
"wise-atoms": "git+ssh://git@github.com:transferwise/wise-atoms.git#2fa3ee7faf1ab88367c376d8432051e0ca23a6ea",
|
|
38
40
|
"imagemin": "^8.0.1",
|
|
39
41
|
"imagemin-webp": "^7.0.0",
|
|
42
|
+
"@types/jsdom": "^21.1.0",
|
|
43
|
+
"jsdom": "~21.1.1",
|
|
40
44
|
"@types/imagemin": "^8.0.0",
|
|
41
45
|
"@types/imagemin-webp": "^7.0.0",
|
|
42
46
|
"@types/jest": "^28.1.6",
|