Skip to content

Commit ddfbee0

Browse files
committed
chore(init): initial commit
0 parents  commit ddfbee0

24 files changed

+17486
-0
lines changed

.babelrc

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"presets":["@travi"],"ignore":["./lib/"]}

.commitlintrc.js

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
module.exports = {extends: ['travi']};

.czrc

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"path":"./node_modules/cz-conventional-changelog"}

.editorconfig

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# EditorConfig is awesome: http://EditorConfig.org
2+
3+
# top-most EditorConfig file
4+
root = true
5+
6+
[*]
7+
charset = utf-8
8+
trim_trailing_whitespace = true
9+
indent_style = space
10+
indent_size = 2
11+
end_of_line = lf
12+
insert_final_newline = true

.eslintignore

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
/lib/
2+
/coverage/

.eslintrc.yml

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
extends:
2+
- '@travi'
3+
- '@travi/mocha'

.gitattributes

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* text=auto

.github/settings.yml

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
_extends: .github
2+
repository:
3+
name: core-components
4+
description: core React components for Travi.org sites
5+
homepage: 'https://npm.im/@travi/core-components'
6+
private: false

.gitignore

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
/node_modules/
2+
/lib/
3+
/storybook-static/
4+
/coverage/
5+
/.nyc_output/
6+
7+
.eslintcache

.huskyrc.json

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"hooks":{"pre-commit":"npm test","commit-msg":"commitlint -e"}}

.mocharc.json

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"ui":"tdd","require":["@babel/register","./test/mocha-setup.js"],"recursive":true}

.npmrc

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
update-notifier=false

.nvmrc

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
v12

.nycrc

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"reporter":["lcov","text-summary","html"],"exclude":["src/**/*-test.js","test/","thirdparty-wrappers/","vendor/"]}

.remarkrc.js

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
exports.plugins = [
2+
'remark-preset-lint-travi'
3+
];

.storybook/config.js

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
import {configure} from '@storybook/react';
2+
3+
configure(require.context('../src', true, /\.stories\.js$/), module);

.travis.yml

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
version: ~> 1.0
2+
notifications:
3+
email: false
4+
import:
5+
- source: 'form8ion/.travis-ci:node.yml'
6+
- source: 'travi-org/.travis-ci:authenticated-semantic-release.yml'
7+
after_success: 'npm run coverage:report'

LICENSE

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

README.md

+57
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
# core-components
2+
3+
core React components for Travi.org sites
4+
5+
<!-- status badges -->
6+
[![Build Status][ci-badge]][ci-link]
7+
8+
## Usage
9+
10+
<!-- consumer badges -->
11+
[![npm][npm-badge]][npm-link]
12+
[![Try @travi&#x2F;core-components on RunKit][runkit-badge]][runkit-link]
13+
[![MIT license][license-badge]][license-link]
14+
15+
### Installation
16+
17+
```sh
18+
$ npm install @travi/travi.org-core-components --save-prod
19+
```
20+
21+
## Contributing
22+
23+
<!-- contribution badges -->
24+
[![Conventional Commits][commit-convention-badge]][commit-convention-link]
25+
[![Commitizen friendly][commitizen-badge]][commitizen-link]
26+
[![semantic-release][semantic-release-badge]][semantic-release-link]
27+
[![PRs Welcome][PRs-badge]][PRs-link]
28+
29+
### Dependencies
30+
31+
```sh
32+
$ nvm install
33+
$ npm install
34+
```
35+
36+
### Verification
37+
38+
```sh
39+
$ npm test
40+
```
41+
42+
[npm-link]: https://www.npmjs.com/package/@travi/travi.org-core-components
43+
[npm-badge]: https://img.shields.io/npm/v/@travi/travi.org-core-components.svg
44+
[runkit-link]: https://npm.runkit.com/@travi/travi.org-core-components
45+
[runkit-badge]: https://badge.runkitcdn.com/@travi/travi.org-core-components.svg
46+
[license-link]: LICENSE
47+
[license-badge]: https://img.shields.io/github/license/travi-org/core-components.svg
48+
[ci-link]: https://travis-ci.com/travi-org/core-components
49+
[ci-badge]: https://img.shields.io/travis/com/travi-org/core-components/master.svg
50+
[commit-convention-link]: https://conventionalcommits.org
51+
[commit-convention-badge]: https://img.shields.io/badge/Conventional%20Commits-1.0.0-yellow.svg
52+
[commitizen-link]: http://commitizen.github.io/cz-cli/
53+
[commitizen-badge]: https://img.shields.io/badge/commitizen-friendly-brightgreen.svg
54+
[semantic-release-link]: https://github.com/semantic-release/semantic-release
55+
[semantic-release-badge]: https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg
56+
[PRs-link]: http://makeapullrequest.com
57+
[PRs-badge]: https://img.shields.io/badge/PRs-welcome-brightgreen.svg

0 commit comments

Comments
 (0)