зеркало из https://github.com/mozilla/bedrock.git
73 строки
2.4 KiB
JSON
73 строки
2.4 KiB
JSON
{
|
|
"name": "bedrock",
|
|
"version": "0.1.0",
|
|
"description": "Making mozilla.org awesome, one pebble at a time",
|
|
"private": true,
|
|
"dependencies": {
|
|
"@babel/core": "^7.15.5",
|
|
"@babel/preset-env": "^7.15.6",
|
|
"@mozilla-protocol/core": "15.0.0",
|
|
"@sentry/browser": "^6.12.0",
|
|
"babel-loader": "^8.2.2",
|
|
"clean-webpack-plugin": "^3.0.0",
|
|
"copy-webpack-plugin": "9.0.1",
|
|
"css-loader": "6.2.0",
|
|
"css-minimizer-webpack-plugin": "3.0.2",
|
|
"eslint": "^7.0.0",
|
|
"mini-css-extract-plugin": "2.2.0",
|
|
"sass": "^1.42.1",
|
|
"sass-loader": "12.1.0",
|
|
"style-loader": "3.2.1",
|
|
"stylelint": "^13.12.0",
|
|
"webpack": "5.51.1",
|
|
"webpack-cli": "4.8.0"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/mozilla/bedrock.git"
|
|
},
|
|
"author": "Mozilla",
|
|
"license": "MPL",
|
|
"bugs": {
|
|
"url": "https://bugzilla.mozilla.org/"
|
|
},
|
|
"devDependencies": {
|
|
"browser-sync": "^2.26.13",
|
|
"browser-sync-webpack-plugin": "^2.2.2",
|
|
"concurrently": "^6.0.1",
|
|
"eslint-config-prettier": "^8.3.0",
|
|
"eslint-plugin-json": "^2.1.1",
|
|
"jasmine-core": "3.9.0",
|
|
"karma": "^6.3.2",
|
|
"karma-chrome-launcher": "3.1.0",
|
|
"karma-firefox-launcher": "2.1.1",
|
|
"karma-jasmine": "4.0.1",
|
|
"karma-sourcemap-loader": "^0.3.8",
|
|
"karma-webpack": "^5.0.0",
|
|
"prettier": "^2.4.1",
|
|
"sinon": "11.1.2",
|
|
"svgo": "^2.7.0",
|
|
"tinypng-cli": "^0.0.7"
|
|
},
|
|
"scripts": {
|
|
"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",
|
|
"lint-css": "./node_modules/.bin/stylelint \"media/css/**/*.{css,scss}\"",
|
|
"lint-json": "./node_modules/.bin/eslint \"bedrock/base/templates/includes/structured-data/**/*.json\"",
|
|
"lint": "npm run lint-js && npm run lint-css && npm run lint-json && npm run prettier-check",
|
|
"pretest": "npm run lint",
|
|
"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",
|
|
"watch": "webpack --mode=development --watch",
|
|
"prettier": "prettier --write .",
|
|
"prettier-check": "prettier --check ."
|
|
},
|
|
"browserslist": [
|
|
"defaults",
|
|
"IE 8"
|
|
]
|
|
}
|