├── .babelrc
├── .editorconfig
├── .github
└── PULL_REQUEST_TEMPLATE.md
├── .gitignore
├── .jshintrc
├── .npmignore
├── .travis.yml
├── CONTRIBUTING.md
├── README.md
├── docs.json
├── karma
├── conf.js
├── karma.conf.js
└── karma.travis.conf.js
├── package.json
├── src
├── index.js
├── index.spec.js
├── leaflet.controller.js
├── leaflet.provider.js
├── leaflet.service.js
└── leaflet.service.spec.js
├── webpack.config.js
└── webpack.config.min.js
/.babelrc:
--------------------------------------------------------------------------------
1 | {
2 | "presets": ["es2015"]
3 | }
--------------------------------------------------------------------------------
/.editorconfig:
--------------------------------------------------------------------------------
1 | # http://editorconfig.org
2 | root = true
3 |
4 | [*]
5 | indent_style = space
6 | indent_size = 4
7 | end_of_line = lf
8 | charset = utf-8
9 | trim_trailing_whitespace = true
10 | insert_final_newline = true
11 |
12 | [*.md]
13 | trim_trailing_whitespace = false
14 |
15 | [*.html]
16 | indent_style = tab
17 | tab_width = 4
18 |
19 | [*.json]
20 | indent_style = space
21 | indent_size = 2
22 |
23 |
--------------------------------------------------------------------------------
/.github/PULL_REQUEST_TEMPLATE.md:
--------------------------------------------------------------------------------
1 | **Please check if the PR fulfills these requirements**
2 |
3 | - [ ] The commit(s) message(s) follows our [guidelines](https://github.com/toutpt/angular-osm/blob/master/CONTRIBUTING.md#commit-message-format)
4 | - [ ] Tests for the changes have been added (for bug fixes / features)
5 | - [ ] Docs have been added / updated (for bug fixes / features)
6 |
7 | **What is the current behavior?** (You can also link to an open issue here)
8 |
9 |
10 |
11 | **What is the new behavior?**
12 |
13 |
14 |
15 | **Does this PR introduce a breaking change?**
16 |
17 | - [ ] Yes
18 | - [ ] No
19 |
20 | If this PR contains a breaking change, please describe the impact and migration path for existing applications: ...
21 |
22 |
23 | **Other information**:
24 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | /examples
2 | /gh-pages
3 | /coverage
4 | *.orig
5 | *.project
6 | .htaccess
7 | *.swp
8 | *.tar.gz
9 | /node_modules
10 | /dist
11 | /tests/coverage
12 |
--------------------------------------------------------------------------------
/.jshintrc:
--------------------------------------------------------------------------------
1 | {
2 | "esnext": true,
3 | "globalstrict": true,
4 | "globals": {
5 | "angular": false,
6 | "describe": false,
7 | "it": false,
8 | "expect": false,
9 | "beforeEach": false,
10 | "afterEach": false,
11 | "module": false,
12 | "inject": false,
13 | "ngDescribe": false,
14 | "L": false
15 | },
16 | "camelcase": false,
17 | "latedef": "nofunc"
18 | }
19 |
--------------------------------------------------------------------------------
/.npmignore:
--------------------------------------------------------------------------------
1 | *.orig
2 | *.project
3 | .htaccess
4 | *.swp
5 | *.tar.gz
6 | /node_modules
7 | /tests/coverage
8 | .babelrc
9 | .jshintrc
10 | .travis.yml
11 | /tests
12 | /webpack*
13 | .editorconfig
14 | .npmignore
15 | /gh-pages
--------------------------------------------------------------------------------
/.travis.yml:
--------------------------------------------------------------------------------
1 | sudo: false
2 | language: node_js
3 | cache:
4 | directories:
5 | - node_modules
6 | notifications:
7 | email: false
8 | node_js:
9 | - '4'
10 | before_install:
11 | - npm i -g npm@^2.0.0
12 | before_script:
13 | - npm prune
14 | after_success:
15 | - npm run semantic-release
16 | - cat coverage/PhantomJS*/lcov.info | ./node_modules/coveralls/bin/coveralls.js
17 | branches:
18 | except:
19 | - /^v\d+\.\d+\.\d+$/
20 |
--------------------------------------------------------------------------------
/CONTRIBUTING.md:
--------------------------------------------------------------------------------
1 | # Contributing to the project
2 |
3 | :+1::tada: First off, thanks for taking the time to contribute! :tada::+1:
4 |
5 | Here are the guidelines we'd like you to follow:
6 |
7 | - [Pull Requests](#pullrequest)
8 | - [Commit Message Guidelines](#commit)
9 |
10 | ## Github Pull Requests
11 |
12 | QA: Quality Assurance
13 | PR: Pull Request
14 | CI: Continuous Integration (Travis)
15 |
16 | Here is the workflow for pull requests we are using.
17 |
18 | 1. Submit your pull request.
19 | => the CI should kick tests so you will have feedback about the different QA
20 | 2. If any issues are marked on the PR by CI please fix them. No broken PR will be reviewed.
21 | 3. Once the quality checks are OK, and you need your PR to be reviewed you must use the label **Need review**. If your PR is still a work in progress, do not use any label but this means no review will be performed.
22 | 4. The components owners will then identify who is going to do the review and then assign it. The reviewer will recieve an automatic mail notification.
23 | 6. We use the new review system of github so you will know if the reviewer request changes, approve it or just add some comments.
24 | 7. if any changes are requested please fix them and then once you are ready request a new review by ping the reviewer throw github
25 |
26 | ## Git Commit Guidelines
27 |
28 | We have very precise rules over how our git commit messages can be formatted. This leads to **more
29 | readable messages** that are easy to follow when looking through the **project history**.
30 |
31 | ### Commit Message Format
32 | Each commit message consists of a **header**, a **body** and a **footer**. The header has a special
33 | format that includes a **type**, a **scope** and a **subject**:
34 |
35 | ```
36 | ():
37 |
38 |
39 |
40 |