forked from amirhoseinsalimi/programmer-fa
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
82 lines (82 loc) · 3.15 KB
/
Copy pathpackage.json
File metadata and controls
82 lines (82 loc) · 3.15 KB
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
{
"name": "programmer-fa",
"version": "1.0.0-beta",
"description": "ریتوئیت های #برنامه_نویسی و پروژه؛ موضوعات برنامه نویسی و وب رو فالو میکنم و توی فیدت نشون میدم 😊",
"main": "dist/app.js",
"engines": {
"node": ">=14.0.0"
},
"scripts": {
"start": "npm run build && cross-env NODE_ENV=production pm2 start dist/bot/app.js --name programmer-fa --time",
"restart": "npm run build && cross-env NODE_ENV=production pm2 restart programmer-fa --time",
"stop": "pm2 stop programmer-fa",
"build": "tsc && npm run copy-files",
"dev": "tsc && cross-env NODE_ENV=development nodemon --watch 'src/bot/**/*.ts' --exec 'ts-node' src/bot/app.ts",
"sort": "npm run build && node dist/cli/sort-words.js && git add --all ./src/data/ && git commit -m \"Update words!\"",
"test": "tsc --outDir dist .mocharc.ts && cross-env NODE_ENV=testing DEBUG_MODE=true DB_ENABLE=false mocha --config dist/.mocharc.js --exit -b -r ts-node/register 'test/**/*.ts'",
"copy-files": "mkdir -p dist/data && cp src/data/* dist/data/ && cp .env dist",
"migrate:latest": "npm run build && knex migrate:latest --knexfile dist/knexfile.js --migrations-directory dist/database/migrations",
"migrate:rollback": "npm run build && knex migrate:rollback --knexfile dist/knexfile.js --migrations-directory dist/database/migrations",
"lint": "eslint . --ext .js,.ts"
},
"author": "Amir Hosein Salimi",
"license": "MIT",
"dependencies": {
"color-it": "^1.2.12",
"console-table-printer": "^2.10.0",
"dotenv": "^8.2.0",
"knex": "^0.20.15",
"luxon": "^1.27.0",
"mysql": "^2.18.1",
"pm2": "^4.5.5",
"twit": "^2.2.11"
},
"devDependencies": {
"@istanbuljs/nyc-config-typescript": "^1.0.1",
"@types/chai": "^4.2.15",
"@types/chai-http": "^4.2.0",
"@types/dotenv": "^8.2.0",
"@types/express": "^4.17.11",
"@types/faker": "^5.5.8",
"@types/luxon": "^1.26.5",
"@types/mocha": "^8.2.1",
"@types/mysql": "^2.15.18",
"@types/node": "^13.13.46",
"@types/supertest": "^2.0.10",
"@types/twit": "^2.2.28",
"@typescript-eslint/eslint-plugin": "^2.34.0",
"@typescript-eslint/parser": "^2.34.0",
"chai": "^4.3.4",
"chai-http": "^4.3.0",
"cross-env": "^7.0.3",
"eslint": "^6.8.0",
"eslint-config-airbnb": "^18.2.1",
"eslint-config-prettier": "^6.15.0",
"eslint-import-resolver-typescript": "^2.4.0",
"eslint-plugin-chai-friendly": "^0.6.0",
"eslint-plugin-import": "^2.24.2",
"eslint-plugin-json": "^2.1.2",
"eslint-plugin-jsx-a11y": "^6.4.1",
"eslint-plugin-mocha": "^8.1.0",
"eslint-plugin-prettier": "^3.4.1",
"eslint-plugin-react": "^7.25.1",
"express": "^4.17.1",
"faker": "^5.4.0",
"mocha": "^8.3.2",
"nodemon": "^2.0.7",
"nyc": "^15.1.0",
"prettier": "^1.19.1",
"source-map-support": "^0.5.20",
"supertest": "^6.1.6",
"ts-node": "^8.10.2",
"typescript": "^4.4.2"
},
"repository": {
"type": "git",
"url": "https://github.com/amirhoseinsalimi/programmer-fa"
},
"keywords": [
"bot",
"twitter"
]
}