forked from htmlhint/HTMLHint
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
137 lines (137 loc) · 3.45 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
124
125
126
127
128
129
130
131
132
133
134
135
136
137
{
"name": "htmlhint",
"version": "0.16.1",
"description": "The Static Code Analysis Tool for your HTML",
"repository": {
"type": "git",
"url": "git+https://github.com/htmlhint/HTMLHint.git"
},
"bugs": {
"url": "https://github.com/htmlhint/HTMLHint/issues"
},
"keywords": [
"html",
"hint",
"analysis",
"javascript"
],
"homepage": "https://htmlhint.com",
"license": "MIT",
"bin": {
"htmlhint": "./bin/htmlhint"
},
"main": "dist/htmlhint.js",
"module": "dist/core/core.js",
"scripts": {
"commit": "npx git-cz",
"prettier": "prettier --write .",
"test": "mocha --recursive \"./test/**/*.spec.js\"",
"build": "node build.js",
"build:rollup": "npm run build:min && npm run build:unmin",
"build:min": "rollup -c --environment NODE_ENV:production --file dist/htmlhint.min.js",
"build:unmin": "rollup -c",
"lint": "eslint . --ext .js,.ts --max-warnings 0",
"lint:fix": "eslint --fix . --ext .js,.ts --max-warnings 0",
"test:coverage": "nyc npm run test"
},
"husky": {
"hooks": {
"prepare-commit-msg": "exec < /dev/tty && git cz --hook || true",
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.(js|md)": [
"npm run prettier"
],
".js": [
"npm run lint:fix",
"npm run lint"
]
},
"config": {
"commitizen": {
"path": "cz-conventional-changelog"
},
"cz-customizable": {
"config": "commitizen.config.js"
}
},
"dependencies": {
"@types/node-fetch": "^2.5.12",
"async": "3.2.0",
"chalk": "4.1.0",
"commander": "5.1.0",
"glob": "7.1.7",
"node-fetch": "^2.6.2",
"parse-glob": "3.0.4",
"strip-json-comments": "3.1.0",
"xml": "1.0.1"
},
"devDependencies": {
"@commitlint/cli": "^13.1.0",
"@commitlint/config-conventional": "^13.1.0",
"@rollup/plugin-commonjs": "13.0.0",
"@rollup/plugin-node-resolve": "8.1.0",
"@semantic-release/changelog": "5.0.1",
"@semantic-release/commit-analyzer": "8.0.1",
"@semantic-release/git": "9.0.1",
"@semantic-release/github": "7.0.7",
"@semantic-release/npm": "7.1.3",
"@semantic-release/release-notes-generator": "9.0.3",
"@types/async": "3.2.3",
"@types/glob": "7.1.3",
"@types/node-fetch": "^2.5.12",
"@types/parse-glob": "3.0.29",
"@types/xml": "1.0.5",
"@typescript-eslint/eslint-plugin": "3.6.0",
"@typescript-eslint/parser": "3.10.1",
"commitizen": "^4.2.4",
"commitlint": "^13.1.0",
"eslint": "^7.32.0",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-prettier": "^3.4.1",
"expect.js": "0.3.1",
"husky": "4.2.5",
"lint-staged": "10.2.11",
"mocha": "^9.1.1",
"nyc": "15.1.0",
"prettier": "^2.0.5",
"pretty-quick": "3.1.1",
"rollup": "2.21.0",
"rollup-plugin-babel": "4.4.0",
"rollup-plugin-terser": "6.1.0",
"semantic-release": "^17.4.7",
"typescript": "3.9.6"
},
"release": {
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/changelog",
"@semantic-release/changelog",
"@semantic-release/npm",
"@semantic-release/git"
]
},
"files": [
"bin",
"dist"
],
"nyc": {
"all": true,
"include": [
"dist/htmlhint.js"
],
"exclude": [
"**/*.spec.js",
"src/**/*.ts",
"bin/htmlhint"
],
"reporter": [
"text",
"lcov"
],
"sourceMap": false
}
}