-
Notifications
You must be signed in to change notification settings - Fork 39
/
package.json
93 lines (93 loc) · 2.71 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
{
"name": "@project-sunbird/client-services",
"version": "5.0.1",
"description": "Type definitions and models for Sunbird platform clients",
"main": "dist/index.js",
"module": "src/index.ts",
"scripts": {
"test": "jest",
"test:coverage": "jest --coverage --collectCoverageFrom=src/**/*.{ts,tsx} --coverageReporters=lcov",
"test:ci": "jest --silent --ci --w 2 --collectCoverage=true --collectCoverageFrom=src/**/*.{ts,tsx} --coverageReporters=lcov",
"test:ci-json": "jest --ci --w 2 --collectCoverage=true --coverageReporters=json",
"build": "rm -rf dist && NODE_ENV=production webpack --verbose true --progress true --cache false",
"build:prod": "rm -rf dist && NODE_ENV=production webpack --verbose true --progress true --cache false && cp ./package.json ./LICENSE ./README.md ./dist",
"build:analyze": "webpack --verbose true --progress true --cache false --profile --json > stats.json && npx webpack-bundle-analyzer ./stats.json",
"build:dev": "rm -rf tmp && mkdir tmp && cp ./package-dev.json ./tmp/package.json && tsc -w --outDir ./tmp",
"sonar-scanner": "sonar-scanner"
},
"dependencies": {
"@project-sunbird/telemetry-sdk": "0.0.26",
"inversify": "^5.0.1",
"qs": "^6.9.4",
"reflect-metadata": "^0.1.13",
"whatwg-fetch": "^3.1.0",
"jszip": "^3.7.1",
"jsonld": "^5.2.0",
"jsonld-signatures": "^6.0.0",
"moment": "^2.29.4",
"node-fetch": "2.6.5"
},
"author": "",
"license": "MIT",
"bugs": {
"url": "https://github.com/Sunbird-Ed/sunbird-client-services/issues"
},
"homepage": "https://github.com/Sunbird-Ed/sunbird-client-services#readme",
"peerDependencies": {
"rxjs": "6.x.x"
},
"devDependencies": {
"@types/jest": "^25.1.1",
"@types/node-fetch": "2.5.12",
"jest": "^25.1.0",
"rxjs": "^6.5.3",
"terser-webpack-plugin": "^4.1.0",
"ts-jest": "^25.2.0",
"ts-loader": "^5.4.5",
"tslint": "^5.12.0",
"typescript": "2.9.1",
"webpack": "^4.41.5",
"webpack-cli": "^3.3.10"
},
"jest": {
"globals": {
"ts-jest": {
"tsConfig": "tsconfig.spec.json"
}
},
"browser": false,
"rootDir": "./",
"roots": [
"<rootDir>/src/"
],
"moduleDirectories": [
"node_modules"
],
"testPathIgnorePatterns": [
"/node_modules/"
],
"coveragePathIgnorePatterns": [],
"testMatch": [
"**/?(*.)(spec).ts"
],
"restoreMocks": true,
"moduleFileExtensions": [
"js",
"jsx",
"json",
"ts",
"tsx"
],
"setupFiles": [
"./src/__test__/setup.ts"
],
"transform": {
"^.+\\.(ts)$": "ts-jest"
},
"coverageReporters": [
"text",
"json"
],
"transformIgnorePatterns": []
}
}