Skip to content

Commit

Permalink
feat(pollinate): add pollinate templates
Browse files Browse the repository at this point in the history
  • Loading branch information
jedwards1211 committed Feb 19, 2017
1 parent 7f0d3b2 commit be0fafa
Show file tree
Hide file tree
Showing 5 changed files with 60 additions and 6 deletions.
22 changes: 22 additions & 0 deletions PROJECT-LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
The MIT License (MIT)

Copyright (c) 2016-present {{ author }}

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:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

9 changes: 9 additions & 0 deletions PROJECT-README
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# {{ name }}

[![Build Status](https://travis-ci.org/{{ organization }}/{{ name }}.svg?branch=master)](https://travis-ci.org/{{ organization }}/{{ name }})
[![Coverage Status](https://coveralls.io/repos/github/{{ organization }}/{{ name }}/badge.svg?branch=master)](https://coveralls.io/github/{{ organization }}/{{ name }}?branch=master)
[![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)
[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://commitizen.github.io/cz-cli/)

{{ description }}

1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,4 @@ This is my personal skeleton for creating an ES2015 library npm package. You ar
* semantic-release
* Travis CI
* Coveralls

12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "es2015-library-skeleton",
"name": "{{ name }}",
"version": "0.0.0-development",
"description": "my personal skeleton for ES2015 library NPM packages",
"description": "{{ description }}",
"main": "lib/index.js",
"scripts": {
"lint": "eslint src test",
Expand Down Expand Up @@ -39,17 +39,17 @@
},
"repository": {
"type": "git",
"url": "https://github.com/jedwards1211/es2015-library-skeleton.git"
"url": "https://github.com/{{ organization }}/{{ name }}.git"
},
"keywords": [
"es2015"
],
"author": "Andy Edwards",
"author": "{{ author }}",
"license": "MIT",
"bugs": {
"url": "https://github.com/jedwards1211/es2015-library-skeleton/issues"
"url": "https://github.com/{{ organization }}/{{ name }}/issues"
},
"homepage": "https://github.com/jedwards1211/es2015-library-skeleton#readme",
"homepage": "https://github.com/{{ organization }}/{{ name }}#readme",
"devDependencies": {
"@jedwards1211/eslint-config": "^1.0.0",
"@jedwards1211/eslint-config-flow": "^1.0.0",
Expand Down
22 changes: 22 additions & 0 deletions template.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"organization": "jedwards1211",
"name": "es2015-library-skeleton",
"description": "my personal skeleton for ES2015 library NPM packages",
"author": "Andy Edwards",
"parse": [
"PROJECT-README",
"PROJECT-LICENSE",
"package.json"
],
"discard": [
"README.md",
"LICENSE.md",
"template.json"
],
"move": [
{ "PROJECT-README": "README.md" },
{ "PROJECT-LICENSE": "LICENSE.md" }
],
"complete": "git remote rename origin skeleton && git checkout -b --squash master"
}

0 comments on commit be0fafa

Please sign in to comment.