forked from MALSync/MALSync
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
130 lines (130 loc) · 6.22 KB
/
Copy pathpackage.json
File metadata and controls
130 lines (130 loc) · 6.22 KB
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
{
"name": "MALSync",
"productName": "MAL-Sync",
"author": "lolamtisch@gmail.com",
"license": "GPL-3.0-only",
"repository": "github:MALSync/MALSync",
"version": "0.9.8",
"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.27.0",
"@types/chai": "^4.3.14",
"@types/jquery": "^3.5.14",
"@types/mocha": "^10.0.6",
"@types/node": "^16.18.95",
"@typescript-eslint/eslint-plugin": "^7.5.0",
"@typescript-eslint/parser": "^7.5.0",
"@vue/compiler-sfc": "^3.4.21",
"@vue/eslint-config-prettier": "^9.0.0",
"archiver": "^7.0.1",
"chai": "^4.4.1",
"chrome-webstore-upload": "^3.0.3",
"cross-env": "^7.0.3",
"css-loader": "^6.10.0",
"eslint": "^8.57.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-plugin-es": "^4.1.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-jquery-unsafe-malsync": "file:eslint",
"eslint-plugin-no-unsanitized": "^4.0.2",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-vue": "^9.24.0",
"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.3.0",
"node-dir": "^0.1.17",
"postcss-html": "^1.6.0",
"postcss-less": "^6.0.0",
"prettier": "^3.2.5",
"puppeteer": "^22.6.3",
"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-loader": "^9.5.1",
"ts-mocha": "^10.0.0",
"ts-node": "^10.9.2",
"typescript": "^5.4.3",
"vue-loader": "^17.3.1",
"web-ext": "^7.11.0",
"webpack": "^5.91.0",
"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",
"@types/chrome": "0.0.265",
"@vue/eslint-config-typescript": "^13.0.0",
"dexie": "^3.2.7",
"dompurify": "^3.0.11",
"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",
"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.4.21",
"vue-dompurify-html": "^5.0.1",
"vue-router": "^4.3.0",
"vue-slider-component": "^4.1.0-beta.6",
"vue-tsc": "^2.0.3",
"vuedraggable": "^4.1.0",
"webext-patterns": "^1.1.1"
}
}