forked from NLWikiTools/Twinkle
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
75 lines (75 loc) · 2.58 KB
/
package.json
File metadata and controls
75 lines (75 loc) · 2.58 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
{
"title": "Twinkle",
"name": "twinkle",
"version": "1.2.0",
"description": "Wikipedia gadget that helps with maintenance-tasks",
"homepage": "https://github.com/NLWikiTools/TBx-Manager",
"scripts": {
"start": "node scripts/dev-server.js",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"patchtest": "node scripts/patch-test.js",
"server": "node scripts/server.js",
"sync": "perl scripts/sync.pl",
"test": "jest",
"minify": "npm run minify:twinkle && npm run minify:morebits && npm run minify:modules && npm run minify:css",
"minify:twinkle": "uglifyjs twinkle.js --compress -b ascii_only=true,beautify=false --output dist/temp/twinkle.min.js",
"minify:morebits": "uglifyjs morebits.js --compress -b ascii_only=true,beautify=false --output dist/temp/morebits.min.js",
"minify:css": "css-minify -d . -o dist/temp",
"minify:modules": "uglifyjs-folder modules -e --compress -b ascii_only=true,beautify=false -o dist/temp",
"concat": "node scripts/concat.js",
"build": "npm run lint:fix && npm run minify && npm run concat",
"build:quick": "npm run minify && npm run concat",
"deployall": "perl scripts/sync.pl --mode=deploy --all",
"deploy": "node scripts/deploy.js",
"bump:patch": "node scripts/version --bump --patch",
"bump:minor": "node scripts/version --bump --minor",
"bump:major": "node scripts/version --bump --major",
"update": "npm run bump:patch && npm run deploy",
"update:minor": "npm run bump:minor && npm run deploy",
"update:major": "npm run bump:major && npm run deploy"
},
"author": {
"name": "Bas dehaan",
"url": "https://nl.wikipedia.org/wiki/Gebruiker:Bas_dehaan"
},
"repository": {
"type": "git",
"url": "https://github.com/NLWikiTools/Twinkle.git"
},
"license": "MIT",
"devDependencies": {
"@babel/core": "^7.27.1",
"@babel/plugin-proposal-class-properties": "^7.18.6",
"@babel/preset-env": "^7.27.2",
"@babel/register": "^7.27.1",
"babel-eslint": "^10.1.0",
"babelify": "^10.0.0",
"browserify": "^17.0.1",
"concat": "^1.0.3",
"concat-cli": "^4.0.0",
"core-js": "^3.42.0",
"css-minify": "^2.1.0",
"eslint": "^8.57.1",
"jest": "^29.7.0",
"jquery": "^3.7.1",
"jsdom": "^19.0.0",
"jshint": "^2.13.6",
"mediawiki-title": "^0.7.5",
"mocha": "^11.4.0",
"mock-mediawiki": "^1.4.0",
"oojs": "^6.0.0",
"prompt-sync": "^4.2.0",
"replace-in-file": "^6.3.5",
"stylelint": "^14.16.1",
"stylelint-config-standard": "^24.0.0",
"terser-webpack-plugin": "^5.3.14",
"uglify-js": "^3.19.3",
"uglifyjs-folder": "^3.3.0"
},
"dependencies": {
"minify": "^8.0.4",
"mwn": "^0.9.0",
"uglifyjs": "^2.4.11"
}
}