-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
44 lines (44 loc) · 1.91 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
{
"name": "functions",
"scripts": {
"lint": "tslint --project tsconfig.json",
"build": "tsc src/index --outdir dist",
"copy": "rm -rf dist/temp && mkdir dist/temp && rm -rf dist/raw && mkdir dist/raw && cp src/raw/download_card_data.json dist/raw/download_card_data.json && cp src/raw/download_card_data.jp.json dist/raw/download_card_data.jp.json && cp src/raw/download_skill_data.json dist/raw/download_skill_data.json && cp src/raw/download_skill_data.jp.json dist/raw/download_skill_data.jp.json && cp src/raw/arrow.png dist/raw/arrow.png && cp src/serviceAccount.json dist/serviceAccount.json && cp src/AIServiceAccount.json dist/AIServiceAccount.json && cp -n src/.env dist/.env || true",
"start": "npm run build && npm run copy && forever stopall && forever start dist/index.js",
"update": "git pull && npm update && npm run start",
"parse-windows": "cd ./src/tools/db/ && tsc japaneseNames && node japaneseNames && cd ../media/ && tsc images && node images && tsc materials && node materials && cd ../db/ && tsc monsters && node monsters && cd ../../ai_training/entities/ && tsc names && node names && cd ../../../",
"test-windows": "npm run build && node dist/index.js",
"login": "ssh -v [email protected]"
},
"engines": {
"node": "10"
},
"main": "lib/index.js",
"dependencies": {
"@firebase/firestore-types": "^1.14.0",
"@types/dotenv": "^8.2.0",
"@types/node": "^14.11.10",
"canvas": "^2.6.1",
"dialogflow": "^1.2.0",
"discord.js": "^12.3.1",
"dotenv": "^8.2.0",
"exceljs": "^4.1.1",
"firebase-admin": "^8.13.0",
"firebase-functions": "^3.11.0",
"forever": "^3.0.2",
"fuse.js": "^6.4.1",
"lodash": "^4.17.20",
"mathjs": "^7.5.1",
"moment": "^2.29.1",
"node-cache": "^5.1.2"
},
"devDependencies": {
"@types/puppeteer": "^3.0.2",
"firebase-functions-test": "^0.2.2",
"ts-loader": "^8.0.5",
"tslint": "^5.12.0",
"typescript": "^3.9.7",
"puppeteer": "^5.3.1"
},
"private": true
}