finally works

This commit is contained in:
2024-02-12 19:02:10 +01:00
parent 5079db901c
commit 82cae6dc58
13 changed files with 121 additions and 27 deletions
+16 -3
View File
@@ -1,15 +1,28 @@
{
"name": "timestringconverter",
"version": "2.2.0",
"version": "2.2.4",
"description": "generetes a number from a time string",
"main": "src/index.ts",
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"files": [
"dist"
],
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"start": "node index.js"
"start": "node index.js",
"compile": "tsc -b ./tsconfig.cjs.json ./tsconfig.esm.json ./tsconfig.types.json"
},
"author": "kaj van schalkwijk",
"license": "ISC",
"devDependencies": {
"ts-node": "^10.9.2"
},
"exports": {
".": {
"types": "./dist/types/index.d.ts",
"require": "./dist/cjs/index.js",
"import": "./dist/esm/index.js",
"default": "./dist/esm/index.js"
}
}
}