Skip to content

Commit

Permalink
publish npm
Browse files Browse the repository at this point in the history
  • Loading branch information
ynishi committed Jan 15, 2018
1 parent d9cbf12 commit 14a749c
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 3 deletions.
14 changes: 14 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
build/
config/
static/
src/
test/
node_modules/
/.babelrc
/.editorconfig
/.eslintignore
/.eslintrc.js
/.postcssrc.js
/package-lock.json
/yarn.lock
/.env
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,18 @@
# vuecsv

* CSV components for Vue.js

## Use

* sample is in index.cdn.html
```
npm run buildcdn && open dist/index.cdn.html
```
* CDN
```
https://unpkg.com/vuecsv/dist/static/js/app.cdn.js
https://unpkg.com/vuecsv/dist/static/css/app.cdn.js
```

## Build Setup

Expand Down
14 changes: 11 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,25 @@
{
"name": "vuecsv",
"version": "0.0.1",
"version": "0.0.2",
"description": "CSV components for Vue.js",
"homepage": "https://github.com/ynishi/vuecsv",
"repository": {
"type": "git",
"url": "https://github.com/ynishi/vuecsv.git"
},
"license": "MIT",
"main": "dist/static/js/app.cdn.js",
"author": "Yutaka Nishimura <[email protected]>",
"private": true,
"private": false,
"scripts": {
"dev": "webpack-dev-server --inline --progress --config build/webpack.dev.conf.js",
"start": "npm run dev",
"unit": "cross-env BABEL_ENV=test karma start test/unit/karma.conf.js --single-run",
"test": "npm run unit",
"lint": "eslint --ext .js,.vue src test/unit",
"build": "node build/build.js",
"buildcdn": "node build/build.cdn.js"
"buildcdn": "node build/build.cdn.js",
"prepare": "npm run buildcdn"
},
"dependencies": {
"file-saver": "^1.3.3",
Expand Down

0 comments on commit 14a749c

Please sign in to comment.