mirror of
https://github.com/flarum/framework.git
synced 2025-03-02 18:18:40 +08:00

* 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/*"]
|
|
}
|
|
}
|
|
}
|