2021-09-22 21:17:51 +02:00
|
|
|
{
|
2022-12-24 02:31:56 +01:00
|
|
|
"name": "usrspace-browser-addon",
|
|
|
|
"description": "WebExtension for the Hacker-/Maker-Space /usr/space",
|
2023-09-13 21:51:09 +02:00
|
|
|
"version": "0.9.5",
|
2022-12-24 02:31:56 +01:00
|
|
|
"devDependencies": {
|
2024-03-05 21:30:08 +01:00
|
|
|
"@commitlint/cli": "^18.6.1",
|
|
|
|
"@commitlint/config-conventional": "^18.6.2",
|
|
|
|
"@commitlint/cz-commitlint": "^18.6.1",
|
|
|
|
"@types/firefox-webext-browser": "^120.0.2",
|
2023-05-24 22:47:36 +02:00
|
|
|
"commitizen": "^4.3.0",
|
2024-01-02 12:38:30 +01:00
|
|
|
"dprint": "^0.45.0",
|
2024-03-05 21:30:08 +01:00
|
|
|
"eslint": "^8.57.0",
|
|
|
|
"eslint-plugin-jsdoc": "^48.2.0",
|
2023-09-08 01:00:20 +02:00
|
|
|
"eslint-plugin-no-unsanitized": "^4.0.2",
|
2024-02-10 18:07:49 +01:00
|
|
|
"eslint-plugin-unicorn": "^51.0.1",
|
2024-03-06 20:57:21 +01:00
|
|
|
"git-cliff": "^2.1.2",
|
2024-03-05 21:30:08 +01:00
|
|
|
"husky": "^9.0.11",
|
2024-02-10 18:07:49 +01:00
|
|
|
"stylelint": "^16.2.1",
|
2024-01-02 12:38:30 +01:00
|
|
|
"stylelint-config-standard": "^36.0.0",
|
2024-01-27 00:40:16 +01:00
|
|
|
"stylelint-plugin-defensive-css": "^1.0.2",
|
2024-01-02 12:38:30 +01:00
|
|
|
"stylelint-plugin-logical-css": "^1.0.0",
|
2024-01-27 00:40:16 +01:00
|
|
|
"web-ext": "^7.11.0"
|
2023-09-06 20:53:40 +02:00
|
|
|
},
|
2022-12-24 11:36:37 +01:00
|
|
|
"scripts": {
|
2022-12-25 17:22:46 +01:00
|
|
|
"copy-version": "sed -i 's/^\t\"version\": \".*\",$/\t\"version\": \"'$(rg '^\t\"version\": \"(.+)\",$' -r '$1' < package.json)'\",/' src/manifest.json",
|
2023-02-04 02:50:44 +01:00
|
|
|
"update-changelog": "npm exec git-cliff > CHANGELOG.md",
|
2023-09-08 01:00:20 +02:00
|
|
|
"lint": "npm run lint:web-ext && npm run lint:js && npm run lint:css",
|
2023-09-06 20:30:40 +02:00
|
|
|
"lint:web-ext": "web-ext lint -w",
|
2023-09-08 01:00:20 +02:00
|
|
|
"lint:js": "eslint .",
|
2023-09-06 20:30:40 +02:00
|
|
|
"lint:css": "stylelint \"src/*.css\"",
|
2023-11-08 20:41:44 +01:00
|
|
|
"fmt": "dprint fmt",
|
2023-10-23 20:41:55 +02:00
|
|
|
"fmt:check": "dprint check",
|
|
|
|
"fmt:update": "dprint config update",
|
2023-01-05 16:40:11 +01:00
|
|
|
"test": "echo \"Error: no test specified\" && exit 0",
|
|
|
|
"watch:firefox": "web-ext run -t firefox-desktop",
|
|
|
|
"watch:firefox-android": "web-ext run -t firefox-android",
|
|
|
|
"watch:chromium": "web-ext run -t chromium",
|
2022-12-25 01:52:02 +01:00
|
|
|
"prebuild": "cp LICENSE.txt src/",
|
2024-02-24 17:24:43 +01:00
|
|
|
"build": "web-ext build",
|
2022-12-25 01:52:02 +01:00
|
|
|
"postbuild": "rm src/LICENSE.txt",
|
2023-11-08 20:41:44 +01:00
|
|
|
"preversion": "npm run fmt:check && npm run lint && npm test",
|
2023-05-25 00:09:11 +02:00
|
|
|
"version": "npm run copy-version && npm run update-changelog && git add CHANGELOG.md src/manifest.json",
|
2024-02-24 17:24:43 +01:00
|
|
|
"postversion": "npm run build",
|
2024-01-27 00:50:03 +01:00
|
|
|
"prepare": "husky",
|
2023-05-24 22:47:36 +02:00
|
|
|
"commit": "git-cz"
|
|
|
|
},
|
|
|
|
"config": {
|
|
|
|
"commitizen": {
|
|
|
|
"path": "@commitlint/cz-commitlint"
|
|
|
|
}
|
2022-12-24 11:36:37 +01:00
|
|
|
},
|
2022-12-24 02:31:56 +01:00
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
2023-09-13 20:32:23 +02:00
|
|
|
"url": "https://git.usrspace.at/XimeX/usrspace-browser-addon"
|
2022-12-24 02:31:56 +01:00
|
|
|
},
|
|
|
|
"keywords": [
|
|
|
|
"/usr/space"
|
|
|
|
],
|
|
|
|
"author": "Thomas Rupprecht",
|
|
|
|
"license": "MIT"
|
2021-09-22 21:17:51 +02:00
|
|
|
}
|