Fix the build: make the rootDir correct

This commit is contained in:
David Baker 2021-07-01 17:18:26 +01:00
parent 44310712f3
commit 9cb171f953
2 changed files with 2 additions and 3 deletions

View File

@ -33,7 +33,7 @@
"docker:build": "scripts/in-docker.sh yarn run build", "docker:build": "scripts/in-docker.sh yarn run build",
"docker:install": "scripts/in-docker.sh yarn install", "docker:install": "scripts/in-docker.sh yarn install",
"debrepo": "scripts/mkrepo.sh", "debrepo": "scripts/mkrepo.sh",
"clean": "rimraf webapp.asar dist packages deploys", "clean": "rimraf webapp.asar dist packages deploys lib",
"hak": "node scripts/hak/index.js" "hak": "node scripts/hak/index.js"
}, },
"dependencies": { "dependencies": {

View File

@ -2,13 +2,13 @@
"compilerOptions": { "compilerOptions": {
"resolveJsonModule": true, "resolveJsonModule": true,
"esModuleInterop": true, "esModuleInterop": true,
"allowJs": true,
"module": "commonjs", "module": "commonjs",
"moduleResolution": "node", "moduleResolution": "node",
"target": "es2016", "target": "es2016",
"noImplicitAny": false, "noImplicitAny": false,
"sourceMap": false, "sourceMap": false,
"outDir": "./lib", "outDir": "./lib",
"rootDir": "./src",
"declaration": true, "declaration": true,
"types": [ "types": [
"node" "node"
@ -19,7 +19,6 @@
] ]
}, },
"include": [ "include": [
".eslintrc.js",
"./src/**/*.ts" "./src/**/*.ts"
] ]
} }