Skip to content

Commit

Permalink
Merge pull request #11 from tynopet/npm
Browse files Browse the repository at this point in the history
feat: preparing to npm publish
  • Loading branch information
Дмитрий Гуденков authored Aug 11, 2017
2 parents 5b83052 + 855c2c1 commit e350d77
Show file tree
Hide file tree
Showing 5 changed files with 34 additions and 28 deletions.
15 changes: 15 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
.DS_Store
node_modules/
dist/
npm-debug.log*
yarn-debug.log*
yarn-error.log*
selenium-debug.log
test/

# Editor directories and files
.idea
*.suo
*.ntvs*
*.njsproj
*.sln
25 changes: 4 additions & 21 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,30 +1,13 @@
![Build status](https://travis-ci.org/tynopet/vue-gantt.svg?branch=master)

# vue-gantt

> Gantt diagramm for onyma CRM
> Vue component for display Gantt Diagramm
## Build Setup

``` bash
# install dependencies
npm install

# serve with hot reload at localhost:8080
npm run dev

# build for production with minification
npm run build

# build for production and view the bundle analyzer report
npm run build --report

# run unit tests
npm run unit

# run e2e tests
npm run e2e

# run all tests
npm test
npm install vue-gantt
```

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).
17 changes: 11 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
{
"name": "gantt",
"version": "1.0.0",
"description": "Gantt diagramm for onyma CRM",
"author": "tynopet <dimangud@rambler.ru>",
"private": true,
"name": "vue-gantt",
"version": "1.0.1",
"description": "Vue component for display Gantt Diagramm",
"author": "Dmitry Gudenkov (tynopet) <dimangud1994@gmail.com>",
"license": "MIT",
"main": "src/index.js",
"repository": {
"type": "git",
"url": "git+https://github.com/tynopet/vue-gantt.git"
},
"scripts": {
"dev": "node build/dev-server.js",
"start": "node build/dev-server.js",
Expand Down Expand Up @@ -94,4 +99,4 @@
"last 2 versions",
"not ie <= 8"
]
}
}
2 changes: 1 addition & 1 deletion src/components/Gantt.vue
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import {
getViewportInMilliseconds,
normalizeDate,
transformInputValues,
} from '@/hellpers';
} from './../hellpers';
import GanttLegend from './GanttLegend';
import GanttHeader from './GanttHeader';
import GanttBody from './GanttBody';
Expand Down
3 changes: 3 additions & 0 deletions src/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import Gantt from './components/Gantt';

export default Gantt;

0 comments on commit e350d77

Please sign in to comment.