8000 518 chore list (#519) · correct-js/js-data@33d6ade · GitHub
[go: up one dir, main page]

Skip to content

Commit 33d6ade

Browse files
authored
518 chore list (js-data#519)
* chore(nvmrc): add .nvmrc node version 8 * chore(nvmrc): bump node version to 10 due to npm v 5.6 errors * chore(dependencies): bump babel and chai deps * chore(dependencies): bump karma and test dep versions * chore(): fix indentation * chore(dependencies): bump rollup deps * chore(ci): bump circleci node container to node version 10 * chore(editorconfig): add editorconfig file with standardjs rules * chore(eslint): add eslint standard linting * ci(tests): fix windows failed tests with work-around for saucelabs wd package * chore(tests): drop support for < ie 11 * chore(babel): apply babel preset env * chore(rollup): update rollup options for latest version * chore(husky): add pre-commit and pre-push hooks * chore(prettier): add prettier-standard pre-commit * chore(flow): add flow typings
1 parent 59779d0 commit 33d6ade

File tree

10 files changed

+502
-52
lines changed

10 files changed

+502
-52
lines changed

.babelrc

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
11
{
22
"presets": [
3-
"es2015"
3+
[
4+
"env",
5+
{
6+
"targets": {
7+
"browsers": ["last 2 versions", "safari >= 7", "> 1%", "IE 11"]
8+
}
9+
}
10+
]
411
],
5-
"plugins": [
6-
"syntax-async-functions",
7-
"transform-regenerator"
8-
]
9-
}
12+
"plugins": ["syntax-async-functions", "transform-regenerator"]
13+
}

.circleci/config.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,13 @@ version: 2
22
jobs:
33
test:
44
docker:
5-
- image: circleci/node:8
5+
- image: circleci/node:10
66
steps:
77
- checkout
88
- run: npm install
9+
# bug in npm package requires this for windows saucelabs tests
10+
# https://github.com/karma-runner/karma-sauce-launcher/issues/117
11+
- run: npm uninstall wd && npm install wd
912
- run:
1013
name: Test
1114
command: npm 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+
indent_style = space
5+
indent_size = 2
6+
end_of_line = lf
7+
charset = utf-8
8+
trim_trailing_whitespace = true
9+
insert_final_newline = true

.eslintrc.json

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

.nvmrc

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

0 commit comments

Comments
 (0)
0