Skip to content

Commit bee437a

Browse files
authored
feat: Add ECMAScript 6 (ES6) support (#255)
1 parent 68ba614 commit bee437a

20 files changed

+7571
-15463
lines changed

.babelrc

-6
This file was deleted.

.github/workflows/ci.yml

+3-11
Original file line numberDiff line numberDiff line change
@@ -20,22 +20,14 @@ jobs:
2020
timeout-minutes: 15
2121
runs-on: ubuntu-latest
2222
steps:
23-
- uses: actions/checkout@v2
23+
- uses: actions/checkout@v4
2424
- name: Use Node.js ${{ matrix.NODE_VERSION }}
25-
uses: actions/setup-node@v1
25+
uses: actions/setup-node@v4
2626
with:
2727
node-version: ${{ matrix.NODE_VERSION }}
28-
- name: Cache Node.js modules
29-
uses: actions/cache@v2
30-
with:
31-
path: ~/.npm
32-
key: ${{ runner.os }}-node-${{ matrix.NODE_VERSION }}-${{ hashFiles('**/package-lock.json') }}
33-
restore-keys: |
34-
${{ runner.os }}-node-${{ matrix.NODE_VERSION }}-
28+
cache: npm
3529
- name: Install dependencies
3630
run: npm ci
37-
- name: Build package
38-
run: npm run build
3931
- name: Run tests
4032
run: npm run test
4133
- name: Code coverage

.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -34,3 +34,6 @@ node_modules
3434

3535
# Optional REPL history
3636
.node_repl_history
37+
38+
# Mac DS_Store files
39+
.DS_Store

.npmignore

Whitespace-only changes.

.nycrc

+6-3
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
11
{
2+
"all": true,
23
"reporter": [
34
"lcov",
45
"text-summary"
56
],
7+
"include": [
8+
"src/**/*.js"
9+
],
610
"exclude": [
7-
"**/spec/**",
8-
"lib/"
11+
"**/spec/**"
912
]
10-
}
13+
}

0 commit comments

Comments
 (0)