mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-16 21:03:29 +00:00
V2 e2e (#320)
* chore: cleanup handling of a bad read * chore: configure e2e testing * chore: version bump
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
"name": "ontime-server",
|
||||
"type": "module",
|
||||
"main": "src/index.ts",
|
||||
"version": "2.0.0-alpha",
|
||||
"version": "2.0.0-beta1",
|
||||
"exports": "./src/index.js",
|
||||
"dependencies": {
|
||||
"@sentry/node": "^7.24.1",
|
||||
@@ -42,10 +42,10 @@
|
||||
},
|
||||
"scripts": {
|
||||
"addversion": "node -p \"'export const ONTIME_VERSION = ' + JSON.stringify(require('../../package.json').version) + ';'\" > src/ONTIME_VERSION.js",
|
||||
"postinstall": "pnpm addversion",
|
||||
"dev": "set NODE_ENV=development && nodemon --exec \"ts-node-esm\" ./src/index.ts",
|
||||
"dev:test": "set IS_TEST=true && nodemon --exec \"ts-node-esm\" ./src/index.ts",
|
||||
"setdb": "shx cp ../../demo-db/db.json src/preloaded-db/db.json",
|
||||
"postinstall": "pnpm addversion && pnpm setdb",
|
||||
"dev": "cross-env NODE_ENV=development nodemon --exec \"ts-node-esm\" ./src/index.ts",
|
||||
"dev:test": "cross-env IS_TEST=true nodemon --exec \"ts-node-esm\" ./src/index.ts",
|
||||
"prebuild": "pnpm setdb",
|
||||
"build": "pnpm prebuild && esbuild src/app.ts --log-level=error --platform=node --format=cjs --bundle --minify --outfile=dist/index.cjs",
|
||||
"build:docker": "pnpm prebuild && esbuild src/index.ts --log-level=error --platform=node --format=cjs --minify --bundle --outfile=dist/docker.cjs",
|
||||
|
||||
Reference in New Issue
Block a user