iterate ts support

This commit is contained in:
Michael Telatynski 2021-06-29 11:41:08 +01:00
parent 53e7100033
commit 2d568f9688
2 changed files with 9 additions and 8 deletions

View File

@ -18,13 +18,15 @@
"mkdirs": "mkdirp packages deploys", "mkdirs": "mkdirp packages deploys",
"fetch": "yarn run mkdirs && node scripts/fetch-package.js", "fetch": "yarn run mkdirs && node scripts/fetch-package.js",
"asar-webapp": "asar p webapp webapp.asar", "asar-webapp": "asar p webapp webapp.asar",
"start": "yarn run tsbuild && electron .", "start": "yarn run build:ts && electron .",
"lint": "eslint src/ scripts/ hak/", "lint": "yarn lint:types && yarn lint:js",
"lint:js": "eslint src/ scripts/ hak/",
"lint:types": "tsc --noEmit",
"build:native": "yarn run hak", "build:native": "yarn run hak",
"build32": "electron-builder --ia32", "build32": "yarn run build:ts && electron-builder --ia32",
"build64": "electron-builder --x64", "build64": "yarn run build:ts && electron-builder --x64",
"build": "yarn run tsbuild && electron-builder", "build": "yarn run build:ts && electron-builder",
"tsbuild": "tsc", "build:ts": "tsc",
"docker:setup": "docker build -t element-desktop-dockerbuild dockerbuild", "docker:setup": "docker build -t element-desktop-dockerbuild dockerbuild",
"docker:build:native": "scripts/in-docker.sh yarn run hak", "docker:build:native": "scripts/in-docker.sh yarn run hak",
"docker:build": "scripts/in-docker.sh yarn run build", "docker:build": "scripts/in-docker.sh yarn run build",

View File

@ -1,7 +1,5 @@
{ {
"compilerOptions": { "compilerOptions": {
"experimentalDecorators": true,
"emitDecoratorMetadata": true,
"resolveJsonModule": true, "resolveJsonModule": true,
"esModuleInterop": true, "esModuleInterop": true,
"module": "commonjs", "module": "commonjs",
@ -20,6 +18,7 @@
] ]
}, },
"include": [ "include": [
".eslintrc.js",
"./src/**/*.ts" "./src/**/*.ts"
] ]
} }