1
0
Fork 0

wrench: Added npm version scripts

This commit is contained in:
joostdecock 2018-07-26 12:21:30 +00:00 committed by Joost De Cock
parent 5f5717d066
commit 9445f30365
2 changed files with 10 additions and 0 deletions

View file

@ -44,6 +44,13 @@ You can use them as such:
snippets.logo = new F.snippet('logo-sm', points.logo);
```
## Example
Below is an example of the logo and the different sizes.
As you can see, the logo's anchor point is the chin.
![Example of the logo plugin](https://github.com/freesewing/plugin-logo/raw/master/img/example.png)
## Where to get help
Questions? Stuck? The [freesewing chat room on Gitter](https://gitter.im/freesewing/freesewing)

View file

@ -18,6 +18,9 @@
"main": "dist/node.js",
"unpkg": "dist/browser.js",
"scripts": {
"patch": "npm version patch -m \":bookmark: v%s\" && npm run build",
"minor": "npm version minor -m \":bookmark: v%s\" && npm run build",
"major": "npm version major -m \":bookmark: v%s\" && npm run build",
"precommit": "npm run pretty && lint-staged",
"test": "echo \"Error: no test specified\" && exit 1",
"clean": "rimraf dist",