-
Notifications
You must be signed in to change notification settings - Fork 515
/
package.json
60 lines (60 loc) · 1.76 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
{
"name": "interactive-examples",
"version": "3.0.0",
"description": "Interactive code examples embedded on MDN",
"author": "Mozilla",
"license": "CC0-1.0",
"repository": {
"type": "git",
"url": "git+https://github.com/mdn/interactive-examples.git"
},
"bugs": {
"url": "https://github.com/mdn/interactive-examples/issues"
},
"homepage": "https://github.com/mdn/interactive-examples#readme",
"main": "index.js",
"scripts": {
"build": "mdn-bob",
"build:pages": "mdn-bob --skip-webpack",
"fix": "npm run fix:css && npm run fix:js && npm run fix:format",
"fix:css": "npm run lint:css -- --fix",
"fix:js": "eslint --fix .",
"fix:format": "prettier -w --ignore-unknown .",
"lint": "npm run lint:css && npm run lint:js && npm run lint:format",
"lint:css": "stylelint \"**/*.css\"",
"lint:js": "eslint .",
"lint:format": "prettier -c --ignore-unknown .",
"postinstall": "npm run build",
"prepare": "husky || true",
"start-server": "http-server -p 9090 ./docs",
"start-watch": "chokidar \"./live-examples/**\" -c \"npm run build:pages\" --initial --silent",
"start": "npm-run-all --parallel start-watch start-server",
"test": "npm run lint"
},
"keywords": [
"javascript",
"css",
"nodejs",
"page-generator",
"mdn",
"mozilla"
],
"engines": {
"node": ">=20"
},
"devDependencies": {
"@babel/core": "^7.26.0",
"@babel/eslint-parser": "^7.25.9",
"@mdn/bob": "^6.0.0",
"chokidar-cli": "^3.0.0",
"eslint": "^8.57.1",
"http-server": "^14.1.1",
"husky": "^9.1.7",
"lint-staged": "^15.2.11",
"npm-run-all": "^4.1.5",
"prettier": "^3.4.2",
"prettier-eslint": "^16.2.0",
"stylelint": "^16.12.0",
"stylelint-prettier": "^5.0.2"
}
}