1 | {
|
2 | "name": "@navadt/common",
|
3 | "version": "0.6.9",
|
4 | "main": "dist/index.js",
|
5 | "types": "dist/index.d.ts",
|
6 | "keywords": [
|
7 | "nava",
|
8 | "common"
|
9 | ],
|
10 | "author": "nava technologies",
|
11 | "scripts": {
|
12 | "tsc": "tsc",
|
13 | "prebuild": "tslint -c tslint.json -p tsconfig.json --fix",
|
14 | "build": "npm run clean && tsc",
|
15 | "lint": "tslint ./src/**/*.ts ./test/**/*.ts",
|
16 | "lint:fix": "tslint --fix ./src/**/*.ts ./test/**/*.ts -t verbose",
|
17 | "prepublishOnly": "npm test && npm run lint",
|
18 | "preversion": "npm run lint",
|
19 | "start": "node .",
|
20 | "pretest": "cross-env NODE_ENV=test npm run build && npm run lint",
|
21 | "test": "ENVFILE=.test.env cross-env NODE_ENV=test mocha --exit",
|
22 | "test:ci": "ENVFILE=.ci.env cross-env NODE_ENV=test mocha --exit",
|
23 | "test:coverage": "nyc npm run test",
|
24 | "clean": "rimraf dist"
|
25 | },
|
26 | "dependencies": {
|
27 | "aws-sdk": "^2.656.0",
|
28 | "dotenv": "^8.2.0",
|
29 | "express": "^4.17.1",
|
30 | "jsonwebtoken": "^8.5.1",
|
31 | "log4js": "^6.1.2",
|
32 | "mongoose": "5.5.11",
|
33 | "request": "2.88.2",
|
34 | "rxjs": "^6.5.5",
|
35 | "ts-node": "8.8.2",
|
36 | "typescript-ioc": "^3.2.1",
|
37 | "typescript-rest": "^3.0.1",
|
38 | "xmlhttprequest": "^1.8.0"
|
39 | },
|
40 | "devDependencies": {
|
41 | "@types/chai": "4.2.11",
|
42 | "@types/express": "^4.17.6",
|
43 | "@types/jsonwebtoken": "^8.3.9",
|
44 | "@types/mocha": "5.2.5",
|
45 | "@types/mongodb": "3.5.5",
|
46 | "@types/mongoose": "5.5.3",
|
47 | "@types/request": "^2.48.4",
|
48 | "chai": "4.2.0",
|
49 | "cross-env": "7.0.2",
|
50 | "deep-equal-in-any-order": "^1.0.27",
|
51 | "mocha": "5.2.0",
|
52 | "nock": "^12.0.3",
|
53 | "nyc": "^15.0.1",
|
54 | "rimraf": "3.0.2",
|
55 | "source-map-support": "0.5.16",
|
56 | "ts-node-dev": "^1.0.0-pre.44",
|
57 | "tslint": "6.1.1",
|
58 | "tslint-config-prettier": "^1.18.0",
|
59 | "typescript": "3.8.3"
|
60 | },
|
61 | "mocha": {
|
62 | "exit": true,
|
63 | "extension": [
|
64 | "spec.ts"
|
65 | ],
|
66 | "package": "./package.json",
|
67 | "watch-files": [
|
68 | "test/**/*.spec.ts"
|
69 | ],
|
70 | "slow": 75,
|
71 | "timeout": 2000,
|
72 | "full-trace": true,
|
73 | "bail": true,
|
74 | "reporter": "spec"
|
75 | },
|
76 | "files": [
|
77 | "dist/**/*"
|
78 | ]
|
79 | }
|