Fixing issues with rollup and running locally
This commit is contained in:
parent
0329b60a5d
commit
06cf54964d
5 changed files with 18 additions and 8633 deletions
8643
package-lock.json
generated
8643
package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
|
@ -13,7 +13,7 @@ export default {
|
|||
sourcemap: true,
|
||||
},
|
||||
plugins: [
|
||||
typescript(),
|
||||
typescript({ module: "esnext" }),
|
||||
nodeResolve(),
|
||||
commonjs(),
|
||||
]
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ export default {
|
|||
sourcemap: true,
|
||||
},
|
||||
plugins: [
|
||||
typescript(),
|
||||
typescript({ module: "esnext" }),
|
||||
nodeResolve(),
|
||||
commonjs(),
|
||||
]
|
||||
|
|
|
|||
|
|
@ -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>'
|
||||
)
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
"compilerOptions": {
|
||||
"lib": ["esnext"],
|
||||
"module": "esnext",
|
||||
"module": "commonjs",
|
||||
"moduleResolution": "node",
|
||||
"target": "es6",
|
||||
"sourceMap": true,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue