forked from mozilla/bedrock
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
79 lines (79 loc) · 3.12 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.23.2",
"@babel/preset-env": "^7.23.2",
"@mozilla-protocol/core": "^18.0.0",
"@mozilla/glean": "^4.0.0-pre.2",
"@mozmeao/cookie-helper": "^1.1.0",
"@mozmeao/dnt-helper": "^1.0.0",
"@mozmeao/trafficcop": "^2.0.1",
"@sentry/browser": "^7.74.0",
"babel-loader": "^9.1.3",
"caniuse-lite": "^1.0.30001561",
"clean-webpack-plugin": "^4.0.0",
"copy-webpack-plugin": "^11.0.0",
"css-loader": "^6.8.1",
"css-minimizer-webpack-plugin": "^5.0.1",
"mini-css-extract-plugin": "^2.7.6",
"sass": "^1.69.3",
"sass-loader": "^13.3.2",
"style-loader": "^3.3.3",
"terser-webpack-plugin": "^5.3.9",
"webpack": "^5.89.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": "^8.2.1",
"dotenv-webpack": "^8.0.0",
"eslint": "^8.51.0",
"eslint-config-prettier": "^9.0.0",
"jasmine-browser-runner": "^2.3.0",
"jasmine-core": "^5.1.1",
"prettier": "^3.0.3",
"sinon": "^16.1.0",
"stylelint": "^15.11.0",
"stylelint-config-standard-scss": "^11.0.0",
"svgo": "^3.0.2",
"tinypng-cli": "^0.0.7",
"webpack-dev-server": "^4.15.1"
},
"scripts": {
"prestart": "npm run glean",
"start": "concurrently --kill-others \"python manage.py runserver 0.0.0.0:8080\" \"npm run watch\"",
"in-pocket-mode": "SITE_MODE=Pocket npm start",
"lint-js": "./node_modules/.bin/eslint \"media/js/**/*.js\" \"tests/unit/spec/**/*.js\" webpack.config.js webpack.test.config.js webpack.static.config.js",
"lint-css": "./node_modules/.bin/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 && ./node_modules/jasmine-browser-runner/bin/jasmine-browser-runner runSpecs --config=tests/unit/jasmine-browser.json && ./node_modules/jasmine-browser-runner/bin/jasmine-browser-runner runSpecs --browser=chrome --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",
"prewatch": "npm run static",
"watch": "webpack serve --mode=development",
"prettier": "prettier --write .",
"prettier-check": "prettier --check .",
"stylelint-fix": "./node_modules/.bin/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"
]
}