-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathpackage.json
More file actions
82 lines (82 loc) · 3.63 KB
/
package.json
File metadata and controls
82 lines (82 loc) · 3.63 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
{
"name": "fielddb-auth",
"version": "4.16.14",
"description": "Authentication web services for FieldDB.",
"homepage": "https://github.com/FieldDB/FieldDB/issues/milestones?state=closed",
"repository": {
"type": "git",
"url": "git://github.com/FieldDB/AuthenticationWebService.git"
},
"bugs": {
"url": "https://github.com/FieldDB/FieldDB/issues"
},
"keywords": [
"fielddb",
"api"
],
"author": "FieldDB contributors <opensource@fielddb.org>",
"contributors": [
"cesine <cesine@yahoo.com>",
"Tobin Skinner <tobin.skinner@gmail.com>",
"Josh <josh.horner@gmail.com>",
"hisakonog <hisakonog@gmail.com>",
"Fieldlinguist <info@fieldlinguist.com>"
],
"dependencies": {
"@cesine/swagger-node-express": "2.0.2",
"bcryptjs": "^3.0.3",
"body-parser": "^2.2.1",
"config": "^4.1.1",
"cors": "^2.8.5",
"debug": "^4.4.3",
"express": "^5.2.1",
"express-bunyan-logger": "^1.3.3",
"fielddb": "^5.168.15-rc0",
"md5": "^2.3.0",
"nano": "^11.0.3",
"nodemailer": "^8.0.0",
"serve-favicon": "^2.5.1",
"uuid": "^13.0.0"
},
"devDependencies": {
"@eslint/eslintrc": "^3.3.3",
"@eslint/js": "^10.0.1",
"chai": "^6.2.1",
"eslint": "^10.0.0",
"express-session": "^1.18.2",
"globals": "^17.1.0",
"mocha": "^11.7.5",
"nodemon": "^3.1.11",
"nyc": "^18.0.0",
"replay": "^2.4.0",
"sinon": "^21.0.0",
"supertest": "^7.1.4"
},
"resolutions": {},
"main": "./auth_service.js",
"bin": {
"fielddb-auth": "./auth_service.js"
},
"engines": {
"node": ">8.x.x"
},
"scripts": {
"docker:build": "docker build -t fielddb-auth .",
"test:docker": "echo 'module.exports = { usersDbConnection: { url: \"http://couchdb:5984\" } };' > config/localhost.js && docker compose up -d && sleep 3 && docker compose logs && npm run setup && npm run test:deprecated:e2e",
"test:docker:no-cache": "echo 'module.exports = { usersDbConnection: { url: \"http://couchdb:5984\" } };' > config/localhost.js && docker compose build --no-cache && docker compose up -d && sleep 15 && docker compose logs && npm run setup && npm run test:deprecated:e2e",
"coverage": "NODE_ENV=test BUNYAN_LOG_LEVEL=FATAL nyc npm test",
"lint": "eslint ",
"lint:ci": "eslint .",
"setup": "REPLAY=bloody NODE_TLS_REJECT_UNAUTHORIZED=0 SOURCE_URL=${SOURCE_URL:-https://public:none@corpusdev.example.org} mocha --timeout 20000 test/integration/install.js",
"start": "node ./bin/www.js",
"test": "SOURCE_URL=${SOURCE_URL:-https://public:none@corpusdev.example.org} NODE_ENV=test NODE_TLS_REJECT_UNAUTHORIZED=0 mocha --timeout 100000 --recursive test",
"test:debug": "node-debug _mocha test/integration/oauth.js",
"test:deprecated:e2e": "DEBUG=${DEBUG:-test:deprecated} REPLAY=bloody NODE_TLS_REJECT_UNAUTHORIZED=0 URL=https://localhost:3183 mocha --timeout 25000 test/routes/deprecated-spec.js",
"test:deprecated:coverage": "DEBUG=${DEBUG:-lib:user} REPLAY=bloody NODE_TLS_REJECT_UNAUTHORIZED=0 nyc mocha --timeout 25000 test/routes/deprecated-spec.js",
"test:fielddb": "NODE_ENV=localhost jasmine-node node_modules/fielddb/tests",
"test:production": "ls config/production.js",
"test:ui": "git clone --filter=blob:none --no-checkout https://github.com/FieldDB/FieldDB.git; cd FieldDB; git sparse-checkout set test-e2e; git checkout HEAD; cd test-e2e && npm install && npx playwright install chromium && BASE_URL=${BASE_URL:-https://localhost:6984} BASE_PATH=${BASE_PATH:-/prototypedev/_design/prototype} DEBUG=${DEBUG:-none} npm run test -- --retries=0 --project=Chromium register",
"watch": "nodemon ./bin/www.js"
},
"license": "Apache-2.0"
}