-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
63 lines (63 loc) · 1.83 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
{
"name": "color-name-to-code",
"version": "1.0.1",
"description": "A javascript library that returns a color code for a given color name.",
"author": "Simon Lepel <[email protected]> (https://simbo.de/)",
"license": "MIT",
"keywords": [
"color",
"name",
"color name",
"name to color",
"color code",
"rgb",
"hex",
"css"
],
"homepage": "https://github.com/simbo/color-name-to-code#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/simbo/color-name-to-code.git"
},
"bugs": {
"url": "https://github.com/simbo/color-name-to-code/issues"
},
"engines": {
"node": ">=16"
},
"type": "module",
"main": "dist/index.js",
"files": [
"dist",
"README.md",
"LICENSE.md"
],
"scripts": {
"build": "rm -rf dist && tsc --project ./tsconfig.dist.json",
"lint": "eslint -c .eslintrc.json .",
"lint:fix": "eslint -c .eslintrc.json --fix .",
"format": "prettier --check .",
"format:fix": "prettier --write .",
"preflight": "npm run lint && npm run format && npm run test && npm run build",
"test": "NODE_OPTIONS=--experimental-vm-modules NODE_NO_WARNINGS=1 jest",
"test:watch": "npm run test -- --watch",
"upgrade": "npx --yes npm-check-updates -u -t minor && npx --yes npm-check-updates --interactive --reject typescript,@types/node && npm i"
},
"dependencies": {
"color-name": "^2.0.0"
},
"devDependencies": {
"@ianvs/prettier-plugin-sort-imports": "^3.7.2",
"@types/jest": "^29.5.1",
"@types/node": "^16.18.25",
"@typescript-eslint/eslint-plugin": "^5.59.2",
"@typescript-eslint/parser": "^5.59.2",
"eslint": "^8.39.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-unicorn": "^46.0.0",
"jest": "^29.5.0",
"prettier": "^2.8.8",
"ts-jest": "^29.1.0",
"typescript": "^4.9.5"
}
}