2014-01-18 04:52:54 +04:00
|
|
|
{
|
|
|
|
"name": "bedrock",
|
|
|
|
"version": "0.1.0",
|
|
|
|
"description": "Making mozilla.org awesome, one pebble at a time",
|
|
|
|
"private": true,
|
|
|
|
"dependencies": {
|
2021-09-17 16:03:25 +03:00
|
|
|
"@babel/core": "^7.15.5",
|
|
|
|
"@babel/preset-env": "^7.15.6",
|
2021-11-10 22:53:38 +03:00
|
|
|
"@mozilla-protocol/core": "16.0.0",
|
2021-09-16 18:01:41 +03:00
|
|
|
"@sentry/browser": "^6.12.0",
|
2021-09-17 16:03:25 +03:00
|
|
|
"babel-loader": "^8.2.2",
|
2020-06-01 15:56:19 +03:00
|
|
|
"clean-webpack-plugin": "^3.0.0",
|
|
|
|
"copy-webpack-plugin": "9.0.1",
|
|
|
|
"css-loader": "6.2.0",
|
|
|
|
"css-minimizer-webpack-plugin": "3.0.2",
|
|
|
|
"mini-css-extract-plugin": "2.2.0",
|
2021-10-06 19:10:29 +03:00
|
|
|
"sass": "^1.42.1",
|
2020-06-01 15:56:19 +03:00
|
|
|
"sass-loader": "12.1.0",
|
|
|
|
"style-loader": "3.2.1",
|
|
|
|
"webpack": "5.51.1",
|
|
|
|
"webpack-cli": "4.8.0"
|
2014-01-18 04:52:54 +04:00
|
|
|
},
|
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
|
|
|
"url": "https://github.com/mozilla/bedrock.git"
|
|
|
|
},
|
|
|
|
"author": "Mozilla",
|
|
|
|
"license": "MPL",
|
|
|
|
"bugs": {
|
|
|
|
"url": "https://bugzilla.mozilla.org/"
|
|
|
|
},
|
|
|
|
"devDependencies": {
|
2022-03-14 18:47:36 +03:00
|
|
|
"browser-sync": "^2.27.8",
|
2020-06-01 15:56:19 +03:00
|
|
|
"browser-sync-webpack-plugin": "^2.2.2",
|
2021-05-05 19:39:51 +03:00
|
|
|
"concurrently": "^6.0.1",
|
2022-03-21 16:51:09 +03:00
|
|
|
"eslint": "^8.11.0",
|
|
|
|
"eslint-config-prettier": "^8.5.0",
|
|
|
|
"eslint-plugin-json": "^3.1.0",
|
2022-03-30 12:15:56 +03:00
|
|
|
"jasmine-core": "^4.0.1",
|
2022-03-14 18:47:36 +03:00
|
|
|
"karma": "^6.3.17",
|
2022-03-30 12:15:56 +03:00
|
|
|
"karma-chrome-launcher": "^3.1.1",
|
|
|
|
"karma-firefox-launcher": "^2.1.2",
|
|
|
|
"karma-jasmine": "^4.0.2",
|
2020-06-01 15:56:19 +03:00
|
|
|
"karma-sourcemap-loader": "^0.3.8",
|
|
|
|
"karma-webpack": "^5.0.0",
|
2022-03-21 16:51:09 +03:00
|
|
|
"prettier": "^2.6.0",
|
2022-03-30 12:15:56 +03:00
|
|
|
"sinon": "^13.0.1",
|
2021-11-10 13:13:22 +03:00
|
|
|
"stylelint": "^14.0.1",
|
|
|
|
"stylelint-config-standard-scss": "^2.0.1",
|
2021-10-21 07:18:11 +03:00
|
|
|
"svgo": "^2.7.0",
|
2019-07-17 11:03:01 +03:00
|
|
|
"tinypng-cli": "^0.0.7"
|
2018-06-07 18:52:53 +03:00
|
|
|
},
|
|
|
|
"scripts": {
|
2020-06-01 15:56:19 +03:00
|
|
|
"start": "concurrently --kill-others \"python manage.py runserver 0.0.0.0:8080\" \"npm run watch\"",
|
|
|
|
"lint-js": "./node_modules/.bin/eslint \"media/js/**/*.js\" \"tests/unit/spec/**/*.js\" webpack.config.js webpack.static.config.js",
|
2020-05-22 19:29:36 +03:00
|
|
|
"lint-css": "./node_modules/.bin/stylelint \"media/css/**/*.{css,scss}\"",
|
2020-10-29 12:21:34 +03:00
|
|
|
"lint-json": "./node_modules/.bin/eslint \"bedrock/base/templates/includes/structured-data/**/*.json\"",
|
2021-10-06 15:18:46 +03:00
|
|
|
"lint": "npm run lint-js && npm run lint-css && npm run lint-json && npm run prettier-check",
|
2020-05-22 19:29:36 +03:00
|
|
|
"pretest": "npm run lint",
|
2020-06-01 15:56:19 +03:00
|
|
|
"test": "./node_modules/.bin/karma start ./tests/unit/karma.conf.js",
|
|
|
|
"static": "webpack --config webpack.static.config.js --mode=production --bail",
|
|
|
|
"prebuild": "npm run static",
|
|
|
|
"build": "webpack --mode=production --bail",
|
|
|
|
"prewatch": "npm run static",
|
2021-10-06 15:18:46 +03:00
|
|
|
"watch": "webpack --mode=development --watch",
|
|
|
|
"prettier": "prettier --write .",
|
2021-11-10 13:13:22 +03:00
|
|
|
"prettier-check": "prettier --check .",
|
|
|
|
"stylelint-fix": "./node_modules/.bin/stylelint \"media/css/**/*.{css,scss}\" --fix",
|
|
|
|
"format": "npm run prettier && npm run stylelint-fix"
|
2020-06-01 15:56:19 +03:00
|
|
|
},
|
|
|
|
"browserslist": [
|
|
|
|
"defaults",
|
|
|
|
"IE 8"
|
|
|
|
]
|
2014-01-18 04:52:54 +04:00
|
|
|
}
|