Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/icons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXhmikosR <xhmikosr@gmail.com>2019-10-11 18:11:10 +0300
committerXhmikosR <xhmikosr@gmail.com>2019-10-28 13:43:37 +0300
commita975033db072db8cc625d483241169cfb6150c5a (patch)
tree50a0647d7ef8e36af75b56ee9b31b7f934aba530 /README.md
parent5415f4e5f0daa55ed394f411c69826f41ede53cb (diff)
Merge the two icons scripts.
Runs SVGO first and then adds the attributes. Also, show the time spent.
Diffstat (limited to 'README.md')
-rw-r--r--README.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/README.md b/README.md
index d01c06877..1ae048fdd 100644
--- a/README.md
+++ b/README.md
@@ -44,12 +44,12 @@ Then open `http://localhost:4000` in your browser.
## Adding SVGs
-Once a new SVG icon has been added to the `icons` directory, you'll need to prep and build them. Two npm scripts are used to optimize and modify the HTML source code of our SVGs.
+Once a new SVG icon has been added to the `icons` directory, you'll need to optimize them. An npm script is used to optimize and modify the HTML source code of our SVGs.
-1. `npm run icons-prep` runs SVGO on our SVGs.
-2. `npm run icons-build` processes the HTML, removes all attributes, and then sets new attributes and values in a particular order.
+1. It runs SVGO on our SVGs.
+2. Then processes the HTML, removes all attributes, and then sets new attributes and values in a particular order.
-Use `npm run icons` to run them in order, then commit the results in a new branch for updating.
+Use `npm run icons` to run the script, then commit the results in a new branch for updating.
## Publishing