forked from MALSync/MALSync
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
136 lines (136 loc) · 6.39 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
{
"name": "MALSync",
"productName": "MAL-Sync",
"author": "[email protected]",
"license": "GPL-3.0-only",
"repository": "github:MALSync/MALSync",
"version": "0.9.6",
"description": "Integrates MyAnimeList/AniList/Kitsu/Simkl into various sites, with auto episode tracking.",
"engines": {
"npm": ">=8.0.0",
"node": ">=16.0.0"
},
"devDependencies": {
"@cliqz/adblocker-puppeteer": "^1.26.8",
"@types/chai": "^4.3.9",
"@types/jquery": "^3.5.14",
"@types/mocha": "^10.0.3",
"@types/node": "^16.0.0",
"@typescript-eslint/eslint-plugin": "^6.8.0",
"@typescript-eslint/parser": "^6.8.0",
"@vue/compiler-sfc": "^3.3.4",
"@vue/eslint-config-prettier": "^8.0.0",
"archiver": "^5.3.2",
"bl": "^6.0.7",
"chai": "^4.3.10",
"chrome-webstore-upload": "^1.0.0",
"cross-env": "^7.0.3",
"css-loader": "^6.8.1",
"dot-prop": "^8.0.2",
"eslint": "^8.52.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-plugin-es": "^4.1.0",
"eslint-plugin-import": "^2.28.1",
"eslint-plugin-jquery-unsafe-malsync": "file:eslint",
"eslint-plugin-no-unsanitized": "^4.0.2",
"eslint-plugin-prettier": "^5.0.1",
"eslint-plugin-vue": "^9.17.0",
"expose-loader": "^4.1.0",
"fs-extra": "^11.1.1",
"less": "^4.2.0",
"less-loader": "^11.1.3",
"minimist": ">=1.2.8",
"mkdirp": "^1.0.4",
"mocha": "^10.2.0",
"node-dir": "^0.1.17",
"postcss-html": "^1.5.0",
"postcss-less": "^6.0.0",
"prettier": "^3.0.3",
"puppeteer": "^21.4.0",
"serialize-javascript": "^6.0.1",
"style-loader": "^3.3.3",
"stylelint": "^15.10.3",
"stylelint-config-recommended-vue": "^1.5.0",
"stylelint-config-standard": "^34.0.0",
"stylelint-prettier": "^4.0.2",
"terser-webpack-plugin": "^5.3.9",
"to-string-loader": "github:gajus/to-string-loader",
"ts-loader": "^9.4.4",
"ts-mocha": "^10.0.0",
"ts-node": "^10.9.1",
"typescript": "^5.2.2",
"vue-loader": "^17.2.2",
"web-ext": "^7.8.0",
"webpack": "^5.88.2",
"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:userscript && npm run build:webextension && npm run build:userscript:adult",
"build:win": "npm run clean:win && npm run build:userscript && npm run build:webextension",
"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: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 --id $SIGN_ID",
"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",
"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 . --ext .js,.ts,.vue",
"lint:script:ci": "eslint . --ext .js,.ts,.vue --quiet",
"lint:script:fix": "eslint . --ext .js,.ts,.vue --fix --quiet",
"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",
"@rushstack/eslint-patch": "^1.5.1",
"@types/chrome": "0.0.248",
"@vue/eslint-config-typescript": "^12.0.0",
"async-mutex": "^0.4.0",
"dexie": "^3.2.4",
"dompurify": "^3.0.6",
"download-file": "^0.1.5",
"eventemitter2": "^6.4.5",
"fork-ts-checker-webpack-plugin": "^7.3.0",
"fuse.js": "^6.6.2",
"hex-to-hsl": "^1.0.2",
"jquery": "^3.6.2",
"overlayscrollbars": "^2.2.1",
"overlayscrollbars-vue": "^0.5.2",
"popper-max-size-modifier": "^0.2.0",
"semver": "^7.5.4",
"string-similarity": "^4.0.4",
"vue": "^3.3.4",
"vue-dompurify-html": "^4.1.4",
"vue-router": "^4.2.5",
"vue-slider-component": "^4.1.0-beta.6",
"vue-tsc": "^1.8.15",
"vue3-lazyload": "^0.3.8",
"vuedraggable": "^4.1.0",
"webext-patterns": "^1.1.1"
}
}