-
Notifications
You must be signed in to change notification settings - Fork 40
/
package.json
114 lines (114 loc) · 3.7 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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
{
"name": "@project-sunbird/sunbird-sdk",
"version": "5.1.1",
"description": "Heart of the sunbird mobile app.",
"main": "index.js",
"scripts": {
"lint": "tslint --config ./tslint.json --project ./tsconfig.json",
"test": "jest",
"test:coverage": "jest --coverage --collectCoverageFrom=src/**/*.{ts,tsx}",
"test:ci": "jest --silent --ci --w 2 --collectCoverage=true --coverageReporters=lcov",
"test:ci-json": "jest --ci --w 2 --collectCoverage=true --coverageReporters=json",
"build:prod": "rm -rf dist && NODE_ENV=production webpack --verbose true --progress true --cache false --output-file index.js && 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"
},
"author": "",
"license": "ISC",
"dependencies": {
"crypto-js": "3.1.9-1",
"dayjs": "^1.8.20",
"inversify": "^5.1.1",
"jsonwebtoken": "^8.5.1",
"node-fetch": "2.6.7",
"pako": "^1.0.11",
"qs": "^6.9.7",
"reflect-metadata": "^0.1.13",
"typescript-collections": "^1.3.3",
"uuid": "^3.4.0",
"whatwg-fetch": "^3.6.2"
},
"peerDependencies": {
"@project-sunbird/client-services": "3.6.x",
"rxjs": ">=6",
"cordova-plugin-advanced-http": "^2.0.2",
"cordova-plugin-file": "^6.0.1",
"cordova-plugin-awesome-shared-preferences": "^0.1.0",
"cordova-plugin-inappbrowser": "3.0.0",
"sb-cordova-plugin-customtabs": "git+https://github.com/Sunbird-Ed/sb-cordova-plugin-customtabs.git",
"sb-cordova-plugin-db": "git+https://github.com/Sunbird-Ed/sb-cordova-plugin-db.git",
"jjdltc-cordova-plugin-zip": "git+https://github.com/swayangjit/jjdltc-cordova-plugin-zip.git",
"cordova-plugin-android-downloadmanager": "git+https://github.com/Sunbird-Ed/sb-cordova-plugin-downloadmanager.git",
"sb-cordova-plugin-utility": "git+https://github.com/Sunbird-Ed/sb-cordova-plugin-utility.git"
},
"devDependencies": {
"@project-sunbird/client-services": "5.1.0",
"@types/jest": "^25.2.3",
"@types/node": "12.0.2",
"@types/node-fetch": "2.5.4",
"@types/pako": "^1.0.4",
"@types/websql": "0.0.27",
"cordova-plugin-android-downloadmanager": "git+https://github.com/Sunbird-Ed/sb-cordova-plugin-downloadmanager.git",
"jest": "^25.5.4",
"rxjs": "^6.6.7",
"ts-jest": "^25.5.1",
"ts-loader": "^8.2.0",
"ts-mockito": "^2.6.1",
"tsickle": "^0.27.2",
"tslib": "^1.14.1",
"tslint": "^5.20.1",
"typescript": "2.9.1",
"webpack": "^4.46.0",
"webpack-cli": "^3.3.12"
},
"browser": {
"crypto": false
},
"jest": {
"globals": {
"ts-jest": {
"tsConfig": "tsconfig.spec.json"
}
},
"browser": false,
"rootDir": "./",
"roots": [
"<rootDir>/src/"
],
"moduleDirectories": [
"node_modules"
],
"testPathIgnorePatterns": [
"/node_modules/"
],
"coveragePathIgnorePatterns": [
"<rootDir>/src/util/file/impl",
"<rootDir>/src/codepush-experiment",
"<rootDir>/src/util/shared-preferences/impl/shared-preferences-local-storage",
"<rootDir>/src/group-deprecated"
],
"testMatch": [
"**/?(*.)(spec).ts"
],
"restoreMocks": true,
"moduleFileExtensions": [
"js",
"jsx",
"json",
"ts",
"tsx"
],
"setupFiles": [
"./src/__test__/setup.ts",
"./src/__test__/cordova-mocks.js"
],
"transform": {
"^.+\\.(ts)$": "ts-jest"
},
"coverageReporters": [
"text",
"json"
],
"transformIgnorePatterns": []
}
}