-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
123 lines (123 loc) · 4.48 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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
{
"name": "dclint",
"version": "2.2.2",
"description": "A command-line tool for validating and enforcing best practices in Docker Compose files.",
"keywords": [
"docker",
"docker-compose",
"compose",
"linter",
"lint",
"best practices"
],
"homepage": "https://github.com/zavoloklom/docker-compose-linter",
"bugs": {
"url": "https://github.com/zavoloklom/docker-compose-linter/issues"
},
"repository": {
"url": "https://github.com/zavoloklom/docker-compose-linter.git"
},
"funding": "https://github.com/zavoloklom#how-to-support",
"license": "MIT",
"author": "Sergey Kupletsky <[email protected]> (https://github.com/zavoloklom)",
"type": "module",
"main": "dist/index.cjs",
"module": "dist/index.esm.js",
"types": "dist/types/src/index.d.ts",
"bin": {
"dclint": "./bin/dclint.cjs"
},
"directories": {
"test": "tests"
},
"files": [
"dist",
"bin",
"schemas"
],
"scripts": {
"build": "npm run build:lib & npm run build:cli & npm run build:pkg",
"build:cli": "rimraf bin && rollup -c rollup.config.cli.js",
"build:lib": "rimraf dist && rollup -c rollup.config.lib.js",
"build:pkg": "rimraf pkg && rollup -c rollup.config.pkg.js",
"changelog:fix": "prettier --write \"CHANGELOG.md\" && markdownlint-cli2 --fix \"CHANGELOG.md\" && prettier --write \"CHANGELOG.md\"",
"commitlint": "commitlint --from=origin/main",
"debug": "tsc && node --import=tsimp/import --no-warnings --inspect ./src/cli/cli.ts ./tests/mocks/docker-compose.yml -c ./tests/mocks/.dclintrc",
"debug:bin": "node ./bin/dclint.cjs ./tests/mocks/docker-compose.correct.yml --fix",
"docs:check": "node --import=tsimp/import ./scripts/check-documentation.ts && npm run markdownlint",
"docs:fix": "npm run prettier && npm run markdownlint:fix",
"docs:update": "node --import=tsimp/import ./scripts/update-documentation.ts",
"eslint": "eslint .",
"eslint:fix": "eslint . --fix",
"lint": "npm run eslint && npm run docs:check && npm run commitlint",
"markdownlint": "markdownlint-cli2 \"**/*.md\" \"#node_modules\" \"#**/node_modules\"",
"markdownlint:fix": "markdownlint-cli2 --fix \"**/*.md\" \"#node_modules\" \"#**/node_modules\"",
"prepare": "husky",
"prettier": "prettier --write \"**/*.md\"",
"test": "ava --verbose",
"test:coverage": "rimraf coverage && mkdir -p coverage && c8 ava --tap | tap-xunit --package='dclint' > ./coverage/junit.xml",
"tsc": "tsc",
"update-compose-schema": "node --import=tsimp/import ./scripts/download-compose-schema.ts"
},
"dependencies": {
"ajv": "^8.17.1",
"cosmiconfig": "^9.0.0",
"picocolors": "^1.1.1",
"yaml": "^2.6.0",
"yargs": "^17.7.2"
},
"devDependencies": {
"@babel/preset-env": "7.26.0",
"@commitlint/cli": "19.6.1",
"@commitlint/config-conventional": "19.6.0",
"@rollup/plugin-babel": "6.0.4",
"@rollup/plugin-commonjs": "28.0.2",
"@rollup/plugin-json": "6.1.0",
"@rollup/plugin-node-resolve": "16.0.0",
"@rollup/plugin-replace": "6.0.2",
"@rollup/plugin-terser": "0.4.4",
"@rollup/plugin-typescript": "12.1.2",
"@semantic-release/changelog": "6.0.3",
"@semantic-release/commit-analyzer": "13.0.0",
"@semantic-release/exec": "6.0.3",
"@semantic-release/git": "10.0.1",
"@semantic-release/github": "11.0.1",
"@semantic-release/npm": "12.0.1",
"@semantic-release/release-notes-generator": "14.0.2",
"@stylistic/eslint-plugin": "2.12.1",
"@types/node": "20.17.11",
"@types/yargs": "17.0.33",
"@typescript-eslint/eslint-plugin": "7.14.1",
"@typescript-eslint/parser": "7.14.1",
"ava": "6.2.0",
"c8": "10.1.3",
"change-case": "5.4.4",
"conventional-changelog-conventionalcommits": "8.0.0",
"eslint": "8.57.1",
"eslint-config-airbnb-base": "15.0.0",
"eslint-config-airbnb-typescript": "18.0.0",
"eslint-config-prettier": "9.1.0",
"eslint-import-resolver-typescript": "3.7.0",
"eslint-plugin-ava": "14.0.0",
"eslint-plugin-import": "2.31.0",
"eslint-plugin-prettier": "5.2.1",
"eslint-plugin-sonarjs": "1.0.3",
"eslint-plugin-unicorn": "56.0.1",
"esmock": "2.6.9",
"husky": "9.1.7",
"markdownlint-cli2": "0.17.1",
"semantic-release": "24.2.0",
"tap-xunit": "2.4.1",
"tsimp": "2.0.12",
"tslib": "2.8.1",
"typescript": "5.7.2"
},
"engines": {
"node": ">=18.20.0",
"npm": ">=10.0.0"
},
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
}
}