-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
43 lines (43 loc) · 1.41 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
{
"name": "wiki-globe",
"private": true,
"type": "module",
"description": "Visualisation for Wikipedia Edits",
"main": "index.js",
"scripts": {
"migrate-db-dev": "./node_modules/.bin/knex --knexfile knexfile.cjs migrate:latest --env development",
"migrate-db-prod": "./node_modules/.bin/knex --knexfile knexfile.cjs migrate:latest --env production",
"start-production-process": "export NODE_ENV=production && pm2 start --name wiki-globe-production --time npm -- run start-prod -- && pm2 logs wiki-globe-production --nostream --lines 30",
"start": "node index.js",
"start-prod": "NODE_ENV=production node index.js",
"scrape-data": "node scrape-data.js",
"post-receive": "git fetch origin master && git reset --hard origin/master && npm i && npm run migrate-db-prod && pm2 restart wiki-globe-production",
"test": "xo"
},
"keywords": [],
"author": "",
"license": "ISC",
"dependencies": {
"config": "^3.3.1",
"eventsource": "^1.0.7",
"express": "^4.17.1",
"got": "^11.6.2",
"is-ip": "^3.1.0",
"knex": "^0.21.5",
"lowdb": "^1.0.0",
"lru-cache": "^6.0.0",
"pretty-time": "^1.1.0",
"socket.io": "^2.3.0",
"sqlite3": "^5.0.0"
},
"devDependencies": {
"@umaar/personal-eslint-config": "^1.0.3",
"xo": "^0.33.1"
},
"xo": {
"extends": "./node_modules/@umaar/personal-eslint-config/rules.json",
"ignores": [
"public/**"
]
}
}