-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpackage.json
More file actions
86 lines (86 loc) · 2.09 KB
/
Copy pathpackage.json
File metadata and controls
86 lines (86 loc) · 2.09 KB
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": "yiq",
"license": "MIT",
"version": "4.0.0",
"description": "Returns light when a color is dark and dark when a color is light (and a little more).",
"main": "build/yiq.js",
"types": "build/yiq.d.ts",
"module": "build/yiq.mjs",
"files": [
"build"
],
"scripts": {
"format:raw": "prettier --write --ignore-path .gitignore",
"format": "yarn format:raw '**/*.{json,md,yml,yaml}' && yarn lint --fix",
"lint": "yarn lint:raw .",
"lint:raw": "eslint --max-warnings=0 --ignore-path .gitignore --ignore-pattern '!.*.*'",
"check:ts": "tsc --noEmit --skipLibCheck",
"test": "jest",
"check:all": "yarn lint && yarn check:ts && yarn test",
"prebuild": "yarn check:all",
"build": "del build && rollup -c",
"prepublishOnly": "yarn build"
},
"dependencies": {},
"devDependencies": {
"@types/jest": "26.0.3",
"del-cli": "3.0.1",
"eslint": "^7.3.1",
"eslint-config-lffg": "^20.0.0",
"husky": "^4.2.5",
"jest": "26.1.0",
"lint-staged": "^10.2.11",
"prettier": "^2.0.5",
"rollup": "^2.18.0",
"rollup-plugin-typescript2": "^0.27.1",
"ts-jest": "26.1.1",
"tslib": "^2.0.0",
"typescript": "^3.9.5"
},
"eslintConfig": {
"extends": [
"lffg"
],
"rules": {
"import/no-default-export": "off",
"no-param-reassign": "off"
}
},
"prettier": "eslint-config-lffg/prettier",
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"pre-push": "yarn check:all"
}
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"yarn lint:raw --fix",
"yarn test --findRelatedTests"
],
"*.{json,md,yml,yaml}": [
"yarn format:raw"
]
},
"publishConfig": {
"access": "public"
},
"repository": {
"type": "git",
"url": "git+https://github.com/lffg/yiq.git"
},
"keywords": [
"yiq",
"color",
"black",
"white",
"light",
"dark",
"color-convert"
],
"author": "Luiz Felipe Gonçalves <https://luizfelipe.dev>",
"bugs": {
"url": "https://github.com/lffg/yiq/issues"
},
"homepage": "https://github.com/lffg/yiq#readme"
}