Skip to content
This repository was archived by the owner on Feb 28, 2022. It is now read-only.

Commit 0f4ccd7

Browse files
committed
chore(qa): add semantic release + qa checking tools
1 parent 3d0e1f7 commit 0f4ccd7

3 files changed

Lines changed: 52 additions & 6 deletions

File tree

.travis.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,18 @@
1+
sudo: false
12
language: node_js
23
cache:
34
directories:
45
- node_modules
6+
notifications:
7+
email: false
58
node_js:
69
- '4'
10+
before_install:
11+
- npm i -g npm@^2.0.0
712
before_script:
8-
- webpack
13+
- npm prune
14+
after_success:
15+
- npm run semantic-release
16+
branches:
17+
except:
18+
- /^v\d+\.\d+\.\d+$/

README.md

Lines changed: 36 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,42 @@
11
Angular Leaflet Light
22
=====================
33

4-
[![Build Status](https://travis-ci.org/toutpt/angular-leaflet-light.svg?branch=master)](https://travis-ci.org/toutpt/angular-leaflet-light) [![Dependencies](https://david-dm.org/toutpt/angular-leaflet-light.svg)](https://david-dm.org/toutpt/angular-leaflet-light)
4+
5+
[![NPM][npm-icon] ][npm-url]
6+
7+
[![Travis CI][travis-ci-image] ][travis-ci-url]
8+
[![Codacy Badge][codacy-image] ][codacy-url]
9+
[![semantic-release][semantic-image] ][semantic-url]
10+
11+
[![Quality][quality-badge] ][quality-url]
12+
[![Coverage Status][coverage-image] ][coverage-url]
13+
[![Circle CI] [circle-icon] ][circle-url]
14+
15+
[![dependencies][dependencies-image] ][dependencies-url]
16+
[![devdependencies][devdependencies-image] ][devdependencies-url]
17+
18+
[npm-icon]: https://nodei.co/npm/angular-leaflet-light.png?downloads=true
19+
[npm-url]: https://npmjs.org/package/angular-leaflet-light
20+
[travis-ci-image]: https://travis-ci.org/toutpt/angular-leaflet-light.png?branch=master
21+
[travis-ci-url]: https://travis-ci.org/toutpt/travis-ci
22+
23+
[coverage-image]: https://coveralls.io/repos/toutpt/angular-leaflet-light/badge.png
24+
[coverage-url]: https://coveralls.io/r/toutpt/angular-leaflet-light
25+
[dependencies-image]: https://david-dm.org/toutpt/angular-leaflet-light.png
26+
[dependencies-url]: https://david-dm.org/toutpt/angular-leaflet-light
27+
[devdependencies-image]: https://david-dm.org/toutpt/angular-leaflet-light/dev-status.png
28+
[devdependencies-url]: https://david-dm.org/toutpt/angular-leaflet-light#info=devDependencies
29+
30+
[codacy-image]: https://api.codacy.com/project/badge/Grade/aa28c31e62114c2591e7a7e3161d48ca
31+
[codacy-url]: https://www.codacy.com/public/toutpt/angular-leaflet-light.git
32+
[semantic-image]: https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg
33+
[semantic-url]: https://github.com/semantic-release/semantic-release
34+
35+
[quality-badge]: http://npm.packagequality.com/shield/angular-leaflet-light.svg
36+
[quality-url]: http://packagequality.com/#?package=angular-leaflet-light
37+
38+
[circle-icon]: https://circleci.com/gh/toutpt/angular-leaflet-light.svg?style=svg
39+
[circle-url]: https://circleci.com/gh/toutpt/angular-leaflet-light
540

641

742
This project aims at providing a leaflet integration for angularjs.

package.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
{
22
"name": "angular-leaflet-light",
3-
"version": "0.0.3",
43
"description": "",
54
"repository": {
65
"type": "git",
7-
"url": "git://github.com/toutpt/angular-leaflet-light.git"
6+
"url": "https://github.com/toutpt/angular-leaflet-light.git"
87
},
98
"main": "dist/angular-leaflet.js",
109
"scripts": {
1110
"test": "karma start tests/karma.headless.conf.js --single-run",
1211
"build": "webpack && webpack --config webpack.config.min.js",
1312
"dev": "webpack-dev-server --watch",
1413
"gh-pages": "rm -rf gh-pages/dist && webpack && mv dist gh-pages/",
15-
"prepublish": "webpack && webpack --config webpack.config.min.js"
14+
"prepublish": "webpack && webpack --config webpack.config.min.js",
15+
"semantic-release": "semantic-release pre && npm publish && semantic-release post"
1616
},
1717
"author": {
1818
"name": "Jean-Michel FRANCOIS aka toutpt",
@@ -36,7 +36,8 @@
3636
"karma-phantomjs-launcher": "^1.0.0",
3737
"ng-describe": "^1.8.0",
3838
"phantomjs-prebuilt": "^2.1.3",
39-
"webpack": "^1.13.0"
39+
"webpack": "^1.13.0",
40+
"semantic-release": "^4.3.5"
4041
},
4142
"peerDependencies": {
4243
"phantomjs-prebuilt": ">=1.9"

0 commit comments

Comments
 (0)