-
Notifications
You must be signed in to change notification settings - Fork 26
/
package.json
138 lines (138 loc) · 8.74 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
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
{
"name": "cass",
"version": "1.5.67",
"description": "Competency and Skills System",
"main": "src/main/server.js",
"directories": {
"doc": "docs"
},
"scripts": {
"test": "npm run test:deps && npm run test:start && npm run mocha && npm run stop",
"testWithCoverage": "npm run test:deps && nyc --reporter=lcov --reporter=text --all --include 'src/main/**' --exclude 'node_modules/**' --exclude 'src/main/webapp/**' npm run test:start",
"test:mocha": "nyc npm run mocha",
"test:start": "node src/main/server.js",
"test:sudostart": "sudo pm2 start ./pm2.test.config.js",
"test:deps": "docker compose up -d elasticsearch-cass",
"test:nodemon": "nodemon src/main/server.js",
"test:logs": "pm2 logs --nostream --lines 1000",
"dev": "npm run dev:deps && npm run dev:nodemon",
"dev:docker": "npm run dev:deps && npm run dev:nodemon:docker",
"dev:https": "npm run dev:deps && export HTTPS=true|| set HTTPS=true&& npm run dev:nodemon",
"dev:clientSideCertificates": "npm run dev:deps && export HTTPS=true|| set HTTPS=true&& export HTTP2=false|| set HTTP2=false&& export HTTPS_REJECT_UNAUTHORIZED=false|| set HTTPS_REJECT_UNAUTHORIZED=false&& export REQUEST_CLIENT_SIDE_CERTIFICATE=true|| set REQUEST_CLIENT_SIDE_CERTIFICATE=true&& npm run dev:nodemon",
"dev:jwt": "npm run dev:deps && export CASS_JWT_ENABLED=true|| set CASS_JWT_ENABLED=true&& npm run dev:nodemon",
"dev:deps": "docker compose up -d elasticsearch-cass",
"dev:oidcdeps": "docker compose up --build -d elasticsearch-cass",
"dev:oidc": "npm run dev:oidcdeps && export CASS_OIDC_ENABLED=true|| set CASS_OIDC_ENABLED=true&& npm run dev:nodemon",
"dev:nodemon": "nodemon --watch ../cass-npm --watch . --max-old-space-size=512 --ignore etc src/main/server.js",
"dev:nodemon:docker": "nodemon --ignore etc --exec \"docker compose up -d --build\"",
"dev:nyc": "nyc --reporter lcov node src/main/server.js",
"dev:node": "export CASS_LOOPBACK=http://localhost:8080/api/|| set CASS_LOOPBACK=http://localhost:8080/api/&&export PORT=8080|| set PORT=8080&&node src/main/server.js",
"mocha": "wait-on http://localhost/api/ping && mocha -b --timeout 15000 node_modules/cassproject/src/**/*.test.js src/**/*.test.js",
"mochaEncryption": "wait-on http://localhost/api/ping && mocha -b --timeout 15000 node_modules/cassproject/src/com/eduworks/ec/crypto/*.test.js",
"mochafast": "wait-on http://localhost/api/ping && mocha -b src/**/*.test.js",
"mochaNyc": "export CASS_LOOPBACK=http://localhost:8080/api/|| set CASS_LOOPBACK=http://localhost:8080/api/&&wait-on http://localhost:8080/api/ping && mocha -b --timeout 15000 node_modules/cassproject/src/**/*.test.js src/**/*.test.js && wait-on http://localhost:8080/api/kill",
"nyc": "nyc --reporter lcov npm run mocha",
"automocha": "nodemon --watch ../cass-npm --watch . --exec \"npm run mocha\"",
"autonyc": "npm run dev:deps && nodemon --watch ../cass-npm --watch . --exec \"npm run run:nyc\"",
"automochafast": "nodemon --exec \"npm run mochafast\"",
"run": "pm2 start ./pm2.config.js",
"run:standalone": "pm2 start ./pm2.standalone.config.js",
"run:google": "pm2 start ./pm2.google.config.js",
"run:proxy": "pm2 start ./pm2.proxy.config.js",
"run:test": "pm2 start ./pm2.test.config.js",
"run:nyc": "export CASS_LOOPBACK=http://localhost:8080/api/|| set CASS_LOOPBACK=http://localhost:8080/api/&&export PORT=8080|| set PORT=8080&&export KILL=true|| set KILL=true&&concurrently \"nyc --reporter=lcov npm run dev:node\" \"npm run mochaNyc\"",
"run:merge": "nyc report --reporter=lcov",
"run:cassbase": "pm2 start ./pm2.cassbase.config.js",
"run:withTests": "npm run test:start & npm run mochaEncryption",
"pm2startup": "pm2 startup",
"pm2save": "pm2 save",
"logs": "pm2 logs",
"rotatelogs": "pm2 install pm2-logrotate",
"status": "pm2 l",
"stop": "pm2 stop all",
"openapi:devValidate": "npm install -g @apidevtools/swagger-cli && nodemon --ignore ./swaggerx.json --exec \"npm run openapi:justValidate\"",
"openapi:validate": "npm install -g @apidevtools/swagger-cli && wait-on http://localhost/api/swagger.json && curl -o swaggerx.json http://localhost/api/swagger.json && swagger-cli validate swaggerx.json",
"openapi:justValidate": "wait-on http://localhost/api/swagger.json && curl -o swaggerx.json http://localhost/api/swagger.json && swagger-cli validate swaggerx.json && del swaggerx.json",
"build:test": "docker build --progress plain -f docker/test/Dockerfile -t cass-test .",
"buildRun:kill": "docker kill cass-test | exit 0 && docker rm cass-test | exit 0",
"buildRun:ubuntu16": "npm run buildRun:kill && docker build --progress plain -f docker/test/ubuntu-16.04-latest/Dockerfile -t cass-test . && docker run -p80:80 --name cass-test cass-test",
"buildRun:ubuntu18": "npm run buildRun:kill && docker build --progress plain -f docker/test/ubuntu-18.04-latest/Dockerfile -t cass-test . && docker run -p80:80 --name cass-test cass-test",
"buildRun:ubuntu20": "npm run buildRun:kill && docker build --progress plain -f docker/test/ubuntu-20.04-latest/Dockerfile -t cass-test . && docker run -p80:80 --name cass-test cass-test",
"buildRun:ubuntu18:13to15": "npm run buildRun:kill && docker build --progress plain -f docker/test/ubuntu-18.04-latest/Dockerfile-13to15 -t cass-test . && docker run -p80:80 --name cass-test cass-test",
"buildRun:standaloneWindowsFips": "npm run buildRun:kill && docker build --pull --no-cache --progress plain -f docker/fips/Dockerfile -t cass-test . && docker run -p80:80 --name cass-test cass-test",
"buildRun:standaloneTest": "npm run buildRun:kill && docker build --pull --progress plain -f docker/standalone/Dockerfile -t cass-test . && docker run -p80:80 -p9200:9200 --name cass-test cass-test",
"buildRun:standalone": "npm run buildRun:kill && docker build --pull --no-cache --progress plain -f docker/standalone/Dockerfile -t cass-test . && docker run -p80:80 --name cass-test cass-test",
"buildRun:standaloneNode": "npm run buildRun:kill && docker build --pull --no-cache --progress plain -f docker/standalone/node/Dockerfile -t cass-test . && docker run -p80:80 --name cass-test cass-test",
"buildRun:test": "npm run buildRun:kill && docker build --progress plain -f docker/test/Dockerfile -t cass-test . && docker run --network esnet -p80:80 --name cass-test cass-test",
"buildRun:testReplication": "npm run buildRun:kill && docker build --progress plain -f docker/test/replication/Dockerfile -t cass-test . && docker run -p80:80 --name cass-test cass-test",
"buildRun:testProxy": "npm run buildRun:kill && docker build --progress plain -f docker/test/proxy/Dockerfile -t cass-test . && docker run -p80:80 --name cass-test cass-test"
},
"repository": {
"type": "git",
"url": "git+https://github.com/cassproject/CASS.git"
},
"keywords": [
"cass",
"competency",
"skills",
"cassproject"
],
"author": "Eduworks Corporation <[email protected]> (http://cassproject.org)",
"contributors": [
"Ronald 'Fritz' Ray <[email protected]>",
"Mile Divovic <[email protected]>",
"Debbie Brown <[email protected]>",
"Elaine Kelsey <[email protected]>",
"Kari Glover <[email protected]>",
"Tyler Landowski <[email protected]>",
"Thomas Buskirk (Departed) <[email protected]>",
"Kristin Wood (Retired) <[email protected]>",
"Devlin Junker (Retired) <[email protected]>",
"Aaron Veden (Retired) <[email protected]>",
"Robby Goetschalckx (Retired) <[email protected]>",
"Aleita Train (Retired) <[email protected]>"
],
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/cassproject/CASS/issues"
},
"homepage": "https://github.com/cassproject/CASS#readme",
"dependencies": {
"@aws-sdk/client-s3": "^3.679.0",
"@xmldom/xmldom": "^0.9.5",
"aws-sdk": "^2.1691.0",
"busboy": "^1.6.0",
"cassproject": "^1.5.66",
"check-disk-space": "^3.4.0",
"compression": "^1.7.4",
"concurrently": "^9.0.1",
"cors": "^2.8.5",
"cron": "^3.1.7",
"express": "^4.21.1",
"express-jwt": "^8.4.1",
"express-openid-connect": "^2.17.1",
"express-ws": "^5.0.2",
"node-object-hash": "^3.0.0",
"node-worker-threads-pool": "^1.5.1",
"nodemailer": "^6.9.16",
"pm2": "^5.4.2",
"pure-uuid": "^1.8.1",
"rdflib": "^2.2.35",
"spdy": "^4.0.2",
"swagger-jsdoc": "^6.2.8",
"swagger-ui-express": "^5.0.1",
"undici": "^6.20.1",
"uuid": "^11.0.2",
"ws": "^8.18.0"
},
"devDependencies": {
"chai": "4.5.0",
"eslint": "^9.13.0",
"eslint-config-google": "^0.14.0",
"mocha": "^10.7.3",
"nodemon": "^3.1.7",
"npm-run-all": "^4.1.5",
"nyc": "^17.1.0",
"wait-on": "^8.0.1"
}
}