- Updated ProfitAnalysisService to accept and integrate expense data - Modified calculateProfitMetrics to include expenses in profit calculations - Added totalExpenses field to ProfitMetrics interface - Updated ProfitAnalysis component to pass filtered expenses to calculations - Enhanced UI to show breakdown of expenses vs printing costs - Fixed inconsistency between Analytics and ProfitAnalysis profit calculations - Now shipping expenses and Etsy fees are properly deducted from profits - Excluded transaction fees to avoid double-counting
34 lines
1.1 KiB
JSON
34 lines
1.1 KiB
JSON
{
|
|
"name": "etsy-business-tracker",
|
|
"version": "1.0.0",
|
|
"description": "A comprehensive Etsy business tracking web application",
|
|
"main": "index.js",
|
|
"scripts": {
|
|
"dev": "concurrently \"npm run server:dev\" \"npm run client:dev\"",
|
|
"client:dev": "cd client && npm run dev",
|
|
"server:dev": "cd server && npm run dev",
|
|
"client:build": "cd client && npm run build",
|
|
"server:build": "cd server && npm run build",
|
|
"client:install": "cd client && npm install",
|
|
"server:install": "cd server && npm install",
|
|
"install:all": "npm install && npm run client:install && npm run server:install",
|
|
"build": "npm run client:build && npm run server:build",
|
|
"start": "cd server && npm start",
|
|
"test": "npm run client:test && npm run server:test",
|
|
"client:test": "cd client && npm test",
|
|
"server:test": "cd server && npm test"
|
|
},
|
|
"keywords": [
|
|
"etsy",
|
|
"business",
|
|
"tracking",
|
|
"analytics",
|
|
"inventory",
|
|
"orders"
|
|
],
|
|
"author": "Your Name",
|
|
"license": "MIT",
|
|
"devDependencies": {
|
|
"concurrently": "^8.2.2"
|
|
}
|
|
}
|