-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
189 lines (189 loc) · 6.18 KB
/
package.json
File metadata and controls
189 lines (189 loc) · 6.18 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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
{
"name": "@allow2/allow2automate-operating-system",
"shortName": "operating-system",
"version": "1.0.0",
"description": "OS-level parental controls - monitor sessions, processes, browsers and enforce computer/internet time quotas",
"allow2Token": "vzN0BcBGl8akPKEv",
"main": "dist/index.js",
"module": "dist/index.es.js",
"jsnext:main": "dist/index.es.js",
"scripts": {
"test": "jest",
"build": "rollup -c && npm run copy-scripts",
"copy-scripts": "mkdir -p dist/monitors dist/actions && cp -r src/monitors/*.js dist/monitors/ && cp -r src/actions/*.js dist/actions/",
"postinstall": "npm run remove-peer-deps || true",
"remove-peer-deps": "rm -rf node_modules/react node_modules/react-dom node_modules/@material-ui node_modules/react-is node_modules/react-transition-group node_modules/hoist-non-react-statics || true",
"start": "rollup -c -w",
"prepublish": "npm run build",
"test:watch": "jest --watch",
"test:coverage": "jest --coverage"
},
"repository": {
"type": "git",
"url": "https://github.com/Allow2/allow2automate-operating-system"
},
"bugs": {
"url": "https://github.com/Allow2/allow2automate-operating-system/issues"
},
"homepage": "https://github.com/Allow2/allow2automate-operating-system#readme",
"keywords": [
"allow2automate",
"operating-system",
"parental-controls",
"screen-time",
"session-monitoring",
"process-monitoring",
"browser-detection",
"quota-enforcement",
"bedtime",
"plugin"
],
"author": {
"name": "Allow2",
"url": "https://allow2.com"
},
"license": "MIT",
"allow2automate": {
"plugin": true,
"pluginId": "allow2automate-operating-system",
"displayName": "Operating System Controls",
"category": "System",
"permissions": [
"network",
"configuration",
"system"
],
"requiresMainProcess": true,
"minAppVersion": "2.0.0",
"api": {
"actions": [
{
"id": "enableOSMonitoring",
"name": "Enable OS Monitoring",
"description": "Start monitoring OS sessions and processes"
"allow2Token": "vzN0BcBGl8akPKEv",
},
{
"id": "getUsageReport",
"name": "Get Usage Report",
"description": "Get computer and internet time usage for a child"
"allow2Token": "vzN0BcBGl8akPKEv",
},
{
"id": "triggerFocusMode",
"name": "Trigger Focus Mode",
"description": "Enable/disable focus mode for distraction blocking"
"allow2Token": "vzN0BcBGl8akPKEv",
},
{
"id": "logoutUser",
"name": "Logout User",
"description": "Force logout the current user"
"allow2Token": "vzN0BcBGl8akPKEv",
},
{
"id": "lockSession",
"name": "Lock Session",
"description": "Lock the current session"
"allow2Token": "vzN0BcBGl8akPKEv",
}
],
"triggers": [
{
"id": "quotaWarning",
"name": "Quota Warning",
"description": "Triggered when approaching quota limit"
"allow2Token": "vzN0BcBGl8akPKEv",
},
{
"id": "quotaExhausted",
"name": "Quota Exhausted",
"description": "Triggered when quota is fully used"
"allow2Token": "vzN0BcBGl8akPKEv",
},
{
"id": "bedtimeWarning",
"name": "Bedtime Warning",
"description": "Triggered when approaching bedtime"
"allow2Token": "vzN0BcBGl8akPKEv",
},
{
"id": "bedtimeReached",
"name": "Bedtime Reached",
"description": "Triggered when bedtime is reached"
"allow2Token": "vzN0BcBGl8akPKEv",
},
{
"id": "sessionStarted",
"name": "Session Started",
"description": "Triggered when a child logs in"
"allow2Token": "vzN0BcBGl8akPKEv",
},
{
"id": "sessionEnded",
"name": "Session Ended",
"description": "Triggered when a child logs out"
"allow2Token": "vzN0BcBGl8akPKEv",
},
{
"id": "browserDetected",
"name": "Browser Detected",
"description": "Triggered when a browser is opened"
"allow2Token": "vzN0BcBGl8akPKEv",
},
{
"id": "blockedProcessDetected",
"name": "Blocked Process Detected",
"description": "Triggered when a blocked application is launched"
"allow2Token": "vzN0BcBGl8akPKEv",
}
]
}
},
"dependencies": {
"@babel/runtime": "^7.13.9"
},
"peerDependencies": {
"@material-ui/core": "^4.0.0",
"@material-ui/icons": "^4.0.0",
"@material-ui/lab": "4.0.0-alpha.61",
"react": "^16.0.0 || ^17.0.0",
"react-dom": "^16.0.0 || ^17.0.0"
},
"icon": "./img/os-icon.png",
"files": [
"dist",
"img"
],
"devDependencies": {
"@babel/core": "^7.13.8",
"@babel/plugin-external-helpers": "^7.12.13",
"@babel/plugin-proposal-class-properties": "^7.0.0",
"@babel/plugin-proposal-decorators": "^7.0.0",
"@babel/plugin-proposal-do-expressions": "^7.0.0",
"@babel/plugin-proposal-export-default-from": "^7.0.0",
"@babel/plugin-proposal-export-namespace-from": "^7.0.0",
"@babel/plugin-proposal-function-bind": "^7.0.0",
"@babel/plugin-proposal-function-sent": "^7.0.0",
"@babel/plugin-proposal-json-strings": "^7.0.0",
"@babel/plugin-proposal-logical-assignment-operators": "^7.0.0",
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.0.0",
"@babel/plugin-proposal-numeric-separator": "^7.0.0",
"@babel/plugin-proposal-optional-chaining": "^7.0.0",
"@babel/plugin-proposal-pipeline-operator": "^7.0.0",
"@babel/plugin-proposal-throw-expressions": "^7.0.0",
"@babel/plugin-syntax-dynamic-import": "^7.0.0",
"@babel/plugin-syntax-import-meta": "^7.0.0",
"@babel/plugin-transform-runtime": "^7.13.9",
"@babel/preset-env": "^7.13.9",
"@babel/preset-react": "^7.12.13",
"@rollup/plugin-babel": "^5.3.0",
"@rollup/plugin-commonjs": "^17.1.0",
"@rollup/plugin-node-resolve": "^11.2.0",
"jest": "^27.0.0",
"postcss": "^8.5.6",
"rollup": "^2.40.0",
"rollup-plugin-peer-deps-external": "^2.2.4",
"rollup-plugin-postcss": "^4.0.0"
}
}