-
Notifications
You must be signed in to change notification settings - Fork 7
/
package.json
69 lines (69 loc) · 3.57 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
{
"name": "xfdcloser",
"version": "4.0.16",
"description": "Wikipedia userscript that helps assess pages for WikiProjects",
"homepage": "https://github.com/wikimedia-gadgets/xfdcloser",
"browser": "index.js",
"scripts": {
"test": "npm run globals:node && mocha --require @babel/register --reporter list && npm run globals:window",
"test:all": "node bin/testall && npm run test",
"test:delay": "mocha --delay --require @babel/register --reporter list",
"lint:es5": "jshint \"dist/loader-dev.js\" \"dist/loader-gadget.js\"",
"lint:es5:dev": "jshint \"dist/loader-dev.js\"",
"lint:css": "stylelint \"styles-src/**/*.css\"",
"lint:es6": "eslint \"xfdcloser-src/**/*.js\" \"test/*\"",
"lint:bin": "eslint \"bin/*.js\" --env node",
"lint": "npm run lint:es6 && npm run lint:es5 && npm run lint:css",
"lint:dev": "npm run lint:es6 && npm run lint:es5:dev && npm run lint:css",
"lint:css:fix": "stylelint \"styles-src/**/*.css\" --fix",
"lint:es6:fix": "eslint \"xfdcloser-src/**/*.js\" \"test/*\" --fix",
"lint:bin:fix": "eslint \"bin/*.js\" --fix --env node",
"lint:fix": "npm run lint:es6:fix && npm run lint:bin:fix && npm run lint:css:fix",
"globals:node": "concat-cli -f \"globals-src/comment.js\" \"globals-src/node.js\" -o \"globals.js\"",
"globals:window": "concat-cli -f \"globals-src/comment.js\" \"globals-src/window.js\" -o \"globals.js\"",
"build:loader:dev": "concat-cli -f \"loader-src/loader-dev-top.js.txt\" \"loader-src/loader-core.js.txt\" \"loader-src/loader-dev-bottom.js.txt\" -o dist/loader-dev.js",
"build:loader:gadget": "concat-cli -f \"core-comment-top.js\" \"loader-src/loader-gadget-top.js.txt\" \"loader-src/loader-core.js.txt\" \"loader-src/loader-gadget-bottom.js.txt\" \"core-comment-bottom.js\" -o dist/loader-gadget.js",
"build:loader": "npm run build:loader:dev && npm run build:loader:gadget",
"build:bundle": "browserify xfdcloser-src/App.js --debug -t babelify --outfile dist/core.js",
"build:minify": "uglifyjs dist/core.js --compress -b ascii_only=true,beautify=false --output dist/core.min.js",
"build:concat": "concat-cli -f \"core-comment-top.js\" dist/core.min.js \"core-comment-bottom.js\" -o dist/core-gadget.js",
"build:css": "node bin/concatCss",
"build": "npm run globals:window && npm run build:loader && npm run lint && npm run test:all && npm run build:css && npm run build:bundle && npm run build:minify && npm run build:concat",
"build:dev": "npm run globals:window && npm run build:loader:dev && npm run build:css && npm run build:bundle",
"build:quickdev": "npm run globals:window && npm run build:loader:dev && npm run build:bundle "
},
"author": {
"name": "Evad37",
"url": "https://en.wikipedia.org/wiki/User:Evad37"
},
"repository": {
"type": "git",
"url": "https://github.com/wikimedia-gadgets/xfdcloser.git"
},
"license": "(MIT OR CC-BY-4.0)",
"devDependencies": {
"@babel/core": "^7.11.0",
"@babel/eslint-parser": "^7.17.0",
"@babel/plugin-proposal-class-properties": "^7.8.3",
"@babel/preset-env": "^7.9.0",
"@babel/register": "^7.9.0",
"babelify": "^10.0.0",
"browserify": "^16.5.0",
"concat": "^1.0.3",
"concat-cli": "^4.0.0",
"core-js": "^3.8.3",
"eslint": "^8.9.0",
"jquery": "^3.5.1",
"jsdom": "^16.2.2",
"jshint": "^2.13.4",
"mediawiki-title": "^0.7.2",
"mocha": "^9.2.0",
"mwn": "^0.9.0",
"oojs": "^5.0.0",
"prompt-sync": "^4.2.0",
"replace-in-file": "^6.0.0",
"stylelint": "^14.5.0",
"stylelint-config-standard": "^25.0.0",
"uglify-js": "^3.8.0"
}
}