Skip to content

Commit af7bc22

Browse files
committed
feat(init): core
0 parents  commit af7bc22

19 files changed

Lines changed: 12380 additions & 0 deletions

.babelrc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"presets": [
3+
"env"
4+
]
5+
}

.eslintrc.js

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
module.exports = {
2+
env: {
3+
browser: true,
4+
es6: true,
5+
node: true
6+
},
7+
parserOptions: {
8+
sourceType: 'module'
9+
},
10+
extends: 'prettier'
11+
}

.gitignore

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
# Logs
2+
logs
3+
*.log
4+
npm-debug.log*
5+
yarn-debug.log*
6+
yarn-error.log*
7+
8+
# Runtime data
9+
pids
10+
*.pid
11+
*.seed
12+
*.pid.lock
13+
14+
# Directory for instrumented libs generated by jscoverage/JSCover
15+
lib-cov
16+
17+
# Coverage directory used by tools like istanbul
18+
coverage
19+
20+
# nyc test coverage
21+
.nyc_output
22+
23+
# node-waf configuration
24+
.lock-wscript
25+
26+
# Compiled binary addons (https://nodejs.org/api/addons.html)
27+
build/Release
28+
29+
# Dependency directories
30+
node_modules/
31+
32+
# Optional npm cache directory
33+
.npm
34+
35+
# Optional eslint cache
36+
.eslintcache
37+
38+
# Optional REPL history
39+
.node_repl_history
40+
41+
# Output of 'npm pack'
42+
*.tgz
43+
44+
# Yarn Integrity file
45+
.yarn-integrity
46+
47+
# dotenv environment variables file
48+
.env

.npmignore

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
#tests
2+
test
3+
4+
#build tools
5+
.travis.yml
6+
7+
#linters
8+
.prettierrc.js

.prettierrc.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
module.exports = {
2+
semi: false,
3+
singleQuote: true
4+
}

.travis.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
language: node_js
2+
notifications:
3+
email: true
4+
node_js:
5+
- '9'
6+
branches:
7+
except:
8+
- /^v\d+\.\d+\.\d+$/
9+
after_success: npm run cover

CONTRIBUTING.md

Lines changed: 86 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,86 @@
1+
# Contributing
2+
3+
When contributing to this repository, please first discuss the change you wish to make via issue,
4+
email, or any other method with the owners of this repository before making a change.
5+
6+
Please note we have a code of conduct, please follow it in all your interactions with the project.
7+
8+
## Pull Request Process
9+
10+
1. Ensure any install or build dependencies are removed before the end of the layer when doing a build.
11+
2. Update the README.md with details of changes to the interface, this includes new environment variables, exposed ports, useful file locations and container parameters.
12+
3. Increase the version numbers in any examples files and the README.md to the new version that this Pull Request would represent. The versioning scheme we use is [SemVer](http://semver.org/).
13+
4. You may merge the Pull Request in once you have the sign-off of two other developers, or if you do not have permission to do that, you may request the second reviewer to merge it for you.
14+
15+
## Code of Conduct
16+
17+
### Our Pledge
18+
19+
In the interest of fostering an open and welcoming environment, we as
20+
contributors and maintainers pledge to making participation in our project and
21+
our community a harassment-free experience for everyone, regardless of age, body
22+
size, disability, ethnicity, gender identity and expression, level of experience,
23+
nationality, personal appearance, race, religion, or sexual identity and
24+
orientation.
25+
26+
### Our Standards
27+
28+
Examples of behavior that contributes to creating a positive environment
29+
include:
30+
31+
* Using welcoming and inclusive language
32+
* Being respectful of differing viewpoints and experiences
33+
* Gracefully accepting constructive criticism
34+
* Focusing on what is best for the community
35+
* Showing empathy towards other community members
36+
37+
Examples of unacceptable behavior by participants include:
38+
39+
* The use of sexualized language or imagery and unwelcome sexual attention or advances
40+
* Trolling, insulting/derogatory comments, and personal or political attacks
41+
* Public or private harassment
42+
* Publishing others' private information, such as a physical or electronic
43+
address, without explicit permission
44+
* Other conduct which could reasonably be considered inappropriate in a
45+
professional setting
46+
47+
### Our Responsibilities
48+
49+
Project maintainers are responsible for clarifying the standards of acceptable
50+
behavior and are expected to take appropriate and fair corrective action in
51+
response to any instances of unacceptable behavior.
52+
53+
Project maintainers have the right and responsibility to remove, edit, or
54+
reject comments, commits, code, wiki edits, issues, and other contributions
55+
that are not aligned to this Code of Conduct, or to ban temporarily or
56+
permanently any contributor for other behaviors that they deem inappropriate,
57+
threatening, offensive, or harmful.
58+
59+
### Scope
60+
61+
This Code of Conduct applies both within project spaces and in public spaces
62+
when an individual is representing the project or its community. Examples of
63+
representing a project or community include using an official project e-mail
64+
address, posting via an official social media account, or acting as an appointed
65+
representative at an online or offline event. Representation of a project may be
66+
further defined and clarified by project maintainers.
67+
68+
### Enforcement
69+
70+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
71+
reported by contacting the project team at pgrenier@gmail.com. All
72+
complaints will be reviewed and investigated and will result in a response that
73+
is deemed necessary and appropriate to the circumstances. The project team is
74+
obligated to maintain confidentiality with regard to the reporter of an incident.
75+
Further details of specific enforcement policies may be posted separately.
76+
77+
Project maintainers who do not follow or enforce the Code of Conduct in good
78+
faith may face temporary or permanent repercussions as determined by other
79+
members of the project's leadership.
80+
81+
### Attribution
82+
83+
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version]
84+
85+
[homepage]: http://contributor-covenant.org
86+
[version]: http://contributor-covenant.org/version/1/4/

LICENSE

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

0 commit comments

Comments
 (0)