Skip to content

Commit be0fafa

Browse files
committed
feat(pollinate): add pollinate templates
1 parent 7f0d3b2 commit be0fafa

File tree

5 files changed

+60
-6
lines changed

5 files changed

+60
-6
lines changed

PROJECT-LICENSE

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
The MIT License (MIT)
2+
3+
Copyright (c) 2016-present {{ author }}
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.
22+

PROJECT-README

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# {{ name }}
2+
3+
[![Build Status](https://travis-ci.org/{{ organization }}/{{ name }}.svg?branch=master)](https://travis-ci.org/{{ organization }}/{{ name }})
4+
[![Coverage Status](https://coveralls.io/repos/github/{{ organization }}/{{ name }}/badge.svg?branch=master)](https://coveralls.io/github/{{ organization }}/{{ name }}?branch=master)
5+
[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)
6+
[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://commitizen.github.io/cz-cli/)
7+
8+
{{ description }}
9+

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,4 @@ This is my personal skeleton for creating an ES2015 library npm package. You ar
2323
* semantic-release
2424
* Travis CI
2525
* Coveralls
26+

package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
2-
"name": "es2015-library-skeleton",
2+
"name": "{{ name }}",
33
"version": "0.0.0-development",
4-
"description": "my personal skeleton for ES2015 library NPM packages",
4+
"description": "{{ description }}",
55
"main": "lib/index.js",
66
"scripts": {
77
"lint": "eslint src test",
@@ -39,17 +39,17 @@
3939
},
4040
"repository": {
4141
"type": "git",
42-
"url": "https://github.com/jedwards1211/es2015-library-skeleton.git"
42+
"url": "https://github.com/{{ organization }}/{{ name }}.git"
4343
},
4444
"keywords": [
4545
"es2015"
4646
],
47-
"author": "Andy Edwards",
47+
"author": "{{ author }}",
4848
"license": "MIT",
4949
"bugs": {
50-
"url": "https://github.com/jedwards1211/es2015-library-skeleton/issues"
50+
"url": "https://github.com/{{ organization }}/{{ name }}/issues"
5151
},
52-
"homepage": "https://github.com/jedwards1211/es2015-library-skeleton#readme",
52+
"homepage": "https://github.com/{{ organization }}/{{ name }}#readme",
5353
"devDependencies": {
5454
"@jedwards1211/eslint-config": "^1.0.0",
5555
"@jedwards1211/eslint-config-flow": "^1.0.0",

template.json

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
{
2+
"organization": "jedwards1211",
3+
"name": "es2015-library-skeleton",
4+
"description": "my personal skeleton for ES2015 library NPM packages",
5+
"author": "Andy Edwards",
6+
"parse": [
7+
"PROJECT-README",
8+
"PROJECT-LICENSE",
9+
"package.json"
10+
],
11+
"discard": [
12+
"README.md",
13+
"LICENSE.md",
14+
"template.json"
15+
],
16+
"move": [
17+
{ "PROJECT-README": "README.md" },
18+
{ "PROJECT-LICENSE": "LICENSE.md" }
19+
],
20+
"complete": "git remote rename origin skeleton && git checkout -b --squash master"
21+
}
22+

0 commit comments

Comments
 (0)