Update preset README for new build instructions

This commit is contained in:
Bryan Housel
2016-10-02 21:08:07 -04:00
parent 1bdcaa9052
commit 710632f2d4
+9 -3
View File
@@ -217,10 +217,16 @@ names when identifying the icon to be used for a given preset.
## Building
To build presets, all you need to do is run `make`.
To build presets, all you need to do is run `npm run build`.
This command will take care of running the build script, which packages all presets
into one file: `dist/presets.js`, which is included in the packaged iD.js file.
The following files are autogenerated and will be replaced when rebuilding:
* `data/presets/categories.json`
* `data/presets/fields.json`
* `data/presets/presets.json`
* `data/presets.yaml`
* `data/taginfo.json`
* `dist/locales/en.json`
## Custom Presets