@goodgamestudios/cxf-webshop 7.0.0-qa.16 → 7.0.0-qa.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@goodgamestudios/cxf-webshop",
3
3
  "description": "WebShop CXF Module",
4
- "version": "7.0.0-qa.16",
4
+ "version": "7.0.0-qa.17",
5
5
  "keywords": [],
6
6
  "license": "UNLICENSED",
7
7
  "repository": {
@@ -1,25 +0,0 @@
1
- import * as esbuild from 'esbuild'
2
- import * as env from './env.js'
3
-
4
- const STAGE = process.env.STAGE || 'qa'
5
- const PORT = 1102
6
-
7
- process.title = 'esbuild-serve-webshop' // required for shutdown process after tests are finished
8
-
9
- let ctx = await esbuild.context({
10
- entryPoints: ['src/index.ts'],
11
- bundle: true,
12
- minify: false,
13
- sourcemap: true,
14
- define: { process: JSON.stringify({ env: env[STAGE] }) },
15
- outfile: 'dist/webshop-cxf.js',
16
- })
17
-
18
- await ctx.watch()
19
-
20
- let { port } = await ctx.serve({
21
- port: PORT,
22
- servedir: 'dist',
23
- })
24
-
25
- console.log(`Project is running at http://localhost:${port}/`)