-
-
Notifications
You must be signed in to change notification settings - Fork 103
/
Copy pathpackage.json
131 lines (131 loc) · 4.52 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
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
{
"name": "ngx-device-detector-ws",
"version": "9.0.0",
"license": "MIT",
"scripts": {
"ng": "ng",
"start": "ng serve",
"build:lib": "ng build ngx-device-detector --configuration production",
"build:demo": "ng build demo --configuration production",
"build:ci": "ng build demo --base-href https://ahsanayaz.github.io/ngx-device-detector/demo/ --configuration production --output-hashing=all",
"docs": "npm run docs:build",
"docs:build": "compodoc -p --tsconfig ./tsconfig.json -n ngx-device-detector -d docs --hideGenerator --theme Vagrant",
"docs:serve": "npm run docs:build -- -s",
"docs:watch": "npm run docs:build -- -s -w",
"format:check:demo": "prettier --config ./.prettierrc --check \"projects/demo/**/*{.ts,.js,.html,.scss}\"",
"format:check:lib": "prettier --config ./.prettierrc --check \"projects/ngx-device-detector/**/*{.ts,.js,.html,.scss}\"",
"format:fix:demo": "prettier --config ./.prettierrc --write \"projects/demo/**/*{.ts,.js,.html,.scss}\"",
"format:fix:lib": "prettier --config ./.prettierrc --write \"projects/ngx-device-detector/**/*{.ts,.js,.html,.scss}\"",
"format:check:all": "prettier --config ./.prettierrc --check \"projects/**/*{.ts,.js,.html,.scss}\"",
"format:fix:all": "prettier --config ./.prettierrc --write \"projects/**/*{.ts,.js,.html,.scss}\"",
"lint": "npm run format:check:lib",
"test": "jest",
"test:coverage": "jest --coverage",
"e2e": "ng e2e",
"copy:readme": "cp README.MD ./projects/ngx-device-detector",
"changelog": "conventional-changelog -p angular -i CHANGE_LOG.MD -s",
"copy:changelog": "cp CHANGE_LOG.MD ./dist/ngx-device-detector",
"prerelease": "npm run changelog && npm run format:fix:lib && npm run copy:readme && npm run build:lib && npm run docs:build && npm run copy:changelog",
"release": "cd dist/ngx-device-detector && npm publish && cd ../../",
"deploy:ssr:demo": "sh scripts/deploy_ssr_demo.sh",
"postversion": "node scripts/post-version",
"bump:version": "node scripts/bump-version",
"serve:ssr:demo": "node dist/demo/server/server.mjs"
},
"repository": {
"type": "git",
"url": "https://github.com/AhsanAyaz/ngx-device-detector.git"
},
"author": {
"name": "Muhammad Ahsan Ayaz",
"email": "ahsan.ubitian@gmail.com"
},
"jest": {
"preset": "jest-preset-angular",
"setupFilesAfterEnv": [
"<rootDir>/jestSetup.ts"
],
"testPathIgnorePatterns": [
"<rootDir>/node_modules/",
"<rootDir>/dist/"
],
"modulePathIgnorePatterns": [
"<rootDir>/dist/",
"<rootDir>/projects/demo"
],
"globals": {
"ts-jest": {
"tsconfig": "<rootDir>/tsconfig.spec.json",
"stringifyContentPathRegex": "\\.html$"
}
}
},
"keywords": [
"angular",
"device",
"device detector",
"device detection",
"ngx-device-detector",
"angular device detector",
"angular5",
"angular6",
"angular7",
"angular8",
"angular18"
],
"bugs": {
"url": "https://github.com/AhsanAyaz/ngx-device-detector.git/issues"
},
"dependencies": {
"@angular/animations": "~19.0.3",
"@angular/common": "~19.0.3",
"@angular/compiler": "~19.0.3",
"@angular/core": "~19.0.3",
"@angular/forms": "~19.0.3",
"@angular/platform-browser": "~19.0.3",
"@angular/platform-browser-dynamic": "~19.0.3",
"@angular/platform-server": "~19.0.3",
"@angular/router": "~19.0.3",
"@angular/ssr": "^19.0.4",
"conventional-changelog-cli": "~5.0.0",
"express": "^4.18.2",
"ngx-device-detector": "^8.0.0",
"rxjs": "~7.8.1",
"tslib": "~2.6.3",
"zone.js": "~0.15.0"
},
"devDependencies": {
"@angular-devkit/build-angular": "~19.0.4",
"@angular/cli": "~19.0.4",
"@angular/compiler-cli": "~19.0.3",
"@commitlint/cli": "~19.3.0",
"@commitlint/config-angular": "~19.3.0",
"@compodoc/compodoc": "~1.1.25",
"@types/express": "^4.17.17",
"@types/jest": "^29.5.12",
"@types/node": "^20.14.2",
"codelyzer": "~6.0.2",
"husky": "~9.0.11",
"jest": "~29.7.0",
"jest-environment-jsdom": "^29.7.0",
"jest-preset-angular": "^14.4.2",
"ng-packagr": "~19.0.1",
"prettier": "~3.3.2",
"protractor": "~7.0.0",
"semver": "~7.6.2",
"ts-node": "~10.9.2",
"tslint": "~6.1.0",
"typescript": "~5.5.4"
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"overrides": {
"ngx-device-detector": {
"@angular/core": "$@angular/core",
"@angular/common": "$@angular/common"
}
}
}