-
Notifications
You must be signed in to change notification settings - Fork 332
/
package.json
144 lines (144 loc) · 6.23 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
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
{
"name": "pump.io",
"preferGlobal": "true",
"homepage": "http://pump.io/",
"version": "6.0.0-alpha.0",
"author": "Evan Prodromou <[email protected]>",
"description": "Social server with an ActivityStreams API",
"devDependencies": {
"coveralls": "^3.0.0",
"dependency-check": "^3.3.0",
"jscs": "^3.0.3",
"jshint": "^2.10.1",
"jsonlint": "^1.6.2",
"lcov-result-merger": "^3.0.0",
"node-mocks-http": "^1.6.1",
"nyc": "^15.1.0",
"proxyquire": "2.0.0",
"pug-lint": "^2.6.0",
"rimraf": "^2.6.1",
"smtp-server": "^3.6.0",
"vows": "^0.8.3",
"xml2js": "^0.4.17",
"zombie": "^5.0.7"
},
"dependencies": {
"activitystrea.ms": "^2.1.3",
"bcryptjs": "^2.4.3",
"body-parser": "^1.15.2",
"bunyan": "^1.8.12",
"compression": "^1.6.2",
"connect-auth-pumpio": "^0.6.1",
"connect-databank": "^1.0.3",
"connect-multiparty": "^2.0.0",
"cookie-parser": "^1.4.3",
"csurf": "^1.9.0",
"databank": "^1.0.1",
"dateformat": "^4.0.0",
"dialback-client": "0.2.x",
"dompurify": "^2.3.1",
"emailjs": "^2.0.0",
"express": "^4.16.0",
"express-session": "^1.14.1",
"gm": "^1.23.1",
"helmet": "^3.3.0",
"import-fresh": "^2.0.0",
"jankyqueue": "0.1.x",
"jsdom": "^17.0.0",
"lodash": "^4.17.20",
"method-override": "^3.0.0",
"mkdirp": "1.0.4",
"oauth-evanp": "~0.9.10-evanp.2",
"pug": "^3.0.2",
"@anduh/pug-cli": "^1.0.0-alpha8",
"schlock": "~0.2.1",
"send": "^0.17.1",
"serve-favicon": "^2.3.0",
"showdown": "^1.9.1",
"signal-exit": "^3.0.2",
"sockjs": "0.3.x",
"split": "^1.0.1",
"ssl-config": "^1.0.0",
"step": "^1.0.0",
"ua-parser-js": "^0.7.10",
"uuid": "^3.0.0",
"validator": "^13.6.0",
"webfinger": "~0.4.2",
"yargs": "^15.3.1"
},
"bin": {
"pump": "./bin/pump"
},
"man": [
"./doc/pump.socket.7",
"./doc/pump.8",
"./doc/pumpctl.8"
],
"scripts": {
"build": "pug3 --client --extension pug.js --no-debug public/template",
"fullbuild": "npm run build && echo 'use `npm run build` instead next time' 1>&2",
"test": "npm run lint && nyc -r lcov npm run test:vows",
"test:oauth2": "vows test/authenticationcode-test.js test/bearertoken-test.js test/oauth2-authorization-test.js test/schema-test.js test/authc-oauth2-test.js",
"test:vows": "for i in testsuite unit e2e; do npm run test:vows:$i || break; done",
"test:vows:testsuite": "vows -v test/*-testsuite-test.js",
"test:vows:unit": "vows -v test/*-unit-test.js",
"test:vows:e2e": "vows -v test/*-e2e-test.js",
"test:root": "nyc -r lcov --report-dir coverage-root vows -v test/*-test-as-root.js",
"test:install": "npm pack && npm install -g pump.io-*.tgz # npm/npm#20241",
"test:security-sigs": "gpg --keyserver hkp://keys.gnupg.net --recv-keys C46D8E7A3F13AD1C8EC6784843BF769C4ACA8B96 && gpg --verify doc/SECURITY.md.gpg",
"test:system": "vows -v test/*-test-system.js",
"test:systemd": "docker run -v $(pwd):/tmp/pump.io:ro -v $NVM_DIR:/.nvm:ro ubuntu sh -c \"export NVM_DIR=$NVM_DIR; . $NVM_DIR/nvm.sh; nvm use $TRAVIS_NODE_VERSION; cd /tmp/pump.io; npm run test:systemd:run\"",
"test:systemd:run": "mkdir -p /tmp/pump.io/uploads; sed 's/%i.service//g' [email protected] | sudo tee /etc/systemd/system/pump.io.service; sudo systemctl daemon-reload; sudo systemctl start pump.io.service; npm run test:system",
"test:report-coverage": "lcov-result-merger 'coverage*/lcov.info' | coveralls",
"lint": "npm run lint:filenames && npm run lint:jshint && npm run lint:jscs && npm run lint:pug && npm run lint:json && npm run lint:deps",
"lint:deps": "dependency-check package.json bin/* test/*.js > /dev/null && dependency-check --unused package.json -i dependency-check -i jscs -i jshint -i jsonlint -i pug-lint -i @anduh/pug-cli -i nyc -i lcov-result-merger -i coveralls bin/* test/*.js > /dev/null",
"lint:filenames": "REGEX='(-(unit|e2e|testsuite)-test|-test-as-root|test-system).js$'; test $(ls test/*.js | wc -l) = $(ls test/*.js | grep -E $REGEX | wc -l) || { echo test files won\\'t be run: $(ls test/*.js | grep -Ev $REGEX); exit 1; }",
"lint:jshint": "jshint --exclude 'public/javascript/libs' bin/* lib routes public/javascript test",
"lint:jscs": "jscs bin/* lib public/javascript/pump* routes test",
"lint:jade": "npm run lint:pug && echo 'use `npm run lint:pug` next time' 1>&2",
"lint:pug": "pug-lint public/template/*.pug public/template/lib/*.pug",
"lint:json": "jsonlint -q package.json pump.io.json.sample",
"start": "./bin/pump",
"update-docs": "for doc in copyright manpage readme; do npm run update-docs:$doc; done",
"update-docs:copyright": "for i in README.md doc/pump.8; do sed -E \"s/2011-20[[:digit:]]{2}/2011-$(date +%Y)/g\" $i | sponge $i; done",
"update-docs:manpage": "sed \"s/^\\.TH PUMP 8.*$/.TH PUMP 8 \\\"$(date +'%d %B %Y')\\\" \\\"$npm_package_version\\\"/\" doc/pump.8 | sponge doc/pump.8",
"update-docs:readme": "sed \"s/^Version .*\\..*\\..*$/Version $npm_package_version/\" README.md | sponge README.md",
"prepublish": "npm run build",
"version": "npm run version:check-branch && npm run update-docs && git add README.md doc/",
"version:check-branch": "if [ \"$(git symbolic-ref HEAD)\" = refs/heads/master ]; then echo 'refusing to run `npm version` on master; bump package.json manually' 1>&2; exit 1; fi",
"postversion": "npm run postversion:push",
"postversion:push": "git push origin v$npm_package_version && npm run --silent util:is-beta || git push --set-upstream origin $(git symbolic-ref --short HEAD)",
"util:is-beta": "echo $npm_package_version | grep beta > /dev/null"
},
"repository": {
"type": "git",
"url": "git://github.com/pump-io/pump.io.git"
},
"bugs": "https://github.com/pump-io/pump.io/issues",
"keywords": [
"activitystreams",
"socialnetwork",
"social",
"pump",
"streams",
"api",
"app",
"server",
"federation",
"decentralization"
],
"license": "Apache-2.0",
"engines": {
"node": ">=12",
"npm": ">=5"
},
"greenkeeper": {
"commitMessages": {
"dependencyUpdate": "Update to ${dependency}@${version}",
"devDependencyUpdate": "Update to ${dependency}@${version}"
},
"ignore": [
"zombie"
]
}
}