UNPKG

haircare-ingredients-analyzer

Version:

Library for analyzing haircare product ingredients

93 lines (92 loc) 3.04 kB
{ "name": "haircare-ingredients-analyzer", "version": "1.7.8", "description": "Library for analyzing haircare product ingredients", "main": "./dist/index.umd.js", "module": "./dist/index.es.js", "types": "./dist/index.d.ts", "type": "module", "scripts": { "build": "vite build", "test": "vitest run", "test:watch": "vitest", "test:ui": "vitest --ui --coverage", "test:coverage": "vitest run --coverage", "prepare": "npm run build", "type-check": "tsc --noEmit --project src/tsconfig.json", "type-check-tests": "tsc --noEmit --project tests/tsconfig.json", "api-extractor": "api-extractor run --local --verbose --config api-extractor.json", "lint": "eslint . --ext .ts", "lint:fix": "eslint . --ext .ts --fix", "validate-db": "tsx cli/validate.ts validate", "validate-relationships": "tsx cli/validate.ts validate-relationships", "validate-duplicates": "tsx cli/validate.ts validate-duplicates", "clean-synonyms": "tsx cli/validate.ts clean-synonyms", "validate-case": "tsx cli/validate.ts validate-case", "fix-case": "tsx cli/validate.ts fix-case", "fix-ids": "tsx cli/validate.ts fix-ids", "knip": "knip", "bundle-data": "tsx scripts/bundleData.ts", "prebuild": "npm run bundle-data", "export-ingredients": "tsx scripts/export-ingredients.ts", "import-ingredients": "tsx scripts/import-ingredients.ts", "convert-references": "tsx scripts/convert-references.ts", "normalize": "tsx cli/normalize.ts", "update-products": "tsx scripts/createTrainingData.ts", "convert-csv-to-json": "tsx scripts/csvToJson.js" }, "keywords": [ "haircare", "ingredients", "analysis" ], "author": "Melissa McEwen", "license": "MIT", "devDependencies": { "@microsoft/api-extractor": "^7.48.0", "@microsoft/tsdoc": "^0.15.1", "@types/flexsearch": "^0.7.6", "@types/node": "^20.17.10", "@typescript-eslint/eslint-plugin": "^5.0.0", "@typescript-eslint/parser": "^5.0.0", "@vitest/coverage-v8": "^2.1.8", "@vitest/ui": "^2.1.8", "ajv": "^8.17.1", "ajv-formats": "^3.0.1", "commander": "^12.1.0", "csv-parse": "^5.6.0", "csv-stringify": "^6.5.2", "eslint": "^8.0.0", "eslint-import-resolver-typescript": "^3.0.0", "eslint-plugin-import": "^2.25.0", "json-2-csv": "^5.5.7", "knip": "^5.40.0", "tsx": "^4.19.2", "typescript": "^5.7.2", "vite": "^5.4.11", "vite-plugin-dts": "^4.3.0", "vitest": "^2.1.8" }, "files": [ "dist", "README.md" ], "exports": { ".": { "import": "./dist/index.es.js", "require": "./dist/index.umd.js", "types": "./dist/index.d.ts" }, "./src/data/bundledProducts": { "import": "./dist/data/bundledProducts.js", "types": "./dist/data/bundledProducts.d.ts" }, "./src/data/bundledData": { "import": "./dist/data/bundledData.js", "types": "./dist/data/bundledData.d.ts" } }, "dependencies": { "csv-parser": "^3.2.0" } }