1
0
mirror of https://github.com/flarum/core.git synced 2025-08-16 13:24:11 +02:00

test: add frontend tests (#3991)

This commit is contained in:
Sami Mazouz
2024-09-28 15:47:45 +01:00
committed by GitHub
parent c0d3d976fa
commit 257be2b9db
90 changed files with 4581 additions and 3167 deletions

View File

@@ -1,27 +1,27 @@
{
"name": "flarum-tsconfig",
"version": "1.0.2",
"description": "Flarum's official Typescript config file",
"main": "tsconfig.json",
"repository": "https://github.com/flarum/flarum-tsconfig",
"author": "Flarum Team",
"license": "MIT",
"dependencies": {
"@types/jquery": "^3.5.5",
"@types/mithril": "^2.0.7",
"@types/throttle-debounce": "^2.1.0",
"dayjs": "^1.10.4"
},
"scripts": {
"dev": "echo 'skipping..'",
"build": "echo 'skipping..'",
"analyze": "echo 'skipping..'",
"format": "prettier --write .",
"format-check": "prettier --check .",
"clean-typings": "echo 'skipping..'",
"build-typings": "echo 'skipping..'",
"post-build-typings": "echo 'skipping..'",
"check-typings": "echo 'skipping..'",
"check-typings-coverage": "echo 'skipping..'"
}
"name": "flarum-tsconfig",
"version": "1.0.2",
"description": "Flarum's official Typescript config file",
"main": "tsconfig.json",
"repository": "https://github.com/flarum/flarum-tsconfig",
"author": "Flarum Team",
"license": "MIT",
"dependencies": {
"@types/jquery": "^3.5.5",
"@types/mithril": "^2.0.7",
"@types/throttle-debounce": "^2.1.0",
"dayjs": "^1.10.4"
},
"scripts": {
"dev": "echo 'skipping..'",
"build": "echo 'skipping..'",
"analyze": "echo 'skipping..'",
"format": "prettier --write .",
"format-check": "prettier --check .",
"clean-typings": "echo 'skipping..'",
"build-typings": "echo 'skipping..'",
"post-build-typings": "echo 'skipping..'",
"check-typings": "echo 'skipping..'",
"check-typings-coverage": "echo 'skipping..'"
}
}

View File

@@ -16,7 +16,16 @@
"target": "es6",
"jsx": "preserve",
"allowJs": true,
"lib": ["dom", "es5", "es2015", "es2016", "es2017", "es2018", "es2019.array", "es2020"],
"lib": [
"dom",
"es5",
"es2015",
"es2016",
"es2017",
"es2018",
"es2019.array",
"es2020"
],
"allowSyntheticDefaultImports": true
}
}