diff --git a/typescript/package-lock.json b/typescript/package-lock.json index bc01e2b..2eb29dd 100644 --- a/typescript/package-lock.json +++ b/typescript/package-lock.json @@ -1,12 +1,12 @@ { "name": "r2pipe-ts", - "version": "0.1.0", + "version": "0.1.2", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "r2pipe-ts", - "version": "0.1.0", + "version": "0.1.2", "license": "MIT", "devDependencies": { "@types/node": "^20.11.28", diff --git a/typescript/package.json b/typescript/package.json index 6acaa25..ef38d0d 100644 --- a/typescript/package.json +++ b/typescript/package.json @@ -9,6 +9,9 @@ "engines": { "node": ">=18.0" }, + "scripts": { + "build": "tsc" + }, "devDependencies": { "@types/node": "^20.11.28", "@typescript-eslint/eslint-plugin": "^7.2.0", diff --git a/typescript/tsconfig.json b/typescript/tsconfig.json index 9745dc2..d85c3ff 100644 --- a/typescript/tsconfig.json +++ b/typescript/tsconfig.json @@ -5,7 +5,7 @@ "target": "es5", "esModuleInterop": true, "resolveJsonModule": true, - "module": "commonjs", + "module": "nodenext", "lib": ["es2017"], "declaration": true, "strict": false,