feat: typescript

This commit is contained in:
Leandro Costa 2024-06-17 20:11:08 -03:00
parent 7d82ee0dd1
commit fed2ff4adf
10 changed files with 2822 additions and 3004 deletions

View file

@ -3,8 +3,11 @@
"version": "1.1.3",
"description": "Biblioteca com funções para formatação de dados.",
"main": "src/lhmask.js",
"type": "module",
"scripts": {
"test": "jest --watchAll"
"build": "tsc",
"test": "node --expose-gc ./node_modules/.bin/jest --forceExit --ci -w=1 --logHeapUsage --coverage",
"test:watch": "jest --watchAll"
},
"repository": {
"type": "git",
@ -18,6 +21,9 @@
},
"homepage": "https://bitbucket.org/leandro_costa/lhmask#readme",
"devDependencies": {
"jest": "^27.5.0"
"@types/jest": "^29.5.12",
"@types/node": "^20.14.3",
"ts-jest": "^29.1.5",
"typescript": "^5.4.5"
}
}