farm-orchestrator 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +276 -0
- package/dist/src/bundle.js +1 -0
- package/dist/src/scripts/db-utils.d.ts +2 -0
- package/dist/src/scripts/db-utils.js +191 -0
- package/dist/src/scripts/prepare-wda.d.ts +16 -0
- package/dist/src/scripts/prepare-wda.js +609 -0
- package/dist/tsconfig.tsbuildinfo +1 -0
- package/package.json +115 -0
package/package.json
ADDED
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "farm-orchestrator",
|
|
3
|
+
"version": "1.0.1",
|
|
4
|
+
"description": "Hub package with PostgreSQL and Sequelize support",
|
|
5
|
+
"main": "dist/index.js",
|
|
6
|
+
"types": "dist/index.d.ts",
|
|
7
|
+
"bin": {
|
|
8
|
+
"farm-orchestrator": "./dist/src/bundle.js"
|
|
9
|
+
},
|
|
10
|
+
"scripts": {
|
|
11
|
+
"bundle": "rimraf dist && npm run build && webpack",
|
|
12
|
+
"build": "tsc",
|
|
13
|
+
"build:watch": "tsc --watch",
|
|
14
|
+
"clean": "rm -rf dist",
|
|
15
|
+
"start": "ts-node src/server.ts",
|
|
16
|
+
"start:dev": "ts-node --watch src/server.ts",
|
|
17
|
+
"start:prod": "node dist/server.js",
|
|
18
|
+
"test": "mocha -r ts-node/register -r ./test/integration/setup.ts --project tsconfig.json 'test/**/*.{test,spec}.ts' --ignore 'test/e2e/**'",
|
|
19
|
+
"test:watch": "mocha -r ts-node/register -r ./test/integration/setup.ts --project tsconfig.json 'test/**/*.{test,spec}.ts' --ignore 'test/e2e/**' --watch",
|
|
20
|
+
"test:unit": "mocha -r ts-node/register --project tsconfig.json 'test/unit/**/*.{test,spec}.ts' --ignore 'test/integration/**' --ignore 'test/e2e/**'",
|
|
21
|
+
"test:integration": "mocha -r ts-node/register -r ./test/integration/setup.ts --project tsconfig.json 'test/integration/**/*.{test,spec}.ts'",
|
|
22
|
+
"test:e2e": "mocha -r ts-node/register -r ./test/integration/setup.ts --project tsconfig.json 'test/e2e/**/*.{test,spec}.ts' --timeout 60000",
|
|
23
|
+
"migrate": "node scripts/create-database.js && sequelize-cli --config src/config/sequelize-cli.js db:migrate",
|
|
24
|
+
"migrate:undo": "sequelize-cli --config src/config/sequelize-cli.js db:migrate:undo",
|
|
25
|
+
"migrate:undo:all": "sequelize-cli --config src/config/sequelize-cli.js db:migrate:undo:all",
|
|
26
|
+
"migrate:status": "sequelize-cli --config src/config/sequelize-cli.js db:migrate:status",
|
|
27
|
+
"migrate:reset": "node scripts/reset-database.js",
|
|
28
|
+
"create-admin": "node scripts/create-admin-user.js",
|
|
29
|
+
"migrate:create": "sequelize-cli --config src/config/sequelize-cli.js migration:create",
|
|
30
|
+
"lint": "eslint src --ext .ts",
|
|
31
|
+
"lint:fix": "eslint src --ext .ts --fix",
|
|
32
|
+
"typecheck": "tsc --noEmit",
|
|
33
|
+
"e2e:session": "mocha --no-config -r ts-node/register --timeout 60000 --exit test/e2e/session.e2e.spec.ts",
|
|
34
|
+
"e2e:ios": "mocha --no-config -r ts-node/register --timeout 60000 --exit test/e2e/ios.e2e.spec.ts"
|
|
35
|
+
},
|
|
36
|
+
"keywords": [
|
|
37
|
+
"postgresql",
|
|
38
|
+
"sequelize",
|
|
39
|
+
"database"
|
|
40
|
+
],
|
|
41
|
+
"author": "",
|
|
42
|
+
"license": "MIT",
|
|
43
|
+
"dependencies": {
|
|
44
|
+
"@aws-sdk/client-s3": "^3.940.0",
|
|
45
|
+
"@azure/storage-blob": "^12.29.1",
|
|
46
|
+
"@inquirer/prompts": "^7.0.0",
|
|
47
|
+
"@types/yauzl": "^2.10.3",
|
|
48
|
+
"app-info": "^0.0.1",
|
|
49
|
+
"applesign": "^5.0.1",
|
|
50
|
+
"archiver": "^7.0.1",
|
|
51
|
+
"bcryptjs": "^2.4.3",
|
|
52
|
+
"dotenv": "^16.3.1",
|
|
53
|
+
"express": "^4.19.2",
|
|
54
|
+
"generate-api-key": "^1.0.0",
|
|
55
|
+
"ios-mobileprovision-finder": "^1.1.0",
|
|
56
|
+
"jsonwebtoken": "^9.0.2",
|
|
57
|
+
"listr": "^0.14.3",
|
|
58
|
+
"multer": "^1.4.5-lts.1",
|
|
59
|
+
"pg": "^8.16.3",
|
|
60
|
+
"pg-hstore": "^2.3.4",
|
|
61
|
+
"plist": "^3.1.0",
|
|
62
|
+
"remove-files-webpack-plugin": "^1.5.0",
|
|
63
|
+
"rxjs": "^7.8.1",
|
|
64
|
+
"sequelize": "^6.35.0",
|
|
65
|
+
"sequelize-cli": "^6.6.2",
|
|
66
|
+
"socket.io": "^4.8.1",
|
|
67
|
+
"sqlite3": "^5.1.6",
|
|
68
|
+
"uuid": "^9.0.1",
|
|
69
|
+
"wdio-cli": "^5.0.0-alpha.7",
|
|
70
|
+
"webpack": "^5.103.0",
|
|
71
|
+
"webpack-node-externals": "^3.0.0",
|
|
72
|
+
"webpack-obfuscator": "^3.6.0",
|
|
73
|
+
"webpack-shebang-plugin": "^1.1.8",
|
|
74
|
+
"yauzl": "^3.2.0"
|
|
75
|
+
},
|
|
76
|
+
"devDependencies": {
|
|
77
|
+
"@types/archiver": "^6.0.2",
|
|
78
|
+
"@types/bcryptjs": "^2.4.6",
|
|
79
|
+
"@types/chai": "^4.3.11",
|
|
80
|
+
"@types/express": "^4.17.21",
|
|
81
|
+
"@types/jsonwebtoken": "^9.0.6",
|
|
82
|
+
"@types/listr": "^0.14.9",
|
|
83
|
+
"@types/mocha": "^10.0.6",
|
|
84
|
+
"@types/multer": "^1.4.12",
|
|
85
|
+
"@types/node": "^20.10.0",
|
|
86
|
+
"@types/pg": "^8.10.9",
|
|
87
|
+
"@types/sinon": "^17.0.2",
|
|
88
|
+
"@types/sinon-chai": "^4.0.0",
|
|
89
|
+
"@types/supertest": "^6.0.2",
|
|
90
|
+
"@types/uuid": "^9.0.7",
|
|
91
|
+
"@wdio/cli": "^9.20.0",
|
|
92
|
+
"@wdio/local-runner": "^9.20.0",
|
|
93
|
+
"@wdio/mocha-framework": "^9.20.0",
|
|
94
|
+
"@wdio/spec-reporter": "^9.20.0",
|
|
95
|
+
"appium-uiautomator2-driver": "^6.1.1",
|
|
96
|
+
"axios": "^1.13.2",
|
|
97
|
+
"chai": "^4.3.10",
|
|
98
|
+
"mocha": "^10.2.0",
|
|
99
|
+
"rimraf": "^6.1.2",
|
|
100
|
+
"sinon": "^17.0.1",
|
|
101
|
+
"sinon-chai": "^3.7.0",
|
|
102
|
+
"supertest": "^6.3.3",
|
|
103
|
+
"ts-node": "^10.9.2",
|
|
104
|
+
"webpack-cli": "^6.0.1"
|
|
105
|
+
},
|
|
106
|
+
"directories": {
|
|
107
|
+
"test": "test"
|
|
108
|
+
},
|
|
109
|
+
"publishConfig": {
|
|
110
|
+
"access": "public"
|
|
111
|
+
},
|
|
112
|
+
"files": [
|
|
113
|
+
"dist"
|
|
114
|
+
]
|
|
115
|
+
}
|