aboutsummaryrefslogtreecommitdiff
path: root/package.json
blob: e732b694a763a5979152b4c999f38a38b90d4335 (plain) (blame)
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
{
  "name": "dl-librescore",
  "version": "0.35.19",
  "description": "Download sheet music",
  "main": "dist/main.user.js",
  "bin": "dist/cli.js",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/LibreScore/dl-librescore.git"
  },
  "author": "LibreScore",
  "license": "MIT",
  "bugs": {
    "url": "https://github.com/LibreScore/dl-librescore/issues"
  },
  "homepage": "https://github.com/LibreScore/dl-librescore#readme",
  "homepage_url": "https://github.com/LibreScore/dl-librescore#readme",
  "manifest_version": 2,
  "content_security_policy": "script-src 'self' 'unsafe-eval'; object-src 'self'",
  "content_scripts": [
    {
      "matches": [
        "*://*.musescore.com/*/*"
      ],
      "js": [
        "src/web-ext.js"
      ],
      "run_at": "document_start"
    }
  ],
  "web_accessible_resources": [
    "dist/main.user.js"
  ],
  "dependencies": {
    "@librescore/fonts": "^0.4.1",
    "@librescore/sf3": "^0.6.1",
    "detect-node": "^2.1.0",
    "i18next": "^21.8.5",
    "inquirer": "^8.2.4",
    "md5": "^2.3.0",
    "node-fetch": "^2.6.7",
    "ora": "^5.4.1",
    "proxy-agent": "^5.0.0",
    "webmscore": "^0.21.0",
    "yargs": "^17.5.1"
  },
  "devDependencies": {
    "@crokita/rollup-plugin-node-builtins": "^2.1.3",
    "@rollup/plugin-json": "^4.1.0",
    "@types/file-saver": "^2.0.5",
    "@types/inquirer": "^8.2.1",
    "@types/md5": "^2.3.5",
    "@types/pdfkit": "^0.12.6",
    "@types/yargs": "^17.0.10",
    "pdfkit": "git+https://github.com/LibreScore/pdfkit.git",
    "rollup": "^2.75.3",
    "rollup-plugin-commonjs": "^10.1.0",
    "rollup-plugin-node-globals": "^1.4.0",
    "rollup-plugin-node-resolve": "^5.2.0",
    "rollup-plugin-string": "^3.0.0",
    "rollup-plugin-typescript": "^1.0.1",
    "svg-to-pdfkit": "^0.1.8",
    "tslib": "^2.4.0",
    "typescript": "^4.7.2"
  },
  "scripts": {
    "build": "rollup -c",
    "watch": "npm run build -- --watch",
    "start:ext": "web-ext run --url https://musescore.com/",
    "start:ext-chrome": "npm run start:ext -- -t chromium",
    "pack:ext": "zip -r dist/ext.zip manifest.json src/web-ext.js dist/main.user.js",
    "bump-version:patch": "npm version patch --no-git-tag && npm run build",
    "bump-version:minor": "npm version minor --no-git-tag && npm run build"
  }
}