package.json 5.32 KB
{
  "dependencies": {
    "@vant/weapp": "^1.10.24",
    "dayjs": "^1.11.11",
    "number-precision": "^1.6.0",
    "rfdc": "^1.3.0"
  },
  "devDependencies": {
    "@babel/generator": "^7.28.5",
    "@babel/parser": "^7.28.5",
    "miniprogram-automator": "^0.12.1",
    "prettier": "^3.8.1",
    "prettier-plugin-mp": "^2.5.0"
  },
  "overrides": {
    "miniprogram-automator": {
      "jimp": "0.22.12"
    }
  },
  "resolutions": {
    "jimp": "0.22.12"
  },
  "scripts": {
    "postinstall": "node scripts/setup-package-used-car.mjs && node scripts/sync-subpackage-assets.mjs",
    "setup": "npm install",
    "verify:npm-config": "node scripts/verify-npm-config.mjs",
    "test": "node --experimental-detect-module --test --test-reporter=dot tabWorkOrder/pages/createOrder/tests tests packageDynamicForm/tests tabIndex/tests packageEquity/tests tabWorkOrder/pages/refundApply/tests/refundApplyMarketing.test.mjs packageDynamicForm/pages/upgradeStaffDaily/tests/dailyReportInconsistency.helpers.test.mjs",
    "test:affected": "node scripts/knowledge-graph/affected-tests.mjs",
    "test:knowledge": "node --test tests/knowledge-graph",
    "test:tabIndex": "node --test tabIndex/tests",
    "test:equity": "node --experimental-detect-module --test packageEquity/tests",
    "test:dynamicForm": "node --test packageDynamicForm/tests",
    "test:createOrder": "node --experimental-detect-module --test tabWorkOrder/pages/createOrder/tests",
    "test:orderLifecycle": "node --experimental-detect-module --test tests/order-lifecycle",
    "test:orderLifecycle:contract": "node --experimental-detect-module --test tests/order-lifecycle/apiContracts.test.mjs",
    "test:orderLifecycle:preflight": "node scripts/order-lifecycle-preflight.mjs",
    "test:orderLifecycle:e2e": "node --test tests/order-lifecycle/e2e/orderLifecycle.live.test.mjs",
    "test:orderLifecycle:ui": "node --test tests/order-lifecycle/ui/miniProgramSmoke.live.test.mjs",
    "test:storeDailyReport:ui": "node --test tests/store-daily-report/ui/storeDailyReport.live.test.mjs",
    "test:quotation": "node --experimental-detect-module --test packageEquity/tests/quotationCustomerDailyFields.test.mjs packageEquity/tests/quotationCustomerDailyFields.ui.test.mjs packageEquity/tests/quotationMoney.helpers.test.mjs packageEquity/tests/quotationPayload.helpers.test.mjs packageEquity/tests/ruleFn.test.mjs",
    "test:order-entry-refactor": "node --experimental-detect-module --test packageEquity/tests/quotationSubmit.workflow.test.mjs packageEquity/tests/quotationPricing.workflow.test.mjs packageEquity/tests/quotationPricing.events.test.mjs packageEquity/tests/quotationFirstStep.events.test.mjs packageEquity/tests/quotationSecondStep.events.test.mjs packageEquity/tests/quotationCustomerSelection.helpers.test.mjs packageEquity/tests/quotationRoute.contract.test.mjs packageEquity/tests/quotationPackageBoundary.test.mjs packageEquity/tests/simpleQuotationCatalog.helpers.test.mjs packageEquity/tests/simpleQuotationFormConfig.helpers.test.mjs packageEquity/tests/simpleQuotationCheckout.workflow.test.mjs packageEquity/tests/simpleQuotationLifecycle.test.mjs packageEquity/tests/simpleQuotationPage.contract.test.mjs packageEquity/tests/simpleQuotationRoute.helpers.test.mjs packageEquity/tests/simpleQuotationTotal.helpers.test.mjs packageEquity/tests/simpleQuotationValidation.helpers.test.mjs tabWorkOrder/pages/createOrder/tests/createOrderCatalog.workflow.test.mjs tabWorkOrder/pages/createOrder/tests/createOrderPage.contract.test.mjs tabWorkOrder/pages/createOrder/tests/goodsChooseEcho.workflow.test.mjs tabWorkOrder/pages/createOrder/tests/orderHydration.helpers.test.mjs tabWorkOrder/pages/createOrder/tests/orderValidation.helpers.test.mjs tabWorkOrder/pages/createOrder/tests/paymentSelection.helpers.test.mjs tabWorkOrder/pages/createOrder/tests/submitWorkflow.test.mjs tabWorkOrder/pages/createOrder/tests/createOrderRoute.contract.test.mjs tests/order-entry-refactor/ui/live-config.test.mjs tests/order-entry-refactor/ui/smokeEvidence.helpers.test.mjs",
    "test:order-entry-refactor:ui": "node --test tests/order-entry-refactor/ui/orderEntryRefactor.live.test.mjs",
    "test:subpackage-split": "node --experimental-detect-module --test tests/subpackage-split",
    "test:subpackage-split:ui": "node --test tests/subpackage-split/ui/subpackage-split.live.test.mjs",
    "check:subpackage-boundaries": "node scripts/check-subpackage-boundaries.mjs --roots packageEquityAI",
    "check:main-package-js": "node scripts/check-main-package-js-usage.mjs",
    "check:subpackage-size": "node scripts/check-subpackage-size.mjs",
    "test:components": "node --test tests/popupBehavior.test.mjs tests/calendarMonthMode.test.mjs tests/componentsImageUrl.test.mjs tests/technicianSelect.helpers.test.mjs tests/sideSelectDataSource.test.mjs tests/storePickerConfirm.test.mjs",
    "knowledge:build": "node scripts/knowledge-graph/knowledge-build.mjs",
    "knowledge:check": "node scripts/knowledge-graph/knowledge-check.mjs",
    "impact": "node scripts/knowledge-graph/query-knowledge-graph.mjs",
    "gen:component-index": "npm run knowledge:build",
    "check:migration": "node scripts/check-migration-readiness.mjs",
    "build:used-car-request-slim": "node scripts/build-used-car-request-slim.mjs",
    "sync:subpackage-assets": "node scripts/sync-subpackage-assets.mjs",
    "check:subpackage-assets": "node scripts/sync-subpackage-assets.mjs --check"
  }
}