Skip to content
This repository was archived by the owner on Feb 8, 2020. It is now read-only.

Commit 6e6d4ee

Browse files
author
tunnckoCore
committed
major(release): BREAKING CHANGE: Require Node.js >= 6 & npm >= 5
- mostly stylistic & boilerplate updates; - eslint config; - use hela; - prettier; BREAKING CHANGE: Require Node.js >= 6 & npm >= 5
1 parent 6d4063d commit 6e6d4ee

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+8401
-5276
lines changed

.codeclimate.yml

Lines changed: 0 additions & 16 deletions
This file was deleted.

.eslintignore

Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
# Always-ignore dirs #
2+
# ####################
3+
_gh_pages
4+
node_modules
5+
jspm_packages
6+
bower_components
7+
components
8+
vendor
9+
build
10+
dest
11+
lib-cov
12+
coverage
13+
.nyc_output
14+
nbproject
15+
cache
16+
temp
17+
tmp
18+
benchmark
19+
20+
# Packages #
21+
# ##########
22+
*.7z
23+
*.dmg
24+
*.iso
25+
*.jar
26+
*.rar
27+
*.tar
28+
*.zip
29+
30+
# OS, Logs and databases #
31+
# #########################
32+
logs
33+
*.pid
34+
*.dat
35+
*.log
36+
*.sql
37+
*.sqlite
38+
*~
39+
~*
40+
41+
# Editors
42+
*.idea
43+
44+
# Another files #
45+
# ###############
46+
Icon?
47+
.DS_Store*
48+
Thumbs.db
49+
ehthumbs.db
50+
Desktop.ini
51+
npm-debug.log
52+
.directory
53+
._*
54+
lcov.info
55+
56+
# Runtime data
57+
pids
58+
*.pid
59+
*.seed
60+
*.pid.lock
61+
62+
# Grunt intermediate storage
63+
# see here: http://gruntjs.com/creating-plugins#storing-task-files
64+
.grunt
65+
66+
# Optional npm cache directory
67+
.npm
68+
69+
# Optional REPL history
70+
.node_repl_history

.eslintrc.json

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

.gitattributes

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Enforce Unix newlines
2+
* text eol=lf

.gitignore

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,20 +8,18 @@ components
88
vendor
99
build
1010
dest
11-
src
1211
lib-cov
1312
coverage
13+
.nyc_output
1414
nbproject
1515
cache
1616
temp
1717
tmp
18-
parse-function
1918

2019
# Packages #
2120
# ##########
2221
*.7z
2322
*.dmg
24-
*.gz
2523
*.iso
2624
*.jar
2725
*.rar
@@ -39,6 +37,9 @@ logs
3937
*~
4038
~*
4139

40+
# Editors
41+
*.idea
42+
4243
# Another files #
4344
# ###############
4445
Icon?
@@ -50,17 +51,14 @@ npm-debug.log
5051
.directory
5152
._*
5253
lcov.info
54+
yarn.lock
5355

5456
# Runtime data
5557
pids
5658
*.pid
5759
*.seed
5860
*.pid.lock
5961

60-
61-
# nyc test coverage
62-
.nyc_output
63-
6462
# Grunt intermediate storage
6563
# see here: http://gruntjs.com/creating-plugins#storing-task-files
6664
.grunt

.npmrc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
registry=http://registry.npmjs.org/
2+
save-exact=true
3+
save=true
4+
progress=true
5+
silent=true

.nycrc.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"check-coverage": true,
3+
"statements": 0,
4+
"functions": 0,
5+
"branches": 0,
6+
"lines": 0
7+
}

.travis.yml

Lines changed: 20 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,27 @@
11
sudo: false
22
language: node_js
33

4-
node_js:
5-
- "node"
6-
- "6"
7-
- "4"
4+
cache:
5+
directories:
6+
- node_modules
87

98
notifications:
109
email: false
1110

12-
after_success: bash <(curl -s https://codecov.io/bash)
11+
node_js:
12+
- '8'
13+
- '6'
14+
15+
before_install:
16+
- npm install --global npm@latest
17+
18+
before_script:
19+
- npm prune
20+
21+
after_success:
22+
- npm run semantic-release
23+
- bash <(curl -s https://codecov.io/bash)
24+
25+
branches:
26+
except:
27+
- /^v\d+\.\d+\.\d+$/

0 commit comments

Comments
 (0)