1 | {
|
2 | "name": "@hmcts/draft-store-client",
|
3 | "version": "1.0.0",
|
4 | "description": "Front end client for draft store",
|
5 | "engines": {
|
6 | "node": ">=8.7.0"
|
7 | },
|
8 | "scripts": {
|
9 | "prepublishOnly": "tsc -p ./ --outDir dist/",
|
10 | "lint": "tslint --project tsconfig.json --type-check",
|
11 | "test": "NODE_ENV=mocha LOG_LEVEL=OFF mocha --opts mocha.opts --reporter-options reportFilename=unit,inlineAssets=true,reportTitle=draft-store-client",
|
12 | "test:coverage": "NODE_ENV=mocha LOG_LEVEL=OFF nyc mocha --opts mocha.opts ",
|
13 | "precommit": "yarn lint",
|
14 | "prepush": "yarn test"
|
15 | },
|
16 | "repository": {
|
17 | "type": "git",
|
18 | "url": "git@git.github.com:hmcts/draft-store-client.git"
|
19 | },
|
20 | "author": "HMCTS Reform",
|
21 | "license": "MIT",
|
22 | "dependencies": {
|
23 | "@types/http-status-codes": "^1.0.29",
|
24 | "@types/lodash": "^4.14.52",
|
25 | "@types/nock": "^8.2.1",
|
26 | "@types/node": "^8.0.24",
|
27 | "@types/request-promise-native": "^1.0.2",
|
28 | "body-parser": "^1.13.3",
|
29 | "build-url": "^1.0.9",
|
30 | "cli": "^1.0.1",
|
31 | "cookie-parser": "^1.4.3",
|
32 | "cookies": "^0.7.1",
|
33 | "es6-promisify": "^5.0.0",
|
34 | "http-status-codes": "^1.1.6",
|
35 | "mime": "^2.0.3",
|
36 | "moment": "^2.18.1",
|
37 | "nock": "^9.0.22",
|
38 | "reflect-metadata": "^0.1.10",
|
39 | "request": "^2.81.0",
|
40 | "request-promise-native": "^1.0.3",
|
41 | "require-directory": "^2.1.1",
|
42 | "shortid": "^2.2.6",
|
43 | "ts-node": "^3.3.0",
|
44 | "tsconfig-paths": "^2.2.0",
|
45 | "typescript": "^2.4.2"
|
46 | },
|
47 | "devDependencies": {
|
48 | "@types/chai": "^4.0.3",
|
49 | "@types/chai-as-promised": "^0.0.31",
|
50 | "@types/chai-spies": "^0.0.0",
|
51 | "@types/mocha": "*",
|
52 | "@types/sinon-chai": "^2.7.28",
|
53 | "@types/supertest": "*",
|
54 | "chai": "^4.1.1",
|
55 | "chai-as-promised": "^7.1.1",
|
56 | "debug": "^3.0.0",
|
57 | "husky": "^0.14.3",
|
58 | "mocha": "^3.5.0",
|
59 | "mochawesome": "^2.2.0",
|
60 | "mock-require": "^2.0.1",
|
61 | "nsp": "^2.6.3",
|
62 | "nyc": "^11.2.1",
|
63 | "sinon": "^3.2.1",
|
64 | "sinon-chai": "^2.13.0",
|
65 | "sinon-express-mock": "^1.3.0",
|
66 | "sonarqube-scanner": "^2.0.1",
|
67 | "supertest": "^3.0.0",
|
68 | "tslint": "^5.5.0",
|
69 | "tslint-config-standard": "^6.0.1"
|
70 | },
|
71 | "nyc": {
|
72 | "extension": [
|
73 | ".ts",
|
74 | ".js"
|
75 | ],
|
76 | "include": [
|
77 | "src/main"
|
78 | ],
|
79 | "exclude": [
|
80 | "**/*.d.ts",
|
81 | "src/main/public"
|
82 | ],
|
83 | "reporter": [
|
84 | "lcov",
|
85 | "text-summary"
|
86 | ],
|
87 | "report-dir": "coverage-report",
|
88 | "all": true
|
89 | }
|
90 | }
|