wrench: Added npm version scripts
This commit is contained in:
parent
5f5717d066
commit
9445f30365
2 changed files with 10 additions and 0 deletions
|
@ -44,6 +44,13 @@ You can use them as such:
|
||||||
snippets.logo = new F.snippet('logo-sm', points.logo);
|
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.
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
## Where to get help
|
## Where to get help
|
||||||
|
|
||||||
Questions? Stuck? The [freesewing chat room on Gitter](https://gitter.im/freesewing/freesewing)
|
Questions? Stuck? The [freesewing chat room on Gitter](https://gitter.im/freesewing/freesewing)
|
||||||
|
|
|
@ -18,6 +18,9 @@
|
||||||
"main": "dist/node.js",
|
"main": "dist/node.js",
|
||||||
"unpkg": "dist/browser.js",
|
"unpkg": "dist/browser.js",
|
||||||
"scripts": {
|
"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",
|
"precommit": "npm run pretty && lint-staged",
|
||||||
"test": "echo \"Error: no test specified\" && exit 1",
|
"test": "echo \"Error: no test specified\" && exit 1",
|
||||||
"clean": "rimraf dist",
|
"clean": "rimraf dist",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue