diff --git a/tools/scaffolding/templates/frontend/package.json b/tools/scaffolding/templates/frontend/package.json index f7cd8ebcaf0219b1a0b909f29e4d36a70a26839a..03140085961030e03974375a1b81834f0ccae216 100644 --- a/tools/scaffolding/templates/frontend/package.json +++ b/tools/scaffolding/templates/frontend/package.json @@ -9,8 +9,8 @@ "scripts": { "clean": "rm -rf ./dist && rm -f tsconfig.tsbuildinfo", "compile": "tsc -b", - "compile:dev": "tsc --sourceMap", - "compile:watch": "BABEL_ENV=build babel src --out-dir dist --source-maps --extensions .js,.jsx,.ts,.tsx --ignore **/tests --watch", + "compile:dev": "esbuild --target=es2019 --outdir=dist --sourcemap src/*.tsx", + "compile:watch": "yarn compile:dev --watch", "lint": "eslint --ext .js,.jsx,.ts,.tsx .", "lint:fix": "yarn run lint --fix", "test": "jest --passWithNoTests", @@ -24,5 +24,8 @@ }, "devDependencies": { "@clutch-sh/tools": "^1.0.0-beta" + }, + "engines": { + "node": ">=14.0.0" } }