@wise/art 1.0.1 → 1.1.0
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 +3 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wise/art",
|
|
3
|
-
"version": "1.0
|
|
3
|
+
"version": "1.1.0",
|
|
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,11 +19,12 @@
|
|
|
19
19
|
"scripts": {
|
|
20
20
|
"setup": "yarn && yarn build",
|
|
21
21
|
"load-i10s": "cpx 'node_modules/wise-atoms/illustrations/**/*.png' temp",
|
|
22
|
+
"load-flags": "cpx 'node_modules/wise-atoms/flags/*.svg' s3-bucket/flags && node ./scripts/rename-flags-generate-metadata.mjs",
|
|
22
23
|
"convert-i10s-png-to-webp": "rm -rf s3-bucket/illustrations/ && node ./scripts/convert-png-to-webp.mjs",
|
|
23
24
|
"generate-i10s-metadata": "node ./scripts/generate-i10s-metadata.mjs && eslint 'src/illustrations/metadata.ts' --fix",
|
|
24
25
|
"bundle": "rm -rf dist && microbundle --jsxFragment React.Fragment --jsx React.createElement && cpx src/illustrations/Illustration.css dist/",
|
|
25
26
|
"cleanup": "rm -rf temp",
|
|
26
|
-
"build": "yarn load-i10s && yarn convert-i10s-png-to-webp && yarn generate-i10s-metadata && yarn bundle && yarn cleanup",
|
|
27
|
+
"build": "yarn load-i10s && yarn load-flags && yarn convert-i10s-png-to-webp && yarn generate-i10s-metadata && yarn bundle && yarn cleanup",
|
|
27
28
|
"start": "start-storybook -p 3001",
|
|
28
29
|
"dev": "yarn start",
|
|
29
30
|
"test": "release-to-github-with-changelog-pre-release-checks",
|