Skip to content

Commit

Permalink
replace npx ts-node --esm by node --loader ts-node/esm nor node 18+
Browse files Browse the repository at this point in the history
  • Loading branch information
Acuao committed Dec 27, 2022
1 parent 752cab6 commit ccd6e6e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"description": "Command line interface for advanced base 64 encoding/decoding",
"scripts": {
"dev": "tsc -w",
"test": "npx ts-node --esm test/test.ts",
"build": "npm i && npx rimraf dist && tsc && npx ts-node --esm scripts/build-package-json",
"test": "node --loader ts-node/esm test/test.ts",
"build": "npm i && npx rimraf dist && tsc && node --loader ts-node/esm scripts/build-package-json",
"build:local": "npm uninstall -g base64-advanced-cli && npm run build && npm install -g .",
"make:prerelease": "npm run build:local && npm test",
"make:release": "npm run make:prerelease && npm publish"
Expand Down

0 comments on commit ccd6e6e

Please sign in to comment.