-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathpackage.json
57 lines (57 loc) · 2.2 KB
/
package.json
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
{
"name": "agent-api-simulator",
"version": "1.0.5",
"description": "Agent Api Simulator",
"author": "Genesys",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/GenesysPureEngage/agent-api-simulator"
},
"workspace-development-kit": {
"scapi-samples": {
"dir": "https://genesyspureengage.github.io/workspace-development-kit/wwe-service-client-api/api-overview/",
"files": [
"sample.html",
"wwe-service-client-api.js"
]
},
"toolkit-samples": {
"dir": "https://genesyspureengage.github.io/workspace-development-kit/workspace-toolkit/",
"files": [
"components.html"
]
}
},
"dependencies": {
"cli-progress": "3.8.2",
"fs-extra": "9.0.0",
"request": "2.88.2",
"rimraf": "3.0.2",
"unzipper": "0.10.11",
"yaml-lint": "1.2.4"
},
"devDependencies": {
"ava": "3.8.1",
"cross-env": "7.0.2",
"npm-run-all": "4.1.5"
},
"scripts": {
"install": "npm run install:webapp && npm run install:service && npm run install:samples",
"start": "run-p start:simulator start:samples",
"build": "cd src/webapp && npm run build",
"clean": "rimraf target && rimraf ui-assets/*",
"import-ui-assets": "node src/scripts/downloadUiAssets.js",
"gen-certs": "mkcert -install && mkcert -key-file data/certificates/localhost.key.pem -cert-file data/certificates/localhost.cert.pem localhost 127.0.0.1 ::1",
"install:webapp": "echo Installing Webapp dependencies && cd ./src/webapp && npm i",
"install:service": "echo Installing Service dependencies && cd ./src/service/ && npm i",
"install:samples": "echo Installing Samples dependencies && cd ./src/samples && npm i",
"start:simulator": "npm --prefix ./src/service/ run start",
"start:samples": "npm --prefix ./src/samples/ start",
"serve:webapp": "npm --prefix ./src/webapp/ run serve",
"lint": "yamllint data/**/*.yaml && npm --prefix ./src/webapp/ run lint && npm --prefix ./src/service/ run lint",
"test-ava": "ava __tests__/*.js --verbose",
"test": "npm run lint && cross-env NODE_ENV=test npm run test-ava",
"test-light": "npm run lint && cross-env NODE_ENV=test-light npm run test-ava"
}
}