mirror of
https://github.com/GoogleChrome/chrome-extensions-samples.git
synced 2026-03-27 13:29:34 +07:00
Updates a nunber of dependencies in a single PR. These were suggested by dependabot but updating them individually would mean the reposistory would be in a broken state until everything had merged. I'm not personally a huge fan of lowercasing doctype, but Prettier has taken an opinionated stance here and there is not a way to disable it: https://github.com/prettier/prettier/issues/15096
42 lines
1.1 KiB
JSON
42 lines
1.1 KiB
JSON
{
|
|
"name": "chrome-extensions-samples",
|
|
"version": "1.0.0",
|
|
"private": true,
|
|
"description": "Official samples for Chrome Extensions and the Chrome Apps platform.",
|
|
"scripts": {
|
|
"prettier": "npx prettier **/*.{md,html,json} -w",
|
|
"lint": "eslint **/*.js",
|
|
"lint:fix": "npm run lint -- --fix",
|
|
"prepare": "husky install"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/GoogleChrome/chrome-extensions-samples.git"
|
|
},
|
|
"keywords": [],
|
|
"author": "The Chrome Team",
|
|
"license": "Apache 2.0",
|
|
"bugs": {
|
|
"url": "https://github.com/GoogleChrome/chrome-extensions-samples/issues"
|
|
},
|
|
"homepage": "https://github.com/GoogleChrome/chrome-extensions-samples#readme",
|
|
"devDependencies": {
|
|
"eslint": "8.56.0",
|
|
"eslint-config-prettier": "9.1.0",
|
|
"eslint-plugin-import": "2.29.1",
|
|
"eslint-plugin-jest": "^27.9.0",
|
|
"eslint-plugin-prettier": "5.1.3",
|
|
"husky": "9.0.11",
|
|
"lint-staged": "15.2.2",
|
|
"prettier": "3.2.5"
|
|
},
|
|
"lint-staged": {
|
|
"**/*.js": [
|
|
"npx eslint --fix"
|
|
],
|
|
"**/*.{md,html,json}": [
|
|
"npx prettier --write"
|
|
]
|
|
}
|
|
}
|