-
Notifications
You must be signed in to change notification settings - Fork 2k
/
package.json
120 lines (120 loc) · 4.54 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
{
"name": "@mdn/browser-compat-data",
"version": "5.6.19",
"description": "Browser compatibility data provided by MDN Web Docs",
"main": "index.ts",
"type": "module",
"exports": {
".": {
"require": {
"types": "./build/require.d.ts",
"default": "./build/data.json"
},
"import": {
"types": "./build/import.d.mts",
"default": "./build/data.json"
}
},
"./forLegacyNode": {
"types": "./build/import.d.mts",
"default": "./build/legacynode.mjs"
}
},
"types": "./build/require.d.ts",
"engines": {
"node": ">=20"
},
"repository": {
"type": "git",
"url": "git+https://github.com/mdn/browser-compat-data.git"
},
"keywords": [
"bcd",
"browser-compat-data",
"browser",
"compatibility",
"data",
"mdn",
"mozilla"
],
"author": "MDN Web Docs",
"license": "CC0-1.0",
"bugs": {
"url": "https://github.com/mdn/browser-compat-data/issues"
},
"homepage": "https://github.com/mdn/browser-compat-data#readme",
"devDependencies": {
"@babel/eslint-parser": "~7.25.1",
"@babel/plugin-syntax-import-assertions": "~7.26.0",
"@ddbeck/mdn-content-inventory": "^0.2.20240621",
"@desertnet/html-parser": "~1.0.1",
"@swc/cli": "^0.5.0",
"@swc/core": "1.9.3",
"@types/deep-diff": "~1.0.1",
"@types/mocha": "~10.0.0",
"@types/node": "~22.10.0",
"@types/sinon": "^17.0.0",
"@types/yargs": "~17.0.10",
"@typescript-eslint/eslint-plugin": "~7.18.0",
"@typescript-eslint/parser": "~7.18.0",
"ajv": "~8.17.1",
"ajv-errors": "~3.0.0",
"ajv-formats": "~3.0.1",
"better-ajv-errors": "~1.2.0",
"c8": "~10.1.1",
"chalk": "~5.3.0",
"chalk-template": "~1.1.0",
"cli-progress": "^3.12.0",
"compare-versions": "~6.1.0",
"deep-diff": "~1.0.2",
"es-main": "~1.3.0",
"eslint": "~8.57.0",
"eslint-config-standard": "~17.1.0",
"eslint-import-resolver-typescript": "^3.5.2",
"eslint-plugin-import": "~2.31.0",
"eslint-plugin-jsdoc": "~50.6.0",
"eslint-plugin-node": "~11.1.0",
"eslint-plugin-prefer-arrow-functions": "~3.4.1",
"eslint-plugin-promise": "~6.6.0",
"eslint-plugin-unicorn": "^56.0.0",
"fast-json-stable-stringify": "~2.1.0",
"fdir": "~6.4.0",
"husky": "^9.1.1",
"json-schema-to-typescript": "~15.0.0",
"lint-staged": "^15.0.1",
"marked": "^15.0.1",
"mocha": "~10.8.1",
"open-cli": "~8.0.0",
"ora": "~8.1.0",
"prettier": "~3.4.0",
"sinon": "^19.0.1",
"tempy": "^3.1.0",
"ts-node": "~10.9.1",
"typescript": "~5.7.2",
"web-specs": "^3.0.0",
"yargs": "~17.7.0"
},
"scripts": {
"postinstall": "(git rev-parse --is-inside-work-tree && npm run save-git-history) || echo 'not in Git worktree; skipping save-git-history'",
"save-git-history": "node --loader=ts-node/esm --no-warnings=ExperimentalWarning scripts/save-git-history.ts",
"prepare": "(husky || true) && npm run gentypes && npm run build",
"diff": "node --loader=ts-node/esm --no-warnings=ExperimentalWarning scripts/diff.ts",
"unittest": "NODE_ENV=test c8 mocha index.test.ts --recursive \"{,!(node_modules)/**}/*.test.ts\"",
"coverage": "c8 report -r lcov && open-cli coverage/lcov-report/index.html",
"format": "eslint . && prettier --check . && tsc --noEmit",
"format:fix": "eslint --quiet --fix . && prettier --write .",
"lint": "node --loader=ts-node/esm --no-warnings=ExperimentalWarning lint/lint.ts",
"lint:fix": "node --loader=ts-node/esm --no-warnings=ExperimentalWarning lint/fix.ts",
"fix": "npm run format:fix && npm run lint:fix",
"stats": "node --loader=ts-node/esm --no-warnings=ExperimentalWarning scripts/statistics.ts",
"build": "node --loader=ts-node/esm --no-warnings=ExperimentalWarning scripts/build/index.ts",
"gentypes": "node --loader=ts-node/esm --no-warnings=ExperimentalWarning scripts/generate-types.ts",
"release": "node --loader=ts-node/esm --no-warnings=ExperimentalWarning scripts/release/index.ts",
"remove-redundant-flags": "node --loader=ts-node/esm --no-warnings=ExperimentalWarning scripts/remove-redundant-flags.ts",
"show-errors": "npm test 1> /dev/null",
"test": "npm run format && npm run lint && npm run unittest",
"traverse": "node --loader=ts-node/esm --no-warnings=ExperimentalWarning scripts/traverse.ts",
"update-browser-releases": "node --loader=ts-node/esm --no-warnings=ExperimentalWarning scripts/update-browser-releases/index.ts",
"bcd": "node --loader=ts-node/esm --no-warnings=ExperimentalWarning scripts/bulk-editor/index.ts"
}
}