-
Notifications
You must be signed in to change notification settings - Fork 973
Expand file tree
/
Copy pathpackage.json
More file actions
91 lines (91 loc) · 3.27 KB
/
Copy pathpackage.json
File metadata and controls
91 lines (91 loc) · 3.27 KB
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
{
"name": "bedrock",
"version": "0.1.0",
"description": "Making mozilla.org awesome, one pebble at a time",
"private": true,
"dependencies": {
"@babel/core": "^8.0.1",
"@babel/preset-env": "^8.0.2",
"@mozilla-protocol/core": "^22.0.0",
"@mozilla/glean": "^5.0.3",
"@mozmeao/consent-banner": "^1.1.1",
"@mozmeao/cookie-helper": "^1.1.0",
"@mozmeao/dnt-helper": "^1.0.0",
"@mozmeao/trafficcop": "^3.1.0",
"@sentry/browser": "^10.56.0",
"babel-loader": "^10.1.1",
"caniuse-lite": "^1.0.30001793",
"copy-webpack-plugin": "^14.0.0",
"css-loader": "^7.1.4",
"css-minimizer-webpack-plugin": "^8.0.0",
"embla-carousel": "^8.6.0",
"mini-css-extract-plugin": "^2.10.2",
"sass": "1.91.0",
"sass-loader": "^17.0.0",
"style-loader": "^4.0.0",
"terser-webpack-plugin": "^5.6.1",
"webpack": "^5.107.2",
"webpack-cli": "^7.0.3"
},
"repository": {
"type": "git",
"url": "https://github.com/mozilla/bedrock.git"
},
"author": "Mozilla",
"license": "MPL",
"bugs": {
"url": "https://bugzilla.mozilla.org/"
},
"devDependencies": {
"@eslint/js": "^10.0.1",
"concurrently": "^10.0.3",
"dotenv-webpack": "^9.0.0",
"eslint": "^10.8.0",
"eslint-config-prettier": "^10.1.8",
"glob": "^13.0.6",
"globals": "^17.6.0",
"jasmine-browser-runner": "^4.0.0",
"jasmine-core": "^6.1.0",
"prettier": "^3.3.3",
"sinon": "^22.0.0",
"stylelint": "^16.10.0",
"stylelint-config-standard-scss": "^13.1.0",
"svgo": "^4.0.0",
"webpack-dev-server": "^5.2.4"
},
"scripts": {
"start": "concurrently --kill-others \"python manage.py runserver 0.0.0.0:8080\" \"npm run watch\"",
"lint-js": "npx eslint .",
"lint-css": "npx stylelint \"media/css/**/*.{css,scss}\"",
"lint": "npm run lint-js && npm run lint-css && npm run prettier-check",
"test-build": "webpack --config webpack.test.config.js --mode=development",
"jasmine": "npm run test-build && npx jasmine-browser-runner runSpecs --config=tests/unit/jasmine-browser.json && npx jasmine-browser-runner runSpecs --browser=chrome --config=tests/unit/jasmine-browser.json",
"jasmine-serve": "concurrently \"webpack --watch --config webpack.test.config.js --mode=development\" \"npx jasmine-browser-runner serve --config=tests/unit/jasmine-browser.json\"",
"test": "npm run glean && npm run lint && npm run jasmine",
"static": "webpack --config webpack.static.config.js --mode=production --bail",
"prebuild": "npm run glean && npm run static",
"build": "webpack --mode=production --bail --progress",
"prewatch": "npm run glean && npm run static",
"watch": "webpack serve --mode=development --progress",
"prettier": "prettier --write .",
"prettier-check": "prettier --check .",
"stylelint-fix": "npx stylelint \"media/css/**/*.{css,scss}\" --fix",
"format": "npm run prettier && npm run stylelint-fix",
"glean-lint": "glean glinter glean/metrics.yaml",
"glean": "npm run glean-lint && glean translate glean/metrics.yaml -f javascript -o media/js/libs/glean/"
},
"browserslist": [
"defaults",
"IE 8"
],
"overrides": {
"sockjs": {
"uuid": "^11.1.1"
},
"@mozilla/glean": {
"uuid": "^11.1.1"
},
"glob": "^13.0.6",
"ejs": "^6.0.1"
}
}