Skip to content
This repository was archived by the owner on May 3, 2020. It is now read-only.

Commit 9efc66e

Browse files
committed
feat(travis): android-splash -> @randy.tarampi/android-splash
1 parent 580c07e commit 9efc66e

File tree

4 files changed

+46
-19
lines changed

4 files changed

+46
-19
lines changed

.releaserc

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
plugins:
2+
- "@semantic-release/commit-analyzer"
3+
- "@semantic-release/release-notes-generator"
4+
- "@semantic-release/changelog"
5+
- "@semantic-release/npm"
6+
- - "@semantic-release/git"
7+
- assets:
8+
- package.json
9+
- package-lock.json
10+
- CHANGELOG.md
11+
message: "release(travis): Release ${nextRelease.version}\n\n[skip ci]\n\n${nextRelease.notes}"
12+
- "@semantic-release/github"

.travis.yml

Lines changed: 21 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,24 @@ notifications:
44
email: false
55
dist: xenial
66
node_js:
7-
- 8
8-
- 4
9-
- 6
10-
- 10
11-
- node
12-
after_success:
13-
- npm run semantic-release
14-
branches:
15-
except:
16-
- /^v\d+\.\d+\.\d+$/
7+
- 8
8+
- 4
9+
- 6
10+
- 10
11+
- node
12+
before_deploy:
13+
- git config --local user.name "$TRAVIS_AUTHOR_NAME"
14+
- git config --local user.email "$TRAVIS_AUTHOR_EMAIL"
15+
deploy:
16+
provider: script
17+
script: npx semantic-release
18+
skip_cleanup: true
19+
on:
20+
branch: master
21+
node: 8
22+
os: linux
23+
sudo: false
24+
env:
25+
global:
26+
- secure: W+MwSqCs9VAe/cNrYvyrLvTzRbBUbWF8rVX3jQB0yLBLA0WbO74iIMrFnkyUyOcaa3tEsdzZwAwbHse5t1fmPruGXsdnM2P2ugUZJFUvOfNCn1zV4fyxJZfD3uzqDaGr3Nx2D6nyFLZBVaNrMVKnIgRVJaR1aSUCPabQt5RtkKi8Ei+ta665GhV6LpPIZvQbgUgNOI0fBN3zg1opxxPteqPIKY+KezvVUvO+PDfzRgp6uoJvd7k8xx0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j4hpD9jgSVW1a5yNr1WdgQgsLdV0lLtu/6L5m3ds=

package.json

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,28 @@
11
{
2-
"name": "android-splash",
2+
"name": "@randy.tarampi/android-splash",
33
"version": "0.0.0-development",
44
"description": "Get android splash screen files names and dimensions",
55
"dependencies": {
66
"abbrev": "^1.0.5",
77
"yargs": "^8.0.1"
88
},
99
"devDependencies": {
10-
"semantic-release": "^6.3.2",
10+
"@semantic-release/changelog": "^3.0.2",
11+
"@semantic-release/git": "^7.0.8",
12+
"semantic-release": "^15.13.3",
1113
"standard": "^10.0.0",
1214
"tape": "^4.0.0"
1315
},
1416
"bin": "./bin/android-splash.js",
1517
"main": "index.js",
16-
"author": "David Pfahler <david@excellenteasy.com>",
18+
"author": "Randy Tarampi <randy.tarampi@gmail.com>",
1719
"engines": {
1820
"iojs": "^1",
1921
"node": "^0.10",
2022
"npm": "^2"
2123
},
2224
"scripts": {
23-
"test": "standard && node test.js",
24-
"semantic-release": "semantic-release pre && npm publish && semantic-release post"
25+
"test": "standard && node test.js"
2526
},
2627
"files": [
2728
"index.js",
@@ -38,8 +39,11 @@
3839
"phonegap"
3940
],
4041
"license": "MIT",
42+
"publishConfig": {
43+
"access": "public"
44+
},
4145
"repository": {
4246
"type": "git",
43-
"url": "https://github.com/excellenteasy/android-splash"
47+
"url": "https://github.com/randytarampi/android-splash"
4448
}
4549
}

readme.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,14 @@ The default splash screen image file names and required sizes for android are li
1212
## Install
1313

1414
```sh
15-
$ npm install --save android-splash
15+
$ npm install --save @randy.tarampi/android-splash
1616
```
1717

1818

1919
## Usage
2020

2121
```js
22-
var splash = require('android-splash');
22+
var splash = require('@randy.tarampi/android-splash');
2323

2424
splash();
2525
//=> [{"name":"GooglePlayFeature.png","width":1024,"height":500}, ...]
@@ -36,7 +36,7 @@ Returns an array of splash screen images, each image being represented by an obj
3636
> android-splash logs to stdout in comma-separated values format (csv) by default so you can easy pipe to other commands in UNIX systems.
3737
3838
```sh
39-
$ npm install --global android-splash
39+
$ npm install --global @randy.tarampi/android-splash
4040
```
4141

4242
```sh

0 commit comments

Comments
 (0)