-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
59 lines (59 loc) · 1.33 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
{
"name": "@smockle/contrast",
"version": "8.0.1",
"description": "Analyse luminosity contrast ratio",
"files": [
"dist"
],
"type": "module",
"main": "dist/lib/index.js",
"types": "dist/lib/index.d.ts",
"bin": {
"contrast": "dist/bin/index.js"
},
"scripts": {
"build": "tsc",
"test": "node node_modules/jest/bin/jest.js",
"start": "node dist/bin/index.js"
},
"repository": {
"type": "git",
"url": "git+https://github.com/smockle/contrast.git"
},
"author": "Clay Miller <[email protected]> (https://www.smockle.com)",
"license": "MIT",
"bugs": {
"url": "https://github.com/smockle/contrast/issues"
},
"homepage": "https://github.com/smockle/contrast#readme",
"devDependencies": {
"@types/jest": "^27.0.0",
"@types/node": "^22.0.0",
"jest": "^27.0.1",
"ts-jest": "^27.0.0",
"typescript": "^4.1.3"
},
"engines": {
"node": ">= 20.0.0"
},
"jest": {
"preset": "ts-jest/presets/default-esm",
"collectCoverage": true,
"testRegex": "(\\.|/)(test|spec)\\.[jt]sx?$",
"testPathIgnorePatterns": [
"/node_modules/",
"<rootDir>/dist/"
],
"extensionsToTreatAsEsm": [
".ts"
],
"globals": {
"ts-jest": {
"useESM": true
}
},
"moduleNameMapper": {
"^(\\.\\.?\\/.+)\\.jsx?$": "$1"
}
}
}