Skip to content

Commit 24c3999

Browse files
committed
feat: add initial files
0 parents  commit 24c3999

File tree

11 files changed

+126
-0
lines changed

11 files changed

+126
-0
lines changed

.circleci/config.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
version: 2
2+
3+
jobs:
4+
build:
5+
docker:
6+
- image: circleci/node:8-browsers
7+
8+
working_directory: ~/repo
9+
10+
steps:
11+
- checkout
12+
- restore_cache:
13+
keys:
14+
- v1-dependencies-{{ checksum "package.json" }}
15+
- v1-dependencies-
16+
17+
- run: yarn
18+
19+
- save_cache:
20+
paths:
21+
- /tmp/dynamodb-local
22+
- node_modules
23+
- yarn.lock
24+
key: v1-dependencies-{{ checksum "package.json" }}
25+
26+
- run: yarn test

.editorconfig

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
root = true
2+
3+
[*]
4+
end_of_line = lf
5+
charset = utf-8
6+
trim_trailing_whitespace = true
7+
insert_final_newline = true
8+
indent_style = space
9+
indent_size = 2

.eslintrc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"root": true,
3+
"extends": ["@shelf/eslint-config/backend"]
4+
}

.gitattributes

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
* text=auto
2+
*.js text eol=lf

.gitignore

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
.idea/
2+
coverage/
3+
node_modules/
4+
temp
5+
yarn.lock
6+
*.log
7+
.DS_Store
8+
dist/

.npmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
package-lock=false

.prettierignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
package.json

.prettierrc.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"printWidth": 100,
3+
"singleQuote": true,
4+
"bracketSpacing": false
5+
}

license

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
MIT License
2+
3+
Copyright (c) Gemshelf Inc. (shelf.io)
4+
5+
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:
6+
7+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
8+
9+
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.

package.json

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
{
2+
"name": "@shelf/jest-dynamodb",
3+
"version": "1.0.2",
4+
"description": "Run your tests using Jest & DynamoDB local",
5+
"license": "MIT",
6+
"repository": "shelfio/jest-dynamodb",
7+
"author": {
8+
"name": "Vlad Holubiev",
9+
"email": "[email protected]",
10+
"url": "shelf.io"
11+
},
12+
"engines": {
13+
"node": ">=8"
14+
},
15+
"scripts": {
16+
"coverage": "jest --coverage",
17+
"lint": "eslint . --fix",
18+
"test": "export ENVIRONMENT=local && jest src --runInBand"
19+
},
20+
"files": [
21+
"src"
22+
],
23+
"main": "src/index.js",
24+
"keywords": [],
25+
"dependencies": {
26+
"aws-sdk": "2.437.0",
27+
"dynamodb-local": "0.0.25"
28+
},
29+
"devDependencies": {
30+
"@shelf/eslint-config": "0.2.2",
31+
"eslint": "5.16.0",
32+
"husky": "1.3.1",
33+
"jest": "24.7.1",
34+
"lint-staged": "8.1.5",
35+
"prettier": "1.16.4"
36+
},
37+
"jest": {
38+
"testEnvironment": "node"
39+
},
40+
"husky": {
41+
"hooks": {
42+
"pre-commit": "lint-staged"
43+
}
44+
},
45+
"lint-staged": {
46+
"*.js": [
47+
"eslint --fix",
48+
"git add"
49+
],
50+
"*.{html,json,md,yml}": [
51+
"prettier --write",
52+
"git add"
53+
]
54+
},
55+
"publishConfig": {
56+
"access": "public"
57+
}
58+
}

0 commit comments

Comments
 (0)