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-09-23 19:26:57 +03:00
|
|
|
"@mozilla-protocol/core": "14.1.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",
|
2020-05-22 19:29:36 +03:00
|
|
|
"eslint": "^7.0.0",
|
2020-06-01 15:56:19 +03:00
|
|
|
"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",
|
2021-05-05 19:39:51 +03:00
|
|
|
"stylelint": "^13.12.0",
|
2020-06-01 15:56:19 +03:00
|
|
|
"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": {
|
2020-12-01 20:26:14 +03:00
|
|
|
"browser-sync": "^2.26.13",
|
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",
|
2021-10-06 15:18:46 +03:00
|
|
|
"eslint-config-prettier": "^8.3.0",
|
2020-05-22 19:29:36 +03:00
|
|
|
"eslint-plugin-json": "^2.1.1",
|
2021-09-23 13:11:33 +03:00
|
|
|
"jasmine-core": "3.9.0",
|
2021-05-05 19:39:51 +03:00
|
|
|
"karma": "^6.3.2",
|
2019-09-02 11:55:16 +03:00
|
|
|
"karma-chrome-launcher": "3.1.0",
|
2021-09-23 13:11:33 +03:00
|
|
|
"karma-firefox-launcher": "2.1.1",
|
|
|
|
"karma-jasmine": "4.0.1",
|
2020-06-01 15:56:19 +03:00
|
|
|
"karma-sourcemap-loader": "^0.3.8",
|
|
|
|
"karma-webpack": "^5.0.0",
|
2021-10-06 15:18:46 +03:00
|
|
|
"prettier": "^2.4.1",
|
2021-09-23 13:11:33 +03:00
|
|
|
"sinon": "11.1.2",
|
2019-07-17 11:03:01 +03:00
|
|
|
"svgo": "^1.2.2",
|
|
|
|
"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 .",
|
|
|
|
"prettier-check": "prettier --check ."
|
2020-06-01 15:56:19 +03:00
|
|
|
},
|
|
|
|
"browserslist": [
|
|
|
|
"defaults",
|
|
|
|
"IE 8"
|
|
|
|
]
|
2014-01-18 04:52:54 +04:00
|
|
|
}
|