forked from wikimedia/mediawiki-services-mobileapps
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
117 lines (117 loc) · 3.82 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
{
"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 --max-warnings 0 .",
"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"
},
"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": {
"banana-i18n": "^1.3.1",
"bluebird": "^3.7.2",
"body-parser": "^1.19.0",
"bunyan": "^1.8.14",
"cassandra-uuid": "^0.1.0",
"compression": "^1.7.4",
"domino": "^2.1.6",
"express": "^4.17.1",
"http-shutdown": "^1.2.1",
"js-yaml": "^3.14.0",
"mediawiki-title": "^0.7.3",
"microformat-node": "^2.0.1",
"preq": "^0.5.14",
"sanitize-html": "^1.27.5",
"service-runner": "^2.7.8",
"striptags": "^3.1.1",
"swagger-router": "^0.7.4",
"swagger-ui-dist": "^3.34.0",
"underscore": "^1.11.0"
},
"devDependencies": {
"@babel/code-frame": "7.5.5",
"@babel/generator": "7.7.7",
"@babel/helper-function-name": "7.7.4",
"@babel/helper-get-function-arity": "7.7.4",
"@babel/helper-split-export-declaration": "7.7.4",
"@babel/highlight": "7.5.0",
"@babel/parser": "7.7.7",
"@babel/template": "7.7.4",
"@babel/traverse": "7.7.4",
"@babel/types": "7.7.4",
"@wikimedia/less-plugin-clean-css": "^1.5.2",
"ajv": "^6.12.5",
"eslint-config-wikimedia": "^0.17.0",
"extend": "^3.0.2",
"js-beautify": "^1.13.0",
"json-schema-ref-parser-sync": "^1.0.0",
"less": "^3.12.2",
"mkdirp": "^0.5.5",
"mocha": "^6.2.3",
"mocha-lcov-reporter": "^1.3.0",
"mocha.parallel": "^0.15.6",
"mock-express-response": "^0.2.2",
"nock": "^13.0.4",
"nodemon": "^2.0.4",
"nyc": "^14.1.1",
"openapi-schema-validator": "^7.0.1",
"pre-commit": "^1.2.2",
"rss-parser": "^3.9.0",
"sepia": "^2.0.2",
"sinon": "^7.5.0",
"sinon-express-mock": "^2.2.1"
},
"deploy": {
"target": "debian",
"node": "6.11.1",
"dependencies": {
"_all": []
}
}
}