-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
41 lines (41 loc) · 1.61 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
{
"name": "pouchdb-session-authentication",
"version": "1.4.0",
"description": "Plugin that forces session authentication for PouchDb http adapter",
"main": "src/index.js",
"scripts": {
"unit": "nyc mocha ./test/unit/*.js",
"lint": "eslint .",
"test": "npm run lint && npm run unit",
"start-couch": "cd test/integration && docker-compose up -d",
"stop-couch": "cd test/integration && docker-compose down --remove-orphans",
"integration-auth": "npm run stop-couch && npm run start-couch && mocha ./test/integration/credentials*.spec.js && npm run stop-couch",
"integration-url": "npm run stop-couch && npm run start-couch && AUTH_TYPE=url mocha ./test/integration/credentials*.spec.js && npm run stop-couch",
"integration-session": "npm run stop-couch && npm run start-couch && mocha ./test/integration/session*.spec.js && npm run stop-couch",
"integration": "npm run integration-auth && npm run integration-url && npm run integration-session",
"integration-basic": "npm run stop-couch && npm run start-couch && node ./test/integration/basic.spec.js"
},
"engines": {
"node": ">=8.10.0",
"npm": ">=8.3.1"
},
"author": "Diana Barsan",
"license": "AGPL-3.0-only",
"dependencies": {
"pouchdb-fetch": "^8.0.1"
},
"devDependencies": {
"@medic/eslint-config": "^1.1.0",
"chai": "^4.4.1",
"chai-as-promised": "^7.1.1",
"eslint": "^8.56.0",
"eslint-plugin-node": "^11.1.0",
"mocha": "^10.2.0",
"nyc": "^15.1.0",
"pouchdb-adapter-http": "^8.0.1",
"pouchdb-core": "^8.0.1",
"rewire": "^7.0.0",
"sinon": "^17.0.1",
"uuid": "^9.0.1"
}
}