Skip to content
This repository has been archived by the owner on Jan 16, 2024. It is now read-only.

Commit

Permalink
feat: add initial files
Browse files Browse the repository at this point in the history
  • Loading branch information
vladholubiev committed Apr 12, 2019
0 parents commit 24c3999
Show file tree
Hide file tree
Showing 11 changed files with 126 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
version: 2

jobs:
build:
docker:
- image: circleci/node:8-browsers

working_directory: ~/repo

steps:
- checkout
- restore_cache:
keys:
- v1-dependencies-{{ checksum "package.json" }}
- v1-dependencies-

- run: yarn

- save_cache:
paths:
- /tmp/dynamodb-local
- node_modules
- yarn.lock
key: v1-dependencies-{{ checksum "package.json" }}

- run: yarn test
9 changes: 9 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
root = true

[*]
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
indent_style = space
indent_size = 2
4 changes: 4 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"root": true,
"extends": ["@shelf/eslint-config/backend"]
}
2 changes: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
* text=auto
*.js text eol=lf
8 changes: 8 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
.idea/
coverage/
node_modules/
temp
yarn.lock
*.log
.DS_Store
dist/
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
package-lock=false
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
package.json
5 changes: 5 additions & 0 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"printWidth": 100,
"singleQuote": true,
"bracketSpacing": false
}
9 changes: 9 additions & 0 deletions license
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
MIT License

Copyright (c) Gemshelf Inc. (shelf.io)

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.
58 changes: 58 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
{
"name": "@shelf/jest-dynamodb",
"version": "1.0.2",
"description": "Run your tests using Jest & DynamoDB local",
"license": "MIT",
"repository": "shelfio/jest-dynamodb",
"author": {
"name": "Vlad Holubiev",
"email": "vlad@shelf.io",
"url": "shelf.io"
},
"engines": {
"node": ">=8"
},
"scripts": {
"coverage": "jest --coverage",
"lint": "eslint . --fix",
"test": "export ENVIRONMENT=local && jest src --runInBand"
},
"files": [
"src"
],
"main": "src/index.js",
"keywords": [],
"dependencies": {
"aws-sdk": "2.437.0",
"dynamodb-local": "0.0.25"
},
"devDependencies": {
"@shelf/eslint-config": "0.2.2",
"eslint": "5.16.0",
"husky": "1.3.1",
"jest": "24.7.1",
"lint-staged": "8.1.5",
"prettier": "1.16.4"
},
"jest": {
"testEnvironment": "node"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.js": [
"eslint --fix",
"git add"
],
"*.{html,json,md,yml}": [
"prettier --write",
"git add"
]
},
"publishConfig": {
"access": "public"
}
}
3 changes: 3 additions & 0 deletions renovate.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"extends": ["github>shelfio/renovate-config"]
}

0 comments on commit 24c3999

Please sign in to comment.