Skip to content

Commit a68b0f3

Browse files
committed
Only build ECMAScript, drop Node.js 10 support
1 parent 53867a3 commit a68b0f3

File tree

4 files changed

+5
-14
lines changed

4 files changed

+5
-14
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ logs
77
npm-debug.log*
88

99
dist
10-
lib
1110
es
1211
.DS_Store
1312

.travis.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ node_js:
88
- 14
99
- 13
1010
- 12
11-
- 10
1211
script:
1312
- npm test
1413
after_script:

appveyor.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ environment:
33
- nodejs_version: 14
44
- nodejs_version: 13
55
- nodejs_version: 12
6-
- nodejs_version: 10
76
install:
87
- ps: Install-Product node $env:nodejs_version
98
- set CI=true

package.json

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
"lib": "lib"
4343
},
4444
"engines": {
45-
"node": ">=10.0.0"
45+
"node": ">=12.0.0"
4646
},
4747
"homepage": "https://github.com/declandewet/common-tags",
4848
"keywords": [
@@ -74,25 +74,19 @@
7474
],
7575
"license": "MIT",
7676
"type": "module",
77-
"main": "lib",
78-
"exports": {
79-
"import": "./es/index.js",
80-
"require": "./lib/index.js"
81-
},
77+
"exports": "./es/index.js",
8278
"unpkg": "dist/common-tags.min.js",
8379
"files": [
8480
"/dist",
85-
"/es",
86-
"/lib"
81+
"/es"
8782
],
8883
"repository": {
8984
"type": "git",
9085
"url": "https://github.com/declandewet/common-tags"
9186
},
9287
"scripts": {
93-
"clear": "rimraf lib/* && rimraf es/* && rimraf dist/*",
94-
"build": "npm run clear && npm run build:cjs && npm run build:es && npm run build:unpkg",
95-
"build:cjs": "babel src --out-dir lib --ignore **/*.test.js",
88+
"clear": "rimraf es/* && rimraf dist/*",
89+
"build": "npm run clear && npm run build:es && npm run build:unpkg",
9690
"build:es": "cross-env BABEL_ENV=es babel src --out-dir es --ignore **/*.test.js",
9791
"build:unpkg": "cross-env BABEL_ENV=es rollup --config",
9892
"codecov": "codecov",

0 commit comments

Comments
 (0)