-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
package.json
96 lines (95 loc) · 2.67 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
87
88
89
90
91
92
93
94
95
96
{
"name": "huetiful-js",
"version": "2.3.0",
"type": "module",
"module": "./build/huetiful.esm.js",
"browser": "./build/huetiful.min.js",
"jsdelivr": "./build/huetiful.min.js",
"types": "./build/types/index.d.ts",
"description": "JavaScript utility library for simple 🧮, fast ⏱️ and accessible ♿ color manipulation.",
"dependencies": {
"culori": "^4.0.1"
},
"devDependencies": {
"@types/culori": "^2.1.0",
"commitizen": "^4.3.0",
"cz-emoji-conventional": "^1.0.2",
"esbuild": "^0.17.19",
"eslint": "^8.57.0",
"jasmine": "5.1.0",
"prettier": "^3.2.0",
"tsup": "^8.2.4",
"typescript": "^5.0.2"
},
"scripts": {
"test": "npx jasmine",
"code:build": "npx esbuild ./lib/index.ts --format=esm --bundle --outfile=./build/huetiful.min.js --minify --minify-whitespace --minify-syntax & npx esbuild ./lib/index.ts --bundle --format=esm --outfile=./build/huetiful.esm.js --keep-names & npx esbuild ./lib/index.ts --platform=node --format=esm --outfile=./build/huetiful.js --bundle --external:$'(node -p \"Object.keys(require('./package.json').dependencies.join(',')\")'",
"code:publish": "npm run code:build & npx tsup --format=esm ./lib/index.ts --dts-only --outDir=./build/types",
"code:format": "npx prettier \"./lib/*/index.ts\" --write",
"code:lint": "npx eslint --fix --ext ./lib/*/index.ts",
"start": "npx tsx watch app.ts"
},
"prettier": {
"semi": true,
"singleQuote": true,
"printWidth": 80,
"tabWidth": 2,
"useTabs": true,
"trailingComma": "none",
"bracketSpacing": true
},
"eslintIgnore": ["*.cjs", ".mjs"],
"config": {
"commitizen": {
"path": "cz-emoji-conventional"
}
},
"eslintConfig": {
"rules": {
"prefer-const": 0,
"no-console": 1,
"no-ternary": 0,
"no-var": 1,
"no-explicit-any": 0,
"no-useless-escape": 0
},
"parserOptions": {
"sourceType": "module",
"ecmaVersion": "latest"
}
},
"files": ["build", "CHANGELOG.md", "readme.md", "contributing.md", "license"],
"repository": {
"type": "git",
"url": "https://github.com/prjctimg/huetiful.git"
},
"keywords": [
"small",
"lch",
"D65",
"lab",
"oklch",
"rgb",
"jch",
"color-schemes",
"colors",
"culori",
"palettes",
"colors",
"generator",
"filter",
"sort",
"luminance",
"contrast"
],
"author": "ディーン・タリサイ",
"email": "[email protected]",
"homepage": "https://huetiful-js.com",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/prjctimg/huetiful/issues"
},
"publishConfig": {
"registry": "https://npm.pkg.github.com"
}
}