Skip to content

Commit

Permalink
Build document
Browse files Browse the repository at this point in the history
  • Loading branch information
ittus committed Feb 13, 2019
1 parent 98ca72b commit 8e11d73
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# vue-long-click

Vue long click (longpress) directive
> Vue long click (longpress) directive
[![npm version](https://badge.fury.io/js/vue-long-click.svg)](https://www.npmjs.com/package/vue-long-click)

![DemoGIF](./images/demo.gif)

Expand Down Expand Up @@ -41,7 +43,7 @@ yarn install
yarn run serve

## Build library
yarn run build-lib
yarn run build:lib

## Run tests
yarn run test
Expand Down
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,10 @@
},
"scripts": {
"serve": "vue-cli-service serve",
"build": "vue-cli-service build",
"build:docs": "vue-cli-service build --dest dist/docs",
"build": "yarn build:docs && yarn build:lib",
"lint": "vue-cli-service lint",
"build-lib": "vue-cli-service build --target lib --name vue-long-click ./src/index.js"
"build:lib": "vue-cli-service build --target lib --dest dist/libs --name vue-long-click ./src/index.js"
},
"keywords": [
"longpress",
Expand All @@ -25,7 +26,7 @@
"dependencies": {
"vue": "^2.5.22"
},
"main": "./dist/vue-long-click.common.js",
"main": "./dist/libs/vue-long-click.common.js",
"files": [
"dist/*",
"src/*"
Expand Down

0 comments on commit 8e11d73

Please sign in to comment.