-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
86 lines (86 loc) · 2.78 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
{
"name": "haircare-ingredients-analyzer",
"version": "1.3.14",
"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"
},
"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",
"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"
}
}
}