-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathpackage.json
More file actions
78 lines (78 loc) · 2.77 KB
/
package.json
File metadata and controls
78 lines (78 loc) · 2.77 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
{
"name": "foundation",
"version": "1.0.0",
"description": "A uniform template to use as a foundation for Puppeteer bot construction.",
"main": "build/app/bot.js",
"scripts": {
"test": "npm run build && mocha",
"tests": "npm run build && node \"./build/app/tests/run.js\"",
"init": "npm run update && npm install --loglevel=error && npm run db:init && npm run build:clean",
"bot": "npm run build && node \"./build/app/bot.js\"",
"build": "npx tsc --build",
"build:clear": "rm -rf ./build/app/ && mkdir ./build/app/ && echo * >> ./build/app/.gitignore",
"build:clean": "npm run build:clear && npx tsc --build",
"db:init": "npm run db:migrate:refresh",
"db:wipe": "rm -f \"./prisma/database.db\" && sqlite3 \"./prisma/database.db\" \"VACUUM;\" && npm run db:clean",
"db:clean": "rm -rf \"./prisma/migrations\" && rm -rf \"./node_modules/.prisma\" && rm -rf \"./node_modules/.cache\"",
"db:migrate": "npx prisma format && npx prisma migrate save --name foundation --experimental && npx prisma migrate up --experimental && npx prisma generate",
"db:migrate:refresh": "npm run db:wipe && npm run db:migrate",
"db:generate": "npx prisma generate",
"update": "npx npm-check-updates -u --packageFile package.json"
},
"engines": {
"node": ">=10"
},
"bugs": {
"url": "https://github.com/prescience-data/foundation/issues"
},
"homepage": "https://github.com/prescience-data/foundation#readme",
"keywords": [
"puppeteer",
"puppeteer-extra",
"bot",
"botting",
"scraping",
"framework"
],
"author": "prescience-data",
"license": "MIT",
"dependencies": {
"@google-cloud/logging-winston": "^4.0.1",
"@prisma/client": "^2.11.0",
"app-root-path": "^3.0.0",
"chalk": "^4.1.0",
"dotenv": "^8.2.0",
"ghost-cursor": "^1.0.6",
"node-emoji": "^1.10.0",
"puppeteer": "^5.4.1",
"puppeteer-extra": "^3.1.15",
"puppeteer-extra-plugin-stealth": "^2.6.5",
"sqlite3": "^5.0.0",
"ts-deepmerge": "^1.0.6",
"valid-url": "^1.0.9",
"winston": "^3.3.3",
"yargs": "^16.1.0"
},
"devDependencies": {
"@babel/core": "^7.12.3",
"@babel/plugin-proposal-class-properties": "^7.12.1",
"@babel/preset-env": "^7.12.1",
"@prisma/cli": "^2.11.0",
"@types/app-root-path": "^1.2.4",
"@types/chai": "^4.2.14",
"@types/mocha": "^8.0.4",
"@types/node": "^14.14.7",
"@types/node-emoji": "^1.8.1",
"@types/yargs": "^15.0.9",
"@typescript-eslint/eslint-plugin": "^4.7.0",
"@typescript-eslint/parser": "^4.7.0",
"chai": "^4.2.0",
"eslint": "7.13.0",
"eslint-config-prettier": "^6.15.0",
"eslint-plugin-prettier": "3.1.4",
"mocha": "^8.2.1",
"prettier": "^2.1.2",
"prettier-plugin-sorted": "^2.0.0",
"typescript": "^4.0.5"
}
}