mirror of
https://github.com/CringeStudios/element-desktop.git
synced 2025-01-18 23:44:59 +01:00
iterate ts support
This commit is contained in:
parent
53e7100033
commit
2d568f9688
14
package.json
14
package.json
@ -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",
|
||||||
|
@ -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"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user