-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
64 lines (64 loc) · 2.04 KB
/
Copy pathpackage.json
File metadata and controls
64 lines (64 loc) · 2.04 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
{
"name": "codemetrix",
"description": "Understand the level of coupling and changeability of your code in a second.",
"version": "1.0.0",
"author": "Mikael Vesavuori",
"license": "MIT",
"type": "module",
"keywords": [
"code-analysis",
"static-analysis",
"code-quality",
"code-metrics",
"dx",
"refactoring",
"software-architecture"
],
"repository": {
"type": "git",
"url": "git+https://github.com/mikaelvesavuori/codemetrix"
},
"bugs": {
"url": "https://github.com/mikaelvesavuori/codemetrix/issues"
},
"homepage": "https://github.com/mikaelvesavuori/codemetrix",
"files": [
"/dist",
"!/dist/**/*.map",
"!/tests"
],
"bin": {
"codemetrix": "dist/index.mjs"
},
"scripts": {
"start": "npx tsx src/run.ts",
"test": "npm run test:licenses && npm run test:types && npm run test:unit",
"test:types": "npx type-coverage --at-least 93 --strict --ignore-files \"tests/**/*.ts\" --ignore-files \"*.ts\" --ignore-files \"src/application/errors/*.ts\" --ignore-files \"testdata/*.ts\"",
"test:licenses": "npx license-compliance --direct --allow 'MIT;ISC;0BSD;BSD-2-Clause;BSD-3-Clause;Apache-2.0;Unlicense;CC0-1.0'",
"test:unit": "node --loader tsx --test tests/*.ts",
"build": "npm run clean && npm run build:ncc",
"build:ncc": "npx ncc build src/run.ts --license licenses.txt --target es2022 && npm run rename",
"rename": "mv dist/index.js dist/index.mjs",
"clean": "rm -rf dist && mkdir -p dist",
"package": "npm pack",
"prepublishOnly": "npm run build",
"prepare": "husky install"
},
"devDependencies": {
"@types/node": "latest",
"@typescript-eslint/eslint-plugin": "6",
"@typescript-eslint/parser": "6",
"@vercel/ncc": "0",
"eslint": "8",
"eslint-config-prettier": "9",
"eslint-plugin-import": "latest",
"eslint-plugin-jsdoc": "latest",
"eslint-plugin-prettier": "5",
"husky": "8",
"license-compliance": "latest",
"prettier": "3",
"tsx": "latest",
"type-coverage": "2",
"typescript": "5"
}
}