Skip to content

Commit ee55720

Browse files
authored
Merge pull request #62 from jake-low/master
Add prepare script to package.json
2 parents 7beaee9 + 585d552 commit ee55720

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

.github/workflows/nodejs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
strategy:
1616
fail-fast: false
1717
matrix:
18-
node: [10, 12, 14]
18+
node: [12, 14]
1919
os: [ubuntu-latest]
2020

2121
steps:

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,15 @@
2121
],
2222
"main": "dist",
2323
"engines": {
24-
"node": ">=10"
24+
"node": ">=12"
2525
},
2626
"scripts": {
2727
"version": "conventional-changelog -i changelog.md -s -r 0 && git add changelog.md",
2828
"build": "rm -rf dist && tsup src/*.ts --minify",
2929
"dev": "npm run build -- --watch",
3030
"test": "xo && c8 ava",
31-
"pretest": "clinton"
31+
"pretest": "clinton",
32+
"prepare": "npm run build"
3233
},
3334
"keywords": [
3435
"html",

0 commit comments

Comments
 (0)