-
Notifications
You must be signed in to change notification settings - Fork 49
/
package.json
114 lines (114 loc) · 3.49 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
{
"name": "@mdn/bob",
"version": "6.0.0",
"description": "Builder of Bits aka The MDN Web Docs interactive examples, example builder",
"author": "Mozilla",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/mdn/bob.git"
},
"bugs": {
"url": "https://github.com/mdn/bob/issues"
},
"homepage": "https://github.com/mdn/bob#readme",
"bin": {
"mdn-bob": "./lib/mdn-bob.js"
},
"engines": {
"node": ">=20"
},
"type": "module",
"main": "./lib/mdn-bob.js",
"types": "./types/types.d.ts",
"scripts": {
"build": "cross-env NODE_OPTIONS='--no-warnings=ExperimentalWarning --loader ts-node/esm' node ./lib/mdn-bob.ts",
"build:pages": "cross-env NODE_OPTIONS='--no-warnings=ExperimentalWarning --loader ts-node/esm' node ./lib/mdn-bob.ts --skip-webpack",
"prepack": "tsc",
"start": "npm-run-all build start-server",
"start-server": "http-server -p 4444 ./docs",
"format": "prettier --ignore-unknown --check \"**/*\"",
"format:fix": "prettier --ignore-unknown --write \"**/*\"",
"lint": "eslint .",
"lint:fix": "eslint --fix .",
"fix": "npm run format:fix && npm run lint:fix",
"test": "npm run prepack && npm run format && npm run lint && npm run jest",
"jest": "cross-env JEST_PUPPETEER_CONFIG=jest-puppeteer.config.cjs NODE_OPTIONS=--experimental-vm-modules jest",
"webpack": "webpack",
"prepare": "husky",
"clean": "rm lib/*.js lib/*.js.map editor/**/*.js editor/**/*.js.map"
},
"jest": {
"preset": "jest-puppeteer"
},
"keywords": [
"javascript",
"nodejs",
"page-generator",
"mdn",
"mozilla"
],
"devDependencies": {
"@babel/core": "^7.20.2",
"@babel/eslint-parser": "^7.19.1",
"@eslint/compat": "^1.2.1",
"@swc/core": "^1.3.38",
"@types/clean-css": "^4.2.9",
"@types/fs-extra": "^11.0.3",
"@types/glob": "^8.1.0",
"@types/uglify-js": "^3.17.3",
"@typescript-eslint/eslint-plugin": "^8.7.0",
"cross-env": "^7.0.3",
"eslint": "^9.13.0",
"eslint-config-prettier": "^9.0.0",
"eslint-import-resolver-typescript": "^3.6.1",
"eslint-plugin-import": "^2.29.0",
"eslint-plugin-jest": "^28.8.3",
"globals": "^15.11.0",
"http-server": "14.1.1",
"husky": "^9.0.11",
"jest": "29.7.0",
"jest-puppeteer": "10.1.4",
"lint-staged": "^15.0.2",
"npm-run-all": "4.1.5",
"prettier": "^3.0.0",
"prettier-eslint": "16.3.0",
"puppeteer": "23.11.1",
"style-loader": "^4.0.0",
"swc-loader": "^0.2.3",
"ts-node": "^10.9.1",
"typescript": "^5.1.3",
"webpack-cli": "^5.0.0"
},
"dependencies": {
"@codemirror/autocomplete": "^6.3.0",
"@codemirror/commands": "^6.1.1",
"@codemirror/lang-css": "^6.0.0",
"@codemirror/lang-javascript": "^6.1.0",
"@codemirror/lang-wast": "^6.0.0",
"@codemirror/language": "^6.2.1",
"@codemirror/lint": "^6.0.0",
"@codemirror/view": "^6.3.0",
"@lezer/common": "^1.0.1",
"@lezer/css": "^1.0.0",
"@lezer/highlight": "^1.1.1",
"@lezer/html": "^1.0.1",
"@lezer/javascript": "^1.0.2",
"clean-css": "5.3.3",
"codemirror": "^6.0.1",
"cosmiconfig": "9.0.0",
"css-loader": "^7.1.2",
"css-minimizer-webpack-plugin": "^7.0.0",
"fs-extra": "11.2.0",
"glob": "10.4.5",
"mini-css-extract-plugin": "^2.6.1",
"path-browserify": "^1.0.1",
"uglify-js": "^3.17.4",
"watify": "file:./watify/pkg",
"webpack": "5.97.1"
},
"resolutions": {
"lodash": ">=4.17.5",
"underscore.string": ">=3.3.5"
}
}