diff --git a/package.json b/package.json index 1fa63f1..69be036 100644 --- a/package.json +++ b/package.json @@ -22,9 +22,6 @@ "build": "npm run build:clean && npm run build:code", "build:code": "tsc -p tsconfig.types.json && node scripts/bundle.js", "build:clean": "rm -rf lib", - "build:dev": "npm run build:dev:clean && npm run build:dev:code", - "build:dev:code": "node scripts/development.js", - "build:dev:clean": "rm -rf dist", "prepublishOnly": "npm run build", "lint": "lint update && lint", "lint:fix": "lint update && lint fix", diff --git a/scripts/development.js b/scripts/development.js deleted file mode 100644 index 4006319..0000000 --- a/scripts/development.js +++ /dev/null @@ -1,22 +0,0 @@ -const esexec = require('@es-exec/api').default; -const {TsconfigPathsPlugin} = require('@esbuild-plugins/tsconfig-paths'); -const {nodeExternalsPlugin} = require('esbuild-node-externals'); - -const options = { - buildOptions: { - tsconfig: './tsconfig.json', - entryPoints: ['./src/playground.ts'], - outdir: 'dist', - platform: 'node', - target: 'node14', - bundle: true, - format: 'cjs', - plugins: [ - // eslint-disable-next-line new-cap - TsconfigPathsPlugin({tsconfig: './tsconfig.json'}), - nodeExternalsPlugin(), - ], - }, -}; - -esexec(options);