-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
45 lines (45 loc) · 1.19 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
{
"name": "@smockle/contrast",
"version": "0.0.0-development",
"description": "Analyse luminosity contrast ratio",
"type": "module",
"main": "dist/lib/index.js",
"bin": {
"contrast": "dist/bin/index.js"
},
"scripts": {
"build": "tsc",
"test": "NODE_OPTIONS='--no-warnings=ExperimentalWarning --experimental-vm-modules' npx jest",
"start": "node --no-warnings=ExperimentalWarning --experimental-vm-modules 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": {
"jest": "^29.7.0",
"ts-jest": "^29.1.1",
"typescript": "^5.2.2"
},
"jest": {
"preset": "ts-jest/presets/default-esm",
"collectCoverage": true,
"extensionsToTreatAsEsm": [
".ts"
],
"roots": [
"<rootDir>/src"
],
"testRegex": "\\.test\\.ts$",
"moduleNameMapper": {
"^(\\.{1,2}/.*)\\.js$": "$1",
"^@/(.*)\\.js$": "<rootDir>/src/$1"
}
}
}