Skip to content

Commit 6c6dcc2

Browse files
authored
setup deploy on push to master with tags (#20)
* setup deploy on push to master with tags * Update .travis.yml
1 parent 5830466 commit 6c6dcc2

4 files changed

Lines changed: 55 additions & 0 deletions

File tree

.editorconfig

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
root = true
2+
3+
[*]
4+
insert_final_newline = true
5+
charset = utf-8
6+
trim_trailing_whitespace = true
7+
end_of_line = lf
8+
9+
[*.{js,json}]
10+
indent_style = space
11+
indent_size = 2

.travis.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
git:
2+
depth: 3
3+
sudo: false
4+
language: node_js
5+
cache:
6+
directories:
7+
- node_modules
8+
node_js:
9+
- '6'
10+
env:
11+
- EXTENSION_ID=cjbacdldhllelehomkmlniifaojgaeph
12+
deploy:
13+
provider: script
14+
script: npm run release
15+
on:
16+
branch: master
17+
tags: true

LICENSE

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
The MIT License (MIT)
2+
23
Copyright (c) 2016 Henry Zhu <[email protected]>
34

45
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

package.json

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{
2+
"name": "github-contributor-extension",
3+
"private": true,
4+
"version": "1.0.0",
5+
"description": "Show github contributor's stats (# of Issues/PRs)",
6+
"main": "index.js",
7+
"dependencies": {},
8+
"devDependencies": {
9+
"chrome-webstore-upload-cli": "^1.0.3"
10+
},
11+
"scripts": {
12+
"test": "echo \"Error: no test specified\" && exit 1",
13+
"release": "webstore upload --source=src --auto-publish"
14+
},
15+
"repository": {
16+
"type": "git",
17+
"url": "git+https://github.com/hzoo/contributors-on-github.git"
18+
},
19+
"keywords": [],
20+
"author": "Henry Zhu",
21+
"license": "MIT",
22+
"bugs": {
23+
"url": "https://github.com/hzoo/contributors-on-github/issues"
24+
},
25+
"homepage": "https://github.com/hzoo/contributors-on-github#readme"
26+
}

0 commit comments

Comments
 (0)