mirror of
https://github.com/flarum/framework.git
synced 2024-11-24 09:19:45 +08:00
631b4c194c
* chore: unify JS actions into one (rewritten `flarum/action-build)` * chore: maintain backwards compatibility * fix: wrong default format check script Signed-off-by: Sami Mazouz <ilyasmazouz@gmail.com>
17 lines
632 B
JSON
Executable File
17 lines
632 B
JSON
Executable File
{
|
|
// Use Flarum's tsconfig as a starting point
|
|
"extends": "flarum-tsconfig",
|
|
// This will match all .ts, .tsx, .d.ts, .js, .jsx files in your `src` folder
|
|
// and also tells your Typescript server to read core's global typings for
|
|
// access to `dayjs` and `$` in the global namespace.
|
|
"include": ["src/**/*", "../../../framework/core/js/dist-typings/@types/**/*", "@types/**/*"],
|
|
"files": ["src/admin/shims.d.ts"],
|
|
"compilerOptions": {
|
|
// This will output typings to `dist-typings`
|
|
"declarationDir": "./dist-typings",
|
|
"paths": {
|
|
"flarum/*": ["../../../framework/core/js/dist-typings/*"]
|
|
}
|
|
}
|
|
}
|