mirror of
https://github.com/tsickert/discord-webhook.git
synced 2025-02-03 21:16:41 -05:00
Update to module
This commit is contained in:
parent
8053f289df
commit
eb07d278cf
3 changed files with 6 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
||||||
dist/
|
dist/
|
||||||
lib/
|
lib/
|
||||||
node_modules/
|
node_modules/
|
||||||
jest.config.js
|
jest.config.cjs
|
||||||
|
|
|
@ -5,5 +5,8 @@ module.exports = {
|
||||||
transform: {
|
transform: {
|
||||||
'^.+\\.ts$': 'ts-jest'
|
'^.+\\.ts$': 'ts-jest'
|
||||||
},
|
},
|
||||||
|
transformIgnorePatterns: [
|
||||||
|
'node_modules/(?!(axios)/)' // add this line
|
||||||
|
],
|
||||||
verbose: true
|
verbose: true
|
||||||
}
|
}
|
|
@ -4,6 +4,7 @@
|
||||||
"private": true,
|
"private": true,
|
||||||
"description": "Send discord webhooks via GitHub Actions!",
|
"description": "Send discord webhooks via GitHub Actions!",
|
||||||
"main": "lib/webhook.js",
|
"main": "lib/webhook.js",
|
||||||
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "tsc",
|
"build": "tsc",
|
||||||
"format": "prettier --write src/**/*.ts",
|
"format": "prettier --write src/**/*.ts",
|
||||||
|
|
Loading…
Reference in a new issue