aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/package.json
diff options
context:
space:
mode:
Diffstat (limited to 'client/package.json')
-rw-r--r--client/package.json26
1 files changed, 21 insertions, 5 deletions
diff --git a/client/package.json b/client/package.json
index 12da38175..8426216bb 100644
--- a/client/package.json
+++ b/client/package.json
@@ -21,7 +21,7 @@
21 "webpack-bundle-analyzer": "webpack-bundle-analyzer", 21 "webpack-bundle-analyzer": "webpack-bundle-analyzer",
22 "webdriver-manager": "webdriver-manager", 22 "webdriver-manager": "webdriver-manager",
23 "ngx-extractor": "ngx-extractor", 23 "ngx-extractor": "ngx-extractor",
24 "test": "jest" 24 "test": "jest --no-cache"
25 }, 25 },
26 "license": "GPLv3", 26 "license": "GPLv3",
27 "typings": "*.d.ts", 27 "typings": "*.d.ts",
@@ -31,13 +31,23 @@
31 "simple-get": "^2.8.1" 31 "simple-get": "^2.8.1"
32 }, 32 },
33 "jest": { 33 "jest": {
34 "globals": {
35 "ts-jest": {
36 "tsConfigFile": "<rootDir>/src/tsconfig.spec.json"
37 },
38 "__TRANSFORM_HTML__": true
39 },
34 "transform": { 40 "transform": {
35 "^.+\\.tsx?$": "ts-jest" 41 "^.+\\.(ts|js|html)$": "<rootDir>/node_modules/jest-preset-angular/preprocessor.js"
36 }, 42 },
37 "moduleNameMapper": { 43 "moduleNameMapper": {
38 "^@app/(.*)": "<rootDir>/src/app/$1" 44 "^@app/(.*)": "<rootDir>/src/app/$1",
45 "environments/(.*)": "<rootDir>/src/environments/$1"
39 }, 46 },
40 "testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$", 47 "testMatch": [
48 "**/__tests__/**/*.+(ts|js)?(x)",
49 "**/+(*.)+(spec|test).+(ts|js)?(x)"
50 ],
41 "moduleFileExtensions": [ 51 "moduleFileExtensions": [
42 "ts", 52 "ts",
43 "tsx", 53 "tsx",
@@ -45,7 +55,12 @@
45 "jsx", 55 "jsx",
46 "json", 56 "json",
47 "node" 57 "node"
48 ] 58 ],
59 "transformIgnorePatterns": [
60 "<rootDir>/node_modules/(?!lodash-es/)"
61 ],
62 "preset": "jest-preset-angular",
63 "setupTestFrameworkScriptFile": "<rootDir>/src/setupJest.ts"
49 }, 64 },
50 "devDependencies": { 65 "devDependencies": {
51 "@angular-devkit/build-angular": "^0.7.5", 66 "@angular-devkit/build-angular": "^0.7.5",
@@ -99,6 +114,7 @@
99 "jasmine-core": "^3.1.0", 114 "jasmine-core": "^3.1.0",
100 "jasmine-spec-reporter": "^4.2.1", 115 "jasmine-spec-reporter": "^4.2.1",
101 "jest": "^23.5.0", 116 "jest": "^23.5.0",
117 "jest-preset-angular": "^6.0.0",
102 "jschannel": "^1.0.2", 118 "jschannel": "^1.0.2",
103 "karma": "^3.0.0", 119 "karma": "^3.0.0",
104 "karma-chrome-launcher": "^2.2.0", 120 "karma-chrome-launcher": "^2.2.0",