-
Notifications
You must be signed in to change notification settings - Fork 12
/
package.json
121 lines (121 loc) · 4.04 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
{
"name": "mobileapps",
"version": "0.3.0",
"description": "Provides the Page Content Service, a set of REST API endpoints that provide structured page content for the Wikimedia projects.",
"main": "./app.js",
"scripts": {
"dev": "nodemon server.js --signal SIGTERM",
"dev:debug": "nodemon --inspect-brk server.js --signal SIGTERM",
"start": "service-runner",
"test": "PREQ_CONNECT_TIMEOUT=15 mocha 'test/{,!(diff)/**}/*.js' && npm run lint",
"test:talk": "PREQ_CONNECT_TIMEOUT=15 mocha 'test/{,!(diff)/**}/talk.test.js'",
"test:mobile": "PREQ_CONNECT_TIMEOUT=15 mocha 'test/{,!(diff)/**}/MobileHTML.test.js'",
"test:unit": "mocha test/lib",
"test:diff": "mocha --exit test/diff",
"test:diff-update": "DIFF_UPDATE=true npm run test:diff",
"test:spec": "mocha test/features/app/spec.js",
"periodic": "npm run test:diff",
"lint": "eslint .",
"lint:fix": "eslint --fix .",
"docker-start": "service-runner docker-start",
"docker-test": "service-runner docker-test",
"test-build": "service-runner docker-test && service-runner build --deploy-repo --force",
"coverage": "nyc --reporter=lcov _mocha",
"build:css": "lessc private/styles/index.less private/base.css --plugin=@wikimedia/less-plugin-clean-css --math=always",
"build-app-docs": "cd pagelib && ./node_modules/webpack/bin/webpack.js --config webpack.config.js --output-path ../js-pcs-notated --mode=development && cd .. && jsdoc -c jsdoc.json"
},
"pre-commit": [
"lint"
],
"repository": {
"type": "git",
"url": "https://gerrit.wikimedia.org/r/mediawiki/services/mobileapps"
},
"keywords": [
"REST",
"API",
"node service",
"mobile apps",
"MediaWiki",
"Wikipedia"
],
"author": "Wikimedia Readers Engineering <[email protected]>",
"contributors": [
"Bernd Sitzmann <[email protected]>",
"Dmitry Brant <[email protected]>",
"Michael Holloway <[email protected]>",
"Monte Hurd <[email protected]>",
"Stephen Niedzielski <[email protected]>",
"Marko Obrovac <[email protected]>",
"Gabriel Wicke <[email protected]>"
],
"license": "Apache-2.0",
"bugs": {
"url": "https://phabricator.wikimedia.org/tag/mobile_content_service/"
},
"homepage": "https://www.mediawiki.org/wiki/RESTBase_services_for_apps",
"dependencies": {
"@wikimedia/cassandra-storage": "^1.0.3",
"axios-wmf-service-mesh": "https://gitlab.wikimedia.org/repos/content-transform/axios-wmf-service-mesh/-/archive/main/axios-wmf-service-mesh-main.tar.gz",
"banana-i18n": "^2.3.3",
"bluebird": "^3.7.2",
"body-parser": "^1.20.2",
"bunyan": "^1.8.15",
"cassandra-uuid": "^0.1.0",
"compression": "^1.7.4",
"domino": "^2.1.6",
"express": "^4.19.2",
"http-shutdown": "^1.2.2",
"js-yaml": "^4.1.0",
"mediawiki-title": "^0.7.5",
"microformat-node": "^2.0.4",
"preq": "^0.5.14",
"sanitize-html": "^2.13.0",
"service-runner": "^5.0.0",
"striptags": "^3.2.0",
"swagger-router": "^0.7.4",
"swagger-ui-dist": "^5.17.4",
"underscore": "^1.13.6"
},
"devDependencies": {
"@apidevtools/json-schema-ref-parser": "^11.6.1",
"@babel/code-frame": "7.24.2",
"@babel/generator": "7.24.5",
"@babel/helper-function-name": "7.23.0",
"@babel/helper-get-function-arity": "7.16.7",
"@babel/helper-split-export-declaration": "7.24.5",
"@babel/highlight": "7.24.5",
"@babel/parser": "7.24.5",
"@babel/template": "7.24.0",
"@babel/traverse": "7.24.5",
"@babel/types": "7.24.5",
"@wikimedia/less-plugin-clean-css": "^1.5.2",
"ajv": "^8.13.0",
"eslint-config-wikimedia": "0.28.2",
"extend": "^3.0.2",
"js-beautify": "^1.15.1",
"jsdoc": "^4.0.3",
"less": "^4.2.0",
"mkdirp": "^3.0.1",
"mocha": "^10.4.0",
"mocha-lcov-reporter": "^1.3.0",
"mocha.parallel": "^0.15.6",
"mock-express-response": "^0.3.0",
"nock": "^13.5.4",
"nodemon": "^3.1.0",
"nyc": "^15.1.0",
"openapi-schema-validator": "^12.1.3",
"pre-commit": "^1.2.2",
"rss-parser": "^3.13.0",
"sepia": "^2.0.2",
"sinon": "^17.0.1",
"sinon-express-mock": "^2.2.1"
},
"deploy": {
"target": "debian",
"node": "6.11.1",
"dependencies": {
"_all": []
}
}
}