mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2024-08-17 01:10:34 +03:00
Create dedicated Typescript "types" configuration file for each "projects". Create a types folder which includes every useful ts definition: - client - server - shared Add tooling to create a proper package, extract dependencies, etc... Add CI Github task. refactor(types): publish types package in release script
38 lines
806 B
JSON
38 lines
806 B
JSON
{
|
|
"compilerOptions": {
|
|
"module": "commonjs",
|
|
"target": "es2015",
|
|
"noImplicitAny": false,
|
|
"sourceMap": false,
|
|
"experimentalDecorators": true,
|
|
"emitDecoratorMetadata": true,
|
|
"importHelpers": true,
|
|
"removeComments": true,
|
|
"strictBindCallApply": true,
|
|
"esModuleInterop": true,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"lib": [
|
|
"dom",
|
|
"es2015",
|
|
"es2016",
|
|
"es2017",
|
|
"es2018",
|
|
"es2019"
|
|
],
|
|
"typeRoots": [
|
|
"node_modules/@types",
|
|
"client/node_modules/@types"
|
|
],
|
|
"baseUrl": "./",
|
|
"outDir": "./dist/",
|
|
"paths": {
|
|
"@server/*": [ "server/*" ],
|
|
"@shared/*": [ "shared/*" ]
|
|
},
|
|
"resolveJsonModule": true,
|
|
"strict": false,
|
|
"skipLibCheck": true,
|
|
"composite": true
|
|
}
|
|
}
|