Update to module

This commit is contained in:
Thomas Sickert 2024-03-30 15:19:15 -04:00
parent 8053f289df
commit eb07d278cf
3 changed files with 6 additions and 2 deletions

View file

@ -1,4 +1,4 @@
dist/
lib/
node_modules/
jest.config.js
jest.config.cjs

View file

@ -5,5 +5,8 @@ module.exports = {
transform: {
'^.+\\.ts$': 'ts-jest'
},
transformIgnorePatterns: [
'node_modules/(?!(axios)/)' // add this line
],
verbose: true
}
}

View file

@ -4,6 +4,7 @@
"private": true,
"description": "Send discord webhooks via GitHub Actions!",
"main": "lib/webhook.js",
"type": "module",
"scripts": {
"build": "tsc",
"format": "prettier --write src/**/*.ts",