aboutsummaryrefslogtreecommitdiffhomepage
path: root/package.json
blob: 22b72bcde0e82c7b160f12ff92ed7724b57862a2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
{
  "name": "sponsorblock",
  "version": "1.0.0",
  "description": "",
  "main": "background.js",
  "type": "module",
  "dependencies": {
    "react": "^17.0.2",
    "react-dom": "^17.0.2"
  },
  "devDependencies": {
    "@types/chrome": "^0.0.188",
    "@types/firefox-webext-browser": "^94.0.1",
    "@types/jest": "^27.5.1",
    "@types/react": "^17.0.43",
    "@types/react-dom": "^17.0.14",
    "@types/selenium-webdriver": "^4.1.0",
    "@types/wicg-mediasession": "^1.1.3",
    "@typescript-eslint/eslint-plugin": "^5.26.0",
    "@typescript-eslint/parser": "^5.26.0",
    "chromedriver": "^101.0.0",
    "concurrently": "^7.2.1",
    "copy-webpack-plugin": "^11.0.0",
    "eslint": "^8.16.0",
    "eslint-plugin-react": "^7.30.0",
    "fork-ts-checker-webpack-plugin": "^7.2.11",
    "jest": "^28.1.0",
    "jest-environment-jsdom": "^28.1.0",
    "rimraf": "^3.0.2",
    "schema-utils": "^4.0.0",
    "selenium-webdriver": "^4.1.2",
    "speed-measure-webpack-plugin": "^1.5.0",
    "ts-jest": "^28.0.3",
    "ts-loader": "^9.3.0",
    "ts-node": "^10.8.0",
    "typescript": "4.7",
    "web-ext": "^6.8.0",
    "webpack": "^5.72.1",
    "webpack-cli": "^4.9.2",
    "webpack-merge": "^5.8.0"
  },
  "scripts": {
    "web-run": "npm run web-run:chrome",
    "web-sign": "web-ext sign -s dist",
    "web-run:firefox": "cd dist && web-ext run --start-url https://addons.mozilla.org/firefox/addon/ublock-origin/",
    "web-run:firefox-android": "cd dist && web-ext run -t firefox-android --firefox-apk org.mozilla.fenix",
    "web-run:chrome": "cd dist && web-ext run --start-url https://chrome.google.com/webstore/detail/ublock-origin/cjpalhdlnbpafiamejdnhcphjbkeiagm -t chromium",
    "build": "npm run build:chrome",
    "build:chrome": "webpack --env browser=chrome --config webpack/webpack.prod.js",
    "build:firefox": "webpack --env browser=firefox --config webpack/webpack.prod.js",
    "build:safari": "webpack --env browser=safari --config webpack/webpack.prod.js",
    "build:edge": "webpack --env browser=edge --config webpack/webpack.prod.js",
    "build:dev": "npm run build:dev:chrome",
    "build:dev:chrome": "webpack --env browser=chrome --config webpack/webpack.dev.js",
    "build:dev:firefox": "webpack --env browser=firefox --config webpack/webpack.dev.js",
    "build:watch": "npm run build:watch:chrome",
    "build:watch:chrome": "webpack --env browser=chrome --config webpack/webpack.dev.js --watch",
    "build:watch:firefox": "webpack --env browser=firefox --config webpack/webpack.dev.js --watch",
    "ci:invidious": "ts-node ci/invidiousCI.ts",
    "dev": "npm run build:dev && concurrently \"npm run web-run\" \"npm run build:watch\"",
    "dev:firefox": "npm run build:dev:firefox && concurrently \"npm run web-run:firefox\" \"npm run build:watch:firefox\"",
    "dev:firefox-android": "npm run build:dev:firefox && concurrently \"npm run web-run:firefox-android\" \"npm run build:watch:firefox\"",
    "clean": "rimraf dist",
    "test": "npm run build:chrome && npx jest",
    "test-without-building": "npx jest",
    "lint": "eslint src",
    "lint:fix": "eslint src --fix"
  },
  "engines": {
    "node": ">=16"
  },
  "funding": [
    {
      "type": "individual",
      "url": "hhttps://sponsor.ajay.app/donate"
    },
    {
      "type": "github",
      "url": "https://github.com/sponsors/ajayyy-org"
    },
    {
      "type": "patreon",
      "url": "https://www.patreon.com/ajayyy"
    },
    {
      "type": "individual",
      "url": "https://paypal.me/ajayyy"
    }
  ],
  "repository": {
    "type": "git",
    "url": "git+https://github.com/ajayyy/SponsorBlock.git"
  },
  "author": "Ajay Ramachandran",
  "license": "LGPL-3.0-or-later",
  "private": true
}