forked from mdn/browser-compat-data
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
118 lines (118 loc) · 4.5 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
{
"name": "@mdn/browser-compat-data",
"version": "5.5.40",
"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": ">=18.0.0"
},
"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.24.1",
"@babel/plugin-syntax-import-assertions": "~7.24.1",
"@ddbeck/mdn-content-inventory": "^0.2.20240621",
"@desertnet/html-parser": "~1.0.1",
"@swc/cli": "^0.4.0",
"@swc/core": "1.7.0",
"@types/deep-diff": "~1.0.1",
"@types/mocha": "~10.0.0",
"@types/node": "~20.14.0",
"@types/sinon": "^17.0.0",
"@types/yargs": "~17.0.10",
"@typescript-eslint/eslint-plugin": "~7.16.0",
"@typescript-eslint/parser": "~7.16.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.29.0",
"eslint-plugin-jsdoc": "~48.8.3",
"eslint-plugin-node": "~11.1.0",
"eslint-plugin-prefer-arrow-functions": "~3.3.1",
"eslint-plugin-promise": "~6.6.0",
"eslint-plugin-unicorn": "^54.0.0",
"fast-json-stable-stringify": "~2.1.0",
"fdir": "~6.2.0",
"husky": "^9.0.2",
"json-schema-to-typescript": "~14.1.0",
"lint-staged": "^15.0.1",
"mocha": "~10.7.0",
"open-cli": "~8.0.0",
"ora": "~8.0.1",
"prettier": "~3.3.1",
"sinon": "^18.0.0",
"ts-node": "~10.9.1",
"typescript": "~5.5.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"
}
}