Fixing issues with rollup and running locally

This commit is contained in:
Collin Duncan 2022-02-01 16:48:50 +01:00
parent 0329b60a5d
commit 06cf54964d
No known key found for this signature in database
5 changed files with 18 additions and 8633 deletions

8643
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -13,7 +13,7 @@ export default {
sourcemap: true,
},
plugins: [
typescript(),
typescript({ module: "esnext" }),
nodeResolve(),
commonjs(),
]

View file

@ -13,7 +13,7 @@ export default {
sourcemap: true,
},
plugins: [
typescript(),
typescript({ module: "esnext" }),
nodeResolve(),
commonjs(),
]

View file

@ -13,7 +13,7 @@ const run = async (request: ReservationRequest) => {
// get supplied args
const args = process.argv.filter((_, index) => index >= 2)
if (args.length !== 7) {
if (args.length !== 9) {
console.error(
'Usage: npm run local <username> <password> <year> <month> <day> <startTime> <endTime> <opponentName> <opponentId>'
)

View file

@ -3,7 +3,7 @@
"compilerOptions": {
"lib": ["esnext"],
"module": "esnext",
"module": "commonjs",
"moduleResolution": "node",
"target": "es6",
"sourceMap": true,