triyak-react-performance
Version:
Advanced React performance optimization toolkit - Built with modern React best practices and performance optimization techniques
65 lines • 2.77 kB
JavaScript
;
// Triyak React Performance Suite - Main Entry Point
// Built on 10+ years of enterprise optimization experience at Triyak Digital Agency
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
var desc = Object.getOwnPropertyDescriptor(m, k);
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
desc = { enumerable: true, get: function() { return m[k]; } };
}
Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __exportStar = (this && this.__exportStar) || function(m, exports) {
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
};
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.DEFAULT_CONFIG = exports.PERFORMANCE_THRESHOLDS = exports.SUPPORT_EMAIL = exports.WEBSITE = exports.COMPANY = exports.PACKAGE_NAME = exports.VERSION = exports.TriyakPerformanceSuite = exports.TriyakPerformanceMonitor = void 0;
// Export all components
var TriyakPerformanceMonitor_1 = require("./components/TriyakPerformanceMonitor");
Object.defineProperty(exports, "TriyakPerformanceMonitor", { enumerable: true, get: function () { return __importDefault(TriyakPerformanceMonitor_1).default; } });
var TriyakPerformanceSuite_1 = require("./components/TriyakPerformanceSuite");
Object.defineProperty(exports, "TriyakPerformanceSuite", { enumerable: true, get: function () { return __importDefault(TriyakPerformanceSuite_1).default; } });
// Export types
__exportStar(require("./types/performance"), exports);
// Export constants
__exportStar(require("./constants/performanceThresholds"), exports);
// Version and package information
exports.VERSION = '1.0.0';
exports.PACKAGE_NAME = 'triyak-react-performance';
exports.COMPANY = 'Triyak Digital Agency';
exports.WEBSITE = 'https://www.triyak.in';
exports.SUPPORT_EMAIL = 'info@triyak.in';
// Performance optimization constants
exports.PERFORMANCE_THRESHOLDS = {
LCP: {
GOOD: 2500,
NEEDS_IMPROVEMENT: 4000,
POOR: 4000
},
FID: {
GOOD: 100,
NEEDS_IMPROVEMENT: 300,
POOR: 300
},
CLS: {
GOOD: 0.1,
NEEDS_IMPROVEMENT: 0.25,
POOR: 0.25
}
};
// Export default configuration
exports.DEFAULT_CONFIG = {
enableAIOptimization: true,
optimizationMode: 'aggressive',
monitoring: true,
alerts: true,
reporting: true,
autoOptimize: true
};
//# sourceMappingURL=index.js.map