mirror of
https://github.com/flarum/framework.git
synced 2025-01-29 07:56:16 +08:00
3e3fa6535d
* Bump deps; add TS support; use Prettier * Format * Update js/package.json Co-authored-by: Sami Mazouz <sychocouldy@gmail.com> * Update lockfile Co-authored-by: Sami Mazouz <sychocouldy@gmail.com>
15 lines
389 B
JSON
15 lines
389 B
JSON
{
|
|
// Use Flarum's tsconfig as a starting point
|
|
"extends": "flarum-tsconfig",
|
|
// This will match all .ts, .tsx, .d.ts, .js, .jsx files
|
|
"include": ["src/**/*"],
|
|
"compilerOptions": {
|
|
// This will output typings to `dist-typings`
|
|
"declarationDir": "./dist-typings",
|
|
"baseUrl": ".",
|
|
"paths": {
|
|
"flarum/*": ["../vendor/flarum/core/js/dist-typings/*"]
|
|
}
|
|
}
|
|
}
|