forked from MALSync/MALSync
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
143 lines (143 loc) · 6.74 KB
/
package.json
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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
{
"name": "MALSync",
"productName": "MAL-Sync",
"author": "[email protected]",
"license": "GPL-3.0-only",
"repository": "github:MALSync/MALSync",
"version": "0.10.4",
"description": "Integrates MyAnimeList/AniList/Kitsu/Simkl into various sites, with auto episode tracking.",
"engines": {
"npm": ">=8.0.0",
"node": ">=20.0.0"
},
"devDependencies": {
"@cliqz/adblocker-puppeteer": "^1.34.0",
"@cspell/eslint-plugin": "8.16.0",
"@eslint/eslintrc": "3.2.0",
"@eslint/js": "9.15.0",
"@stylistic/eslint-plugin": "2.10.1",
"@types/chai": "^4.3.20",
"@types/eslint": "9.6.1",
"@types/eslint__eslintrc": "2.1.2",
"@types/eslint__js": "8.42.3",
"@types/jquery": "^3.5.14",
"@types/mocha": "^10.0.9",
"@types/node": "^16.18.119",
"@typescript-eslint/eslint-plugin": "7.18.0",
"@vue/compiler-sfc": "^3.5.12",
"@vue/eslint-config-typescript": "13.0.0",
"archiver": "^7.0.1",
"chai": "^4.5.0",
"chrome-webstore-upload": "^3.1.1",
"cross-env": "^7.0.3",
"css-loader": "^7.1.2",
"eslint": "8.57.1",
"eslint-config-airbnb-base": "15.0.0",
"eslint-config-airbnb-typescript": "18.0.0",
"eslint-config-prettier": "9.1.0",
"eslint-import-resolver-typescript": "3.6.3",
"eslint-plugin-es-x": "8.1.0",
"eslint-plugin-no-unsanitized": "4.1.2",
"eslint-plugin-prettier": "5.2.1",
"eslint-plugin-vue": "9.31.0",
"eslint-plugin-vue-scoped-css": "2.8.1",
"expose-loader": "^5.0.0",
"fs-extra": "^11.2.0",
"less": "^4.2.0",
"less-loader": "^12.2.0",
"mkdirp": "^1.0.4",
"mocha": "^10.8.2",
"node-dir": "^0.1.17",
"postcss-html": "^1.7.0",
"postcss-less": "^6.0.0",
"prettier": "^3.3.3",
"puppeteer": "^23.8.0",
"serialize-javascript": "^6.0.2",
"style-loader": "^3.3.4",
"stylelint": "^15.11.0",
"stylelint-config-recommended-vue": "^1.5.0",
"stylelint-config-standard": "^34.0.0",
"stylelint-prettier": "^4.1.0",
"terser-webpack-plugin": "^5.3.10",
"to-string-loader": "github:gajus/to-string-loader",
"ts-deepmerge": "7.0.1",
"ts-loader": "^9.5.1",
"ts-mocha": "^10.0.0",
"ts-node": "^10.9.2",
"typescript": "5.6.3",
"typescript-eslint": "8.14.0",
"vue-eslint-parser": "9.4.3",
"vue-loader": "^17.4.2",
"web-ext": "^8.3.0",
"webpack": "^5.96.1",
"webpack-cli": "^5.1.4"
},
"scripts": {
"clean": "rm -rf dist",
"clean:win": "if exist .\\dist ( rmdir /s/q .\\dist )",
"build": "npm run clean && npm run build:webextension && npm run build:userscript && npm run build:userscript:adult",
"build:win": "npm run clean:win && npm run build:webextension && npm run build:userscript && npm run build:userscript:adult",
"build:userscript": "npm run build:webextension:content:build && webpack --config webpackConfig/userscript.config.js",
"build:userscript:adult": "webpack --config webpackConfig/userscript.adult.config.js",
"build:webextension": "npm run build:webextension:content && npm run build:webextension:background && npm run build:webextension:assets",
"build:webextension:firefox": "cross-env APP_TARGET=firefox npm run build:webextension",
"build:webextension:content": "npm run build:webextension:content:build && webpack --mode=production --config webpackConfig/webextension.content.config.js",
"build:webextension:content:build": "node webpackConfig/webextension.content.build.config.js",
"build:webextension:background": "webpack --mode=production --config webpackConfig/webextension.background.config.js",
"build:webextension:assets": "node webpackConfig/webextension.assets.js",
"build:descriptions": "node webpackConfig/descriptions.js && npm run build:missingPermissions",
"build:missingPermissions": "node webpackConfig/missingPermissions.js",
"build:autoUrls": "node webpackConfig/autoUrls.mjs && npm run build:missingPermissions",
"package": "npm run package:webextension",
"package:webextension": "node package/webextension.js",
"package:firefox": "node node_modules/web-ext/bin/web-ext sign -a dist -s dist/webextension --api-key $SIGN_KEY --api-secret $SIGN_SECRET --channel unlisted",
"package:chrome": "CLIENT_ID=${CLIENT_ID} CLIENT_SECRET=${CLIENT_SECRET} EXTENSION_ID=${EXTENSION_ID} REFRESH_TOKEN=${REFRESH_TOKEN} node ./package/deployChrome.mjs",
"dev:webextension:userscript": "npm run dev:webextension | npm run dev:userscript",
"dev:userscript": "npm run build:webextension:content:build && webpack --watch --progress --config webpackConfig/userscript.config.js",
"dev:userscript:adult": "webpack --watch --progress --config webpackConfig/userscript.adult.config.js",
"dev:webextension:content": "npm run build:webextension:content:build && webpack --watch --progress --config webpackConfig/webextension.content.config.js",
"dev:webextension:background": "webpack --watch --progress --config webpackConfig/webextension.background.config.js",
"content": "npm run dev:webextension:content",
"background": "npm run dev:webextension:background",
"assets": "npm run build:webextension:assets",
"assets:firefox": "cross-env APP_TARGET=firefox npm run assets",
"test": "npm run test:ts && npm run test:headless",
"test:headless": "webpack --config webpackConfig/test.config.js && node test/headless/test.js",
"test:ts": "ts-mocha -p tsconfig.node.json test/src/**/*.test.ts --require test/_env_injection.ts",
"test:ts:ci": "cross-env NO_API=true ts-mocha -p tsconfig.node.json 'test/src/**/*.test.ts' --require test/_env_injection.ts",
"lint:script": "eslint .",
"lint:script:ci": "npm run lint:script -- --quiet",
"lint:script:fix": "npm run lint:script:ci -- --fix",
"lint:less": "stylelint src/**/*.{css,less,vue}",
"lint:less:fix": "stylelint src/**/*.{css,less,vue} --fix --quiet",
"lint:less:ci": "stylelint src/**/*.{css,less,vue} -q",
"lint:vue": "vue-tsc --noEmit",
"lint:fix": "npm run lint:script:fix && npm run lint:less:fix",
"lint:ci": "npm run lint:less:ci && npm run lint:script:ci && npm run lint:vue"
},
"dependencies": {
"@popperjs/core": "^2.11.8",
"@types/chrome": "0.0.283",
"dexie": "^4.0.9",
"dompurify": "^3.1.7",
"download-file": "^0.1.5",
"eventemitter2": "^6.4.5",
"fork-ts-checker-webpack-plugin": "^9.0.2",
"fuse.js": "^7.0.0",
"hex-to-hsl": "^1.0.2",
"jquery": "^3.6.2",
"node-fetch": "^3.3.2",
"overlayscrollbars": "^2.2.1",
"overlayscrollbars-vue": "^0.5.7",
"popper-max-size-modifier": "^0.2.0",
"semver": "^7.6.0",
"string-similarity": "^4.0.4",
"vue": "^3.5.12",
"vue-dompurify-html": "^5.1.0",
"vue-router": "^4.4.5",
"vue-slider-component": "^4.1.0-beta.6",
"vue-tsc": "^2.1.10",
"vuedraggable": "^4.1.0",
"webext-patterns": "^1.4.0"
}
}