Skip to content

Commit

Permalink
Merge pull request #1 from TanakaYutaro/publish
Browse files Browse the repository at this point in the history
Setup publish
  • Loading branch information
tanakaworld committed Nov 19, 2015
2 parents 94a605f + adc644c commit 1fff852
Show file tree
Hide file tree
Showing 5 changed files with 51 additions and 2 deletions.
10 changes: 10 additions & 0 deletions Gruntfile.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,18 @@ module.exports = (grunt)->
url: "https://spreadsheets.google.com/feeds/cells/1vyPu1EtzU1DvGXfthjrR-blJ8mGe75TL4BFNWtFMm0I/od6/public/values?alt=json"
dest: 'spec/fixtures/sampleDataFeed.json'

'closure-compiler':
publish:
js: 'dist/googleSpreadsheetsParser.js'
jsOutputFile: 'dist/googleSpreadsheetsParser.min.js'
noreport: true
options:
compilation_level: 'SIMPLE_OPTIMIZATIONS'

grunt.loadNpmTasks 'grunt-contrib-coffee'
grunt.loadNpmTasks 'grunt-karma'
grunt.loadNpmTasks 'grunt-http'
grunt.loadNpmTasks 'grunt-closure-compiler'

grunt.registerTask 'spec', ['http', 'karma']
grunt.registerTask 'publish', ['coffee:dist', 'closure-compiler:publish']
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,22 @@
# google-spreadsheets-parser
Simple Google Spreadsheets parser for JavaScript

## Installation

#### NPM
```
npm install google-spreadsheets-parser
```

#### Bower
```
bower install google-spreadsheets-parser
```

#### Manual Download
Download from [here](https://github.com/TanakaYutaro/google-spreadsheets-parser/releases)


## Introduction

1. Create new Google Spreadsheet
Expand Down
17 changes: 17 additions & 0 deletions bower.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"name": "google-spreadsheets-parser",
"version": "0.1.0",
"homepage": "https://github.com/TanakaYutaro/google-spreadsheets-parser",
"authors": [
"yutaro <yutaro.tanaka.world@gmail.com>"
],
"description": "Simple Google Spreadsheets parser for JavaScript",
"license": "MIT",
"keywords": [
"google",
"spreadsheet",
"google drive",
"parser",
"json"
]
}
4 changes: 4 additions & 0 deletions dist/googleSpreadsheetsParser.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,18 @@
{
"name": "google-spread-sheet-parser",
"name": "google-spreadsheets-parser",
"description": "Simple Google Spreadsheets parser for JavaScript",
"version": "0.1.0",
"scripts": {
"test": "grunt spec"
},
"keywords": [
"google",
"spreadsheet",
"google drive",
"parser",
"json"
],
"author": "@tanaka_yutaro",
"author": "yutaro <yutaro.tanaka.world@gmail.com>",
"license": "MIT",
"repository": "git@github.com:TanakaYutaro/google-spreadsheets-parser.git",
"devDependencies": {
Expand Down

0 comments on commit 1fff852

Please sign in to comment.