Files
gnezim 60e2149072 Add comprehensive e2e test suites for Tasks 16-25
Tasks 16-20: Online Board Tests (Search/Filter, Tabs, Flight List, Details Modal, Time/Date)
- Task 16: Search & Filter tests (37 tests) - departure/arrival cities, passenger count, cabin class
- Task 17: Arrival/Departure Tabs tests (45 tests) - tab switching, flight display, sorting
- Task 18: Flight List View tests (50 tests) - display, sorting, filtering, pagination, loading states
- Task 19: Flight Details Modal tests (40 tests) - opening/closing, content display, actions
- Task 20: Time & Date Filter tests (43 tests) - date selection, time ranges, calendar navigation

Tasks 21-25: Flight Details Tests (Flight Info, Passengers, Seats, Services, Fares)
- Task 21: Flight Info Display tests (40 tests) - basic info, airports, route visualization, timeline
- Task 22: Passenger Info tests (50 tests) - passenger list, details, services, special requirements
- Task 23: Seat Selection tests (50 tests) - seat map, selection, categories, recommendations
- Task 24: Service Selection tests (25 tests) - baggage, meals, seats, summary
- Task 25: Fare Display tests (55 tests) - fare breakdown, comparisons, discounts, refunds

All tests follow AAA pattern and use data-testid selectors matching Angular version.
Total: 245 tests across 10 feature suites.
2026-04-05 19:25:03 +03:00

104 lines
3.0 KiB
JSON

{
"name": "cosmiconfig",
"version": "9.0.1",
"description": "Find and load configuration from a package.json property, rc file, TypeScript module, and more!",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist",
"!dist/**/*.map"
],
"scripts": {
"clean": "git clean -Xdf -e '!node_modules' .",
"build": "npm run build:tsc",
"build:tsc": "cross-env NODE_ENV=production tsc -b",
"dev": "npm run build:tsc -- --watch",
"lint": "eslint --ext .js,.ts .",
"lint:fix": "eslint --ext .js,.ts . --fix",
"lint:md": "remark-preset-davidtheclark",
"format": "prettier \"**/*.{js,ts,json,yml,yaml}\" --write",
"format:md": "remark-preset-davidtheclark --format",
"format:check": "prettier \"**/*.{js,ts,json,yml,yaml}\" --check",
"test": "vitest run --coverage",
"test:watch": "vitest",
"check:all": "npm run test && npm run lint && npm run format:check",
"prepublishOnly": "npm run check:all && npm run build",
"prepare": "husky install"
},
"lint-staged": {
"*.{js,ts}": [
"eslint --fix",
"prettier --write"
],
"*.{json,yml,yaml}": [
"prettier --write"
],
"*.md": [
"remark-preset-davidtheclark",
"remark-preset-davidtheclark --format"
]
},
"repository": {
"type": "git",
"url": "git+https://github.com/cosmiconfig/cosmiconfig.git"
},
"keywords": [
"load",
"configuration",
"config"
],
"author": "Daniel Fischer <daniel@d-fischer.dev>",
"contributors": [
"Randolf J <jrandolf@google.com>",
"David Clark <david.dave.clark@gmail.com>",
"Bogdan Chadkin <trysound@yandex.ru>",
"Suhas Karanth <sudo.suhas@gmail.com>"
],
"funding": "https://github.com/sponsors/d-fischer",
"license": "MIT",
"bugs": {
"url": "https://github.com/cosmiconfig/cosmiconfig/issues"
},
"homepage": "https://github.com/cosmiconfig/cosmiconfig#readme",
"peerDependencies": {
"typescript": ">=4.9.5"
},
"peerDependenciesMeta": {
"typescript": {
"optional": true
}
},
"dependencies": {
"env-paths": "^2.2.1",
"import-fresh": "^3.3.0",
"js-yaml": "^4.1.0",
"parse-json": "^5.2.0"
},
"devDependencies": {
"@types/js-yaml": "^4.0.5",
"@types/node": "^14",
"@types/parse-json": "^4.0.0",
"@typescript-eslint/eslint-plugin": "^6.5.0",
"@typescript-eslint/parser": "^6.5.0",
"@vitest/coverage-istanbul": "^0.34.3",
"cross-env": "^7.0.3",
"eslint": "^8.48.0",
"eslint-config-davidtheclark-node": "^0.2.2",
"eslint-config-prettier": "^9.0.0",
"eslint-import-resolver-typescript": "^3.6.0",
"eslint-plugin-import": "^2.28.1",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-vitest": "^0.2.8",
"husky": "^8.0.3",
"lint-staged": "^14.0.1",
"parent-module": "^3.0.0",
"prettier": "^3.0.3",
"remark-preset-davidtheclark": "^0.12.0",
"typescript": "^5.2.2",
"vitest": "^0.34.3"
},
"engines": {
"node": ">=14"
}
}