Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
60 lines (60 loc) · 1.54 KB
/
Copy pathpackage.json
File metadata and controls
60 lines (60 loc) · 1.54 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
{
"name": "code-quality-action",
"version": "1.1.0",
"description": "GitHub Action for code quality checks supporting PHP, JavaScript/TypeScript, CSS, and SCSS",
"main": "lib/main.js",
"scripts": {
"build": "tsc",
"format": "prettier --write '**/*.ts'",
"format:check": "prettier --check '**/*.ts'",
"lint": "eslint src/**/*.ts",
"package": "ncc build --source-map --license licenses.txt",
"all": "npm run build && npm run format && npm run lint && npm run package",
"prepare": "husky"
},
"repository": {
"type": "git",
"url": "git+https://github.com/zeroseven/code-quality-action.git"
},
"keywords": [
"github-action",
"code-quality",
"phpstan",
"phpmd",
"php-cs-fixer",
"eslint",
"stylelint",
"linter"
],
"author": "zeroseven",
"license": "MIT",
"dependencies": {
"@actions/cache": "^5.0.1",
"@actions/core": "^1.10.1",
"@actions/exec": "^1.1.1",
"@actions/glob": "^0.4.0"
},
"devDependencies": {
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/git": "^10.0.1",
"@types/node": "^20.10.6",
"@typescript-eslint/eslint-plugin": "^6.17.0",
"@typescript-eslint/parser": "^6.17.0",
"@vercel/ncc": "^0.38.1",
"eslint": "^8.56.0",
"husky": "^9.1.7",
"lint-staged": "^16.2.7",
"prettier": "^3.1.1",
"semantic-release": "^23.0.0",
"typescript": "^5.3.3"
},
"lint-staged": {
"*.ts": [
"prettier --write",
"eslint --fix"
],
"*.{json,yml,yaml,md}": [
"prettier --write"
]
}
}