diff --git a/packages/create-configs/package.json b/packages/create-configs/package.json index 41568ac5..b86917d6 100644 --- a/packages/create-configs/package.json +++ b/packages/create-configs/package.json @@ -25,11 +25,12 @@ "./bin/" ], "scripts": { - "build": "esbuild --tsconfig=tsconfig.build.json $(glob 'src/**/*.?(c|m)[jt]s' --ignore '**/*.spec.*') --outdir=dist/ --sourcemap=inline --platform=node --target=node18", + "build": "concurrently --raw --group 'npm:build:*'", + "build:js": "esbuild --tsconfig=tsconfig.build.json $(glob 'src/**/*.?(c|m)[jt]s' --ignore '**/*.spec.*') --outdir=dist/ --sourcemap=inline --platform=node --target=node18 --format=esm", + "build:types": "tsc --project tsconfig.build.json --emitDeclarationOnly", "check": "concurrently --raw --group \"npm:test\" \"npm:lint\"", - "prelint": "npm run build", "lint": "concurrently --raw --group \"npm:lint:*\"", - "lint:js": "eslint . --ext ts,json --cache", + "lint:js": "eslint . --ext ts,js,json --cache", "lint:types": "tsc --noEmit --pretty", "prepublishOnly": "npm run build", "start": "node bin/create-configs.js",