-
Notifications
You must be signed in to change notification settings - Fork 720
/
Copy pathpackage.json
83 lines (83 loc) · 2.58 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
{
"ava": {
"failFast": false,
"files": [
"dist/tests/**/*.js",
"!dist/tests/**/fixtures/**/*.js"
],
"timeout": "1m",
"workerThreads": false
},
"dependencies": {
"@hint/utils": "^7.0.24",
"@hint/utils-debug": "^1.0.11",
"@hint/utils-i18n": "^1.0.15",
"@hint/utils-network": "^1.0.27",
"@hint/utils-string": "^1.0.14",
"content-type": "^1.0.5",
"@hint/utils-types": "^1.2.1"
},
"description": "hint for media types (f.k.a. MIME types) related best practices",
"devDependencies": {
"@hint/utils-create-server": "^3.4.27",
"@hint/utils-tests-helpers": "^6.5.7",
"@types/content-type": "^1.1.5",
"@types/node": "^22.9.0",
"@typescript-eslint/eslint-plugin": "^5.59.2",
"@typescript-eslint/parser": "^4.33.0",
"ava": "^4.3.3",
"copyfiles": "^2.4.1",
"eslint": "^7.32.0",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-markdown": "^2.2.1",
"npm-run-all": "^4.1.5",
"nyc": "^15.1.0",
"rimraf": "^5.0.0",
"typescript": "^4.5.5"
},
"files": [
"dist/src"
],
"homepage": "https://webhint.io/",
"keywords": [
"content-type",
"content-type-hint",
"webhint",
"webhint-hint",
"webhint-recommended"
],
"license": "Apache-2.0",
"main": "dist/src/hint.js",
"name": "@hint/hint-content-type",
"nyc": {
"extends": "../../.nycrc"
},
"peerDependencies": {
"hint": "^7.0.0"
},
"repository": {
"directory": "packages/hint-content-type",
"type": "git",
"url": "https://github.com/webhintio/hint.git"
},
"scripts": {
"build": "npm run i18n && npm-run-all build:*",
"build-release": "npm run clean && npm run i18n && npm run build:assets && tsc --inlineSourceMap false --removeComments true",
"build:assets": "copyfiles \"./{src,tests}/**/{!(*.ts),.!(ts)}\" dist",
"build:ts": "tsc -b",
"clean": "rimraf dist",
"i18n": "node ../../scripts/create-i18n.js",
"lint": "npm-run-all lint:*",
"lint:js": "eslint . --cache --ext .js,.md,.ts --ignore-path ../../.eslintignore",
"lint:dependencies": "node ../../scripts/lint-dependencies.js",
"lint:md": "node ../../scripts/lint-markdown.js",
"test": "npm run i18n && npm run lint && npm run build && npm run test-only",
"test-only": "nyc ava",
"test-release": "npm run i18n && npm run lint && npm run build-release && ava",
"watch": "npm run build && npm-run-all --parallel -c watch:*",
"watch:assets": "npm run build:assets -- -w --no-initial",
"watch:test": "ava --watch",
"watch:ts": "npm run build:ts -- --watch"
},
"version": "4.2.27"
}