Skip to content

Commit 282a3f9

Browse files
authored
move to ESM (#102)
* Move to ESM * Remove unused script * Updates
1 parent 6b7dee5 commit 282a3f9

File tree

11 files changed

+608
-183
lines changed

11 files changed

+608
-183
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -14,20 +14,14 @@ jobs:
1414
strategy:
1515
matrix:
1616
node-version:
17-
- 7
18-
- 8
19-
- 9
20-
- 10
21-
- 11
22-
- 13
23-
- 14
24-
- 15
17+
- 20
18+
- 18
19+
- 16
2520
steps:
26-
- uses: actions/checkout@v2
21+
- uses: actions/checkout@v3
2722
- name: Use Node.js ${{ matrix.node-version }}
28-
uses: actions/setup-node@v1
23+
uses: actions/setup-node@v3
2924
with:
3025
node-version: ${{ matrix.node-version }}
3126
- run: npm install
32-
- run: npm run pretest
3327
- run: npm test

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ const ansiChannels = convert.ansi16.channels; // 1
1717
# Install
1818

1919
```sh
20-
$ npm install color-convert
20+
npm install color-convert
2121
```
2222

2323
# API
@@ -117,7 +117,7 @@ channel | full-scale value
117117
### gray
118118
channel | full-scale value
119119
---|---
120-
g | 100
120+
gray | 100
121121

122122
# Contribute
123123

0 commit comments

Comments
 (0)