Skip to content
This repository was archived by the owner on Jun 22, 2021. It is now read-only.

Commit cfe81a4

Browse files
committed
feat: Starts package.
0 parents  commit cfe81a4

29 files changed

+9009
-0
lines changed

.circleci/config.yml

+44
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
version: 2
2+
machine:
3+
services:
4+
- docker
5+
6+
jobs:
7+
build:
8+
docker:
9+
- image: circleci/node:8
10+
environment:
11+
- NPM_CONFIG_LOGLEVEL: warn
12+
working_directory: ~/repo
13+
steps:
14+
- checkout
15+
- setup_remote_docker:
16+
docker_layer_caching: true
17+
- restore_cache:
18+
keys:
19+
- v1-dependencies-{{ checksum "package-lock.json" }}
20+
- run:
21+
name: Installing Dependencies
22+
command: npm install
23+
- run:
24+
name: Pruning Dependencies
25+
command: npm prune
26+
- save_cache:
27+
paths:
28+
- node_modules
29+
key: v1-dependencies-{{ checksum "package-lock.json" }}
30+
- run:
31+
name: Compiling Code
32+
command: npm run build
33+
- run:
34+
name: Running tests
35+
command: npm run cover
36+
- run:
37+
name: Linting Code
38+
command: npm run lint
39+
- run:
40+
name: Checking Code Duplication
41+
command: npm run duplication -- --limit 20
42+
- deploy:
43+
name: Semantic Release
44+
command: npm run semantic-release

.cpd.yml

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
languages: typescript
2+
files:
3+
- src/**/*
4+
min-lines: 7
5+
min-tokens: 50
6+
debug: false
7+
skip-comments: true

.editorconfig

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

.gitattributes

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
* text eol=lf
2+
3+
.gitignore text
4+
*.gitattributes text
5+
*.json text
6+
*.md text
7+
*.sh text

.gitignore

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
.DS_STORE
2+
/.env
3+
/.nyc_output
4+
/dist
5+
/node_modules
6+
/notes.md
7+
/npm-debug.log
8+
/yarn.lock

.travis.yml

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
language: node_js
2+
node_js: 8
3+
sudo: false
4+
5+
notifications:
6+
email: false
7+
8+
before_script:
9+
- npm prune
10+
11+
script:
12+
- npm run build
13+
- npm run cover-ci
14+
- npm run lint
15+
- npm run duplication -- --limit 10
16+
17+
after_success:
18+
- npm run semantic-release

0 commit comments

Comments
 (0)