/
package.json
82 lines (82 loc) · 2.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
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
{
"name": "standardlint",
"description": "Extensible standards linter and auditor.",
"version": "1.0.5",
"author": "Mikael Vesavuori",
"license": "MIT",
"keywords": [
"devops",
"software-delivery",
"ci-checks",
"linter",
"audit",
"test-automation",
"standards",
"compliance",
"auditor",
"engops"
],
"main": "dist/index.js",
"repository": {
"type": "git",
"url": "git+https://github.com/mikaelvesavuori/standardlint"
},
"bugs": {
"url": "https://github.com/mikaelvesavuori/standardlint/issues"
},
"homepage": "https://github.com/mikaelvesavuori/standardlint",
"files": [
"/dist",
"!/dist/**/*.map",
"!/tests"
],
"bin": {
"standardlint": "dist/index.js"
},
"scripts": {
"start": "npx ts-node src/test.ts",
"test": "npm run test:licenses && npm run test:types && npm run test:unit",
"test:types": "npx type-coverage --at-least 97 --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": "npx c8 -reporter=lcov ava",
"build": "npm run clean && npm run build:ncc",
"build:ncc": "npx ncc build src/index.ts --license licenses.txt",
"clean": "rm -rf dist && mkdir -p dist",
"package": "npm pack",
"prepublishOnly": "npm run build",
"prepare": "husky install"
},
"devDependencies": {
"@ava/typescript": "4",
"@types/node": "latest",
"@typescript-eslint/eslint-plugin": "5",
"@typescript-eslint/parser": "5",
"@vercel/ncc": "0",
"ava": "5",
"c8": "8",
"eslint": "8",
"eslint-config-prettier": "8",
"eslint-plugin-prettier": "4",
"husky": "8",
"license-compliance": "latest",
"prettier": "2",
"ts-node": "latest",
"tslib": "latest",
"type-coverage": "2",
"typescript": "5"
},
"ava": {
"typescript": {
"rewritePaths": {
"src/": "dist/"
},
"compile": false
},
"files": [
"tests/**/*.ts"
],
"require": [
"ts-node/register"
]
}
}