Skip to content

Commit

Permalink
Clean up
Browse files Browse the repository at this point in the history
remove travis
remove karma
remove gulp
add esbuild
add jest
  • Loading branch information
fredolss committed Mar 3, 2024
1 parent 6c60d9a commit 3751ccf
Show file tree
Hide file tree
Showing 15 changed files with 13,829 additions and 28,854 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:

strategy:
matrix:
node-version: [14.x, 16.x, 18.x]
node-version: [20.x]

steps:
- uses: actions/checkout@v3
Expand All @@ -25,4 +25,5 @@ jobs:
- name: Build
run: |
npm install
gulp
npm build
npm test
13 changes: 0 additions & 13 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion dist/hyperjs.min.js

Large diffs are not rendered by default.

10 changes: 10 additions & 0 deletions esbuild.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import * as esbuild from 'esbuild'
import * as fs from 'node:fs';
var json = JSON.parse(fs.readFileSync('./package.json'));

await esbuild.build({
entryPoints: ["src/HyperJS.ts"],
bundle: true,
minify: true,
outfile: 'dist/' + json.name +'.min.js',
})
87 changes: 0 additions & 87 deletions gulpfile.js

This file was deleted.

Loading

0 comments on commit 3751ccf

Please sign in to comment.