Skip to content

Commit 1fff852

Browse files
committed
Merge pull request #1 from TanakaYutaro/publish
Setup publish
2 parents 94a605f + adc644c commit 1fff852

File tree

5 files changed

+51
-2
lines changed

5 files changed

+51
-2
lines changed

Gruntfile.coffee

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,18 @@ module.exports = (grunt)->
2525
url: "https://spreadsheets.google.com/feeds/cells/1vyPu1EtzU1DvGXfthjrR-blJ8mGe75TL4BFNWtFMm0I/od6/public/values?alt=json"
2626
dest: 'spec/fixtures/sampleDataFeed.json'
2727

28+
'closure-compiler':
29+
publish:
30+
js: 'dist/googleSpreadsheetsParser.js'
31+
jsOutputFile: 'dist/googleSpreadsheetsParser.min.js'
32+
noreport: true
33+
options:
34+
compilation_level: 'SIMPLE_OPTIMIZATIONS'
35+
2836
grunt.loadNpmTasks 'grunt-contrib-coffee'
2937
grunt.loadNpmTasks 'grunt-karma'
3038
grunt.loadNpmTasks 'grunt-http'
39+
grunt.loadNpmTasks 'grunt-closure-compiler'
3140

3241
grunt.registerTask 'spec', ['http', 'karma']
42+
grunt.registerTask 'publish', ['coffee:dist', 'closure-compiler:publish']

README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,22 @@
33
# google-spreadsheets-parser
44
Simple Google Spreadsheets parser for JavaScript
55

6+
## Installation
7+
8+
#### NPM
9+
```
10+
npm install google-spreadsheets-parser
11+
```
12+
13+
#### Bower
14+
```
15+
bower install google-spreadsheets-parser
16+
```
17+
18+
#### Manual Download
19+
Download from [here](https://github.com/TanakaYutaro/google-spreadsheets-parser/releases)
20+
21+
622
## Introduction
723

824
1. Create new Google Spreadsheet

bower.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"name": "google-spreadsheets-parser",
3+
"version": "0.1.0",
4+
"homepage": "https://github.com/TanakaYutaro/google-spreadsheets-parser",
5+
"authors": [
6+
"yutaro <yutaro.tanaka.world@gmail.com>"
7+
],
8+
"description": "Simple Google Spreadsheets parser for JavaScript",
9+
"license": "MIT",
10+
"keywords": [
11+
"google",
12+
"spreadsheet",
13+
"google drive",
14+
"parser",
15+
"json"
16+
]
17+
}

dist/googleSpreadsheetsParser.min.js

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,18 @@
11
{
2-
"name": "google-spread-sheet-parser",
2+
"name": "google-spreadsheets-parser",
3+
"description": "Simple Google Spreadsheets parser for JavaScript",
34
"version": "0.1.0",
45
"scripts": {
56
"test": "grunt spec"
67
},
78
"keywords": [
89
"google",
910
"spreadsheet",
11+
"google drive",
1012
"parser",
1113
"json"
1214
],
13-
"author": "@tanaka_yutaro",
15+
"author": "yutaro <yutaro.tanaka.world@gmail.com>",
1416
"license": "MIT",
1517
"repository": "git@github.com:TanakaYutaro/google-spreadsheets-parser.git",
1618
"devDependencies": {

0 commit comments

Comments
 (0)