-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
114 lines (114 loc) · 3.78 KB
/
package.json
File metadata and controls
114 lines (114 loc) · 3.78 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
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": "fabula-angular",
"description": "Fabula UI Angular library",
"version": "0.0.0",
"publishConfig": {
"access": "public"
},
"repository": {
"type": "git",
"url": "https://github.com/fabula-ui/angular.git"
},
"scripts": {
"ng": "ng",
"start": "start-storybook -p 8008",
"build": "ng build",
"lint": "ng lint",
"compile": "ng build fabula --prod",
"compile-and-publish": "npm run compile && cd dist/fabula && npm publish --access public",
"pack-files": "npm run compile && cd dist/fabula && npm pack .",
"test": "jest",
"test:ci": "jest --runInBand",
"test:watch": "jest --watch",
"jest:ui": "jest -c tests/ui/jest.config.js",
"jest:ui:update": "jest -c tests/ui/jest.config.js --updateSnapshot",
"test:ui": "PORT=8008 start-server-and-test storybook:ci http-get://localhost:8008 jest:ui",
"test:ui:update": "PORT=8008 start-server-and-test storybook:ci http-get://localhost:8008 jest:ui:update",
"storybook": "start-storybook -p 8008",
"storybook:ci": "start-storybook -p 8008 --ci"
},
"private": false,
"dependencies": {
"@angular/animations": "~11.0.4",
"@angular/common": "~11.0.4",
"@angular/compiler": "~11.0.4",
"@angular/core": "~11.0.4",
"@angular/forms": "~11.0.4",
"@angular/platform-browser": "~11.0.4",
"@angular/platform-browser-dynamic": "~11.0.4",
"@angular/router": "~11.0.4",
"@fabula/core": "^0.1",
"@storybook/angular": "^6.1.10",
"@types/jest": "^26.0.18",
"emotion": "^10.0.27",
"jest": "^26.6.3",
"jest-image-snapshot": "^4.2.0",
"jest-preset-angular": "^8.3.2",
"jest-puppeteer": "^4.4.0",
"puppeteer": "^5.5.0",
"rxjs": "~6.6.3",
"start-server-and-test": "^1.11.6",
"tslib": "^2.0.3",
"zone.js": "~0.10.3"
},
"devDependencies": {
"@angular-devkit/build-angular": "~0.1100.4",
"@angular/cli": "~11.0.4",
"@angular/compiler-cli": "~11.0.4",
"@types/jasmine": "~3.6.0",
"@types/node": "^14.14.11",
"codelyzer": "^6.0.0",
"jasmine-core": "~3.6.0",
"jasmine-spec-reporter": "~5.0.0",
"karma": "~5.1.0",
"karma-chrome-launcher": "~3.1.0",
"karma-coverage": "~2.0.3",
"karma-jasmine": "~4.0.0",
"karma-jasmine-html-reporter": "^1.5.0",
"ng-packagr": "^11.0.3",
"protractor": "~7.0.0",
"ts-node": "~8.3.0",
"tslint": "~6.1.3",
"typescript": "~4.0.5"
},
"jest": {
"preset": "jest-preset-angular",
"roots": [
"projects/fabula"
],
"transform": {
"\\.(eot)$": "<rootDir>/tests/unit/fontMock.js",
"\\.(svg)$": "<rootDir>/tests/unit/svgMock.js",
"^.+\\.(ts|js|html)$": "ts-jest",
"\\.(ttf)$": "<rootDir>/tests/unit/fontMock.js",
"\\.(woff)$": "<rootDir>/tests/unit/fontMock.js",
"\\.(woff2)$": "<rootDir>/tests/unit/fontMock.js"
},
"setupFilesAfterEnv": [
"<rootDir>/src/setup-jest.ts"
],
"moduleNameMapper": {
"@app/(.*)": "<rootDir>/src/app/$1",
"@assets/(.*)": "<rootDir>/src/assets/$1",
"@core/(.*)": "<rootDir>/src/app/core/$1",
"@env": "<rootDir>/src/environments/environment",
"@src/(.*)": "<rootDir>/src/src/$1",
"@state/(.*)": "<rootDir>/src/app/state/$1",
"^.+\\.svg$": "<rootDir>/tests/unit/svgMock.js",
"^.+\\.eot$": "<rootDir>/tests/unit/fontMock.js",
"^.+\\.ttf$": "<rootDir>/tests/unit/fontMock.js",
"^.+\\.woff$": "<rootDir>/tests/unit/fontMock.js",
"^.+\\.woff2$": "<rootDir>/tests/unit/fontMock.js"
},
"globals": {
"ts-jest": {
"tsConfig": "<rootDir>/tsconfig.spec.json",
"stringifyContentPathRegex": "\\.html$",
"astTransformers": [
"jest-preset-angular/build/InlineFilesTransformer",
"jest-preset-angular/build/StripStylesTransformer"
]
}
}
}
}