-
Notifications
You must be signed in to change notification settings - Fork 918
/
package.json
79 lines (79 loc) · 3.06 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
{
"name": "bedrock",
"version": "0.1.0",
"description": "Making mozilla.org awesome, one pebble at a time",
"private": true,
"dependencies": {
"@babel/core": "^7.25.2",
"@babel/preset-env": "^7.25.4",
"@mozilla-protocol/core": "^19.2.0",
"@mozilla/glean": "^5.0.3",
"@mozmeao/consent-banner": "^1.0.0",
"@mozmeao/cookie-helper": "^1.1.0",
"@mozmeao/dnt-helper": "^1.0.0",
"@mozmeao/trafficcop": "^3.0.0",
"@sentry/browser": "^8.33.0",
"babel-loader": "^9.2.1",
"caniuse-lite": "^1.0.30001664",
"clean-webpack-plugin": "^4.0.0",
"copy-webpack-plugin": "^12.0.2",
"css-loader": "^7.1.2",
"css-minimizer-webpack-plugin": "^7.0.0",
"mini-css-extract-plugin": "^2.9.1",
"sass": "^1.79.4",
"sass-loader": "^16.0.2",
"style-loader": "^4.0.0",
"terser-webpack-plugin": "^5.3.10",
"webpack": "^5.95.0",
"webpack-cli": "^5.1.4"
},
"repository": {
"type": "git",
"url": "https://github.com/mozilla/bedrock.git"
},
"author": "Mozilla",
"license": "MPL",
"bugs": {
"url": "https://bugzilla.mozilla.org/"
},
"devDependencies": {
"concurrently": "^9.0.1",
"dotenv-webpack": "^8.1.0",
"eslint": "^9.4.0",
"eslint-config-prettier": "^9.1.0",
"globals": "^15.9.0",
"jasmine-browser-runner": "^2.5.0",
"jasmine-core": "^5.3.0",
"prettier": "^3.3.0",
"sinon": "^19.0.2",
"stylelint": "^16.6.1",
"stylelint-config-standard-scss": "^13.1.0",
"svgo": "^3.3.2",
"webpack-dev-server": "^5.1.0"
},
"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"
]
}