Commit 7dc8a8f3 authored by Marc Mautz's avatar Marc Mautz

added publish run script & notes

parent 9f9ca1f5
......@@ -180,32 +180,19 @@ settings: {
}
```
## Tests
WIP!
## Devlopment
WIP!
```bash
# serve with hot reload at localhost:8080
yarn run dev
# distribution build with minification
yarn run build
### Publish to npmjs.com
# build the documentation into docs
yarn run docs
Login via `npm login`
# run unit tests
yarn run test
# run unit tests watch
yarn run unit-watch
```
For detailed explanation on how things work, checkout the [guide](http://vuejs-templates.github.io/webpack/) and [docs for vue-loader](http://vuejs.github.io/vue-loader).
yarn publish
```
or
```
npm publish ./ --access public
```
### Further Information
......
......@@ -4,7 +4,8 @@
"description": "A \"ShuffleJs\" plugin for Vue.js",
"main": "src/index.js",
"scripts": {
"build": "rimraf ./dist && webpack --display-error-details --config ./build/webpack.bundle.conf.js"
"build": "rimraf ./dist && webpack --display-error-details --config ./build/webpack.bundle.conf.js",
"publish": "npm publish ./ --access public"
},
"repository": "https://git.hrzg.de/dmstr/vue-shufflejs-plugin.git",
"author": "Marc Mautz <m.mautz@herzogkommunikation.de>",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment