Skip to content

Commit

Permalink
initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
travi committed Jul 12, 2017
0 parents commit 19f45a4
Show file tree
Hide file tree
Showing 13 changed files with 103 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# EditorConfig is awesome: http://EditorConfig.org

# top-most EditorConfig file
root = true

[*]
charset = utf-8
trim_trailing_whitespace = true
indent_style = space
indent_size = 2
end_of_line = lf
insert_final_newline = true
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
lib/
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* text=auto
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
node_modules/
lib/
.nyc_output/
4 changes: 4 additions & 0 deletions .markdownlintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"line_length": {"code_blocks": false},
"commands-show-output": false
}
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
save-exact=true
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
v8.1.4
6 changes: 6 additions & 0 deletions .nycrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"exclude": [
"**/*-test.js",
"scripts/"
]
}
21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2017 dsmJS

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.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# components

React components for the dsmjs.com site

[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://commitizen.github.io/cz-cli/)
40 changes: 40 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
{
"name": "@dsmjs/components",
"description": "React components for the dsmjs.com site",
"license": "MIT",
"author": "dsmJS",
"maintainers": [
"Matt Travi <[email protected]> (https://matt.travi.org/)"
],
"repository": "dsmjs/components",
"bugs": "https://github.com/dsmjs/components/issues",
"homepage": "https://github.com/dsmjs/components#readme",
"scripts": {
"lint:md": "globstar --node -- markdownlint **/*.md",
"tests:unit": "mocha --recursive test/unit",
"test": "run-s lint:* coverage",
"coverage": "nyc run-s tests:unit",
"commitmsg": "validate-commit-msg",
"precommit": "npm test"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"publishConfig": {
"access": "public"
},
"devDependencies": {
"@travi/any": "1.2.2",
"chai": "4.0.2",
"cz-conventional-changelog": "2.0.0",
"globstar": "1.0.0",
"husky": "0.14.3",
"markdownlint-cli": "0.3.1",
"mocha": "3.4.2",
"npm-run-all": "4.0.2",
"nyc": "11.0.3",
"validate-commit-msg": "2.12.2"
}
}
1 change: 1 addition & 0 deletions test/mocha.opts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
--ui tdd
7 changes: 7 additions & 0 deletions test/unit/canary-test.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
const assert = require('chai').assert;

suite('canary', () => {
test('that mocha is wired up correctly', () => {
assert.isTrue(true);
});
});

0 comments on commit 19f45a4

Please sign in to comment.