-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
67 lines (67 loc) · 1.98 KB
/
Copy pathpackage.json
File metadata and controls
67 lines (67 loc) · 1.98 KB
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
{
"name": "@swiss-ui/angular",
"version": "0.1.0",
"description": "Angular components for Swiss UI design system",
"license": "AGPL-3.0-only",
"author": "AnmiTaliDev <anmitalidev@nuros.org>",
"scripts": {
"build": "ng build swiss-ui",
"test": "jest",
"test:watch": "jest --watch",
"test:coverage": "jest --coverage",
"lint": "ng lint"
},
"peerDependencies": {
"@angular/animations": ">=17.0.0",
"@angular/common": ">=17.0.0",
"@angular/core": ">=17.0.0",
"@angular/forms": ">=17.0.0",
"@swiss-ui/icons": "*",
"@swiss-ui/tokens": "*",
"@swiss-ui/utils": "*"
},
"devDependencies": {
"@angular-builders/jest": "^17.0.0",
"@angular-devkit/build-angular": "^17.0.0",
"@angular/cli": "^17.0.0",
"@angular/compiler": "^17.0.0",
"@angular/compiler-cli": "^17.0.0",
"@angular/platform-browser": "^17.0.0",
"@angular/platform-browser-dynamic": "^17.0.0",
"@testing-library/angular": "^16.0.0",
"@testing-library/user-event": "^14.0.0",
"@types/jest": "^29.0.0",
"jest": "^29.0.0",
"jest-environment-jsdom": "^29.0.0",
"ng-packagr": "^17.0.0",
"ts-jest": "^29.0.0",
"typescript": "^5.2.0",
"zone.js": "^0.14.0"
},
"jest": {
"preset": "jest-preset-angular",
"setupFilesAfterFramework": [
"<rootDir>/setup-jest.ts"
],
"testEnvironment": "jsdom",
"transform": {
"^.+\\.(ts|js|mjs|html|svg)$": [
"jest-preset-angular",
{
"tsconfig": "<rootDir>/tsconfig.spec.json",
"stringifyContentPathRegex": "\\.(html|svg)$"
}
]
},
"moduleNameMapper": {
"@swiss-ui/tokens": "<rootDir>/__mocks__/@swiss-ui/tokens.ts",
"@swiss-ui/utils": "<rootDir>/__mocks__/@swiss-ui/utils.ts",
"@swiss-ui/icons": "<rootDir>/__mocks__/@swiss-ui/icons.ts"
},
"collectCoverageFrom": [
"projects/swiss-ui/src/**/*.ts",
"!projects/swiss-ui/src/**/*.spec.ts",
"!projects/swiss-ui/src/public-api.ts"
]
}
}