-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathexample.plugin_package.json
More file actions
57 lines (56 loc) · 1.99 KB
/
Copy pathexample.plugin_package.json
File metadata and controls
57 lines (56 loc) · 1.99 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
// This file is parsed with the jsoncfg python package
// It supports comments like this one.
// Directories are the location of plugin_package.json
{
// Some details about this Peek App
"plugin": {
"title": "Peek App - Noop",
"packageName": "peek_plugin_noop",
// The name of the root python package
"version": "#PLUGIN_VER#",
"buildNumber": "#PLUGIN_BUILD#",
"buildDate": "#BUILD_DATE#",
"creator": "Synerty Pty Ltd",
"website": "www.synerty.com"
},
// The Peek Platform services that this plugin needs to run
"requiresServices": [
"logic",
"worker",
"agent",
"field",
"office",
"storage"
],
// Settings specific to the peek_office_service service
"client": {
// The directory where the angular2 route is for the client site
// EG "frontend/client"
"angularFrontendAppDir": "client_fe",
// The main module for the angular2 route
// This must be in the "angularFrontendAppDir"
// EG "plugin-noop.module"
"angularMainModule": "plugin-noop.module"
},
// Settings specific to the peek_logic_service service
"logic": {
// The directory where the angular2 route is for server admin site
// EG "frontend/client"
"angularFrontendAppDir": "server_fe",
// The main module for the angular2 route
// This must be in the "angularFrontendAppDir"
// EG "plugin-noop.module"
"angularMainModule": "plugin-noop.module"
},
// Settings specific to the database service
// The database is migrated by the peek_logic_service and used from both the server and worker
// services
"storage": {
// The alembic directory where the database schema migration scripts are stored
"alembicDir": "alembic"
},
// Settings specific to the peek_worker_service service
"worker": {},
// Settings specific to the peek_agent_service service
"agent": {}
}