diff options
Diffstat (limited to 'client/package.json')
-rw-r--r-- | client/package.json | 23 |
1 files changed, 22 insertions, 1 deletions
diff --git a/client/package.json b/client/package.json index 26583faba..12da38175 100644 --- a/client/package.json +++ b/client/package.json | |||
@@ -20,7 +20,8 @@ | |||
20 | "postinstall": "npm rebuild node-sass", | 20 | "postinstall": "npm rebuild node-sass", |
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 | }, | 25 | }, |
25 | "license": "GPLv3", | 26 | "license": "GPLv3", |
26 | "typings": "*.d.ts", | 27 | "typings": "*.d.ts", |
@@ -29,6 +30,23 @@ | |||
29 | "webtorrent/create-torrent/junk": "^1", | 30 | "webtorrent/create-torrent/junk": "^1", |
30 | "simple-get": "^2.8.1" | 31 | "simple-get": "^2.8.1" |
31 | }, | 32 | }, |
33 | "jest": { | ||
34 | "transform": { | ||
35 | "^.+\\.tsx?$": "ts-jest" | ||
36 | }, | ||
37 | "moduleNameMapper": { | ||
38 | "^@app/(.*)": "<rootDir>/src/app/$1" | ||
39 | }, | ||
40 | "testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$", | ||
41 | "moduleFileExtensions": [ | ||
42 | "ts", | ||
43 | "tsx", | ||
44 | "js", | ||
45 | "jsx", | ||
46 | "json", | ||
47 | "node" | ||
48 | ] | ||
49 | }, | ||
32 | "devDependencies": { | 50 | "devDependencies": { |
33 | "@angular-devkit/build-angular": "^0.7.5", | 51 | "@angular-devkit/build-angular": "^0.7.5", |
34 | "@angular/animations": "~6.1.4", | 52 | "@angular/animations": "~6.1.4", |
@@ -55,6 +73,7 @@ | |||
55 | "@types/core-js": "^2.5.0", | 73 | "@types/core-js": "^2.5.0", |
56 | "@types/jasmine": "^2.8.7", | 74 | "@types/jasmine": "^2.8.7", |
57 | "@types/jasminewd2": "^2.0.3", | 75 | "@types/jasminewd2": "^2.0.3", |
76 | "@types/jest": "^23.3.1", | ||
58 | "@types/jschannel": "^1.0.0", | 77 | "@types/jschannel": "^1.0.0", |
59 | "@types/lodash-es": "^4.17.0", | 78 | "@types/lodash-es": "^4.17.0", |
60 | "@types/markdown-it": "^0.0.5", | 79 | "@types/markdown-it": "^0.0.5", |
@@ -79,6 +98,7 @@ | |||
79 | "https-browserify": "^1.0.0", | 98 | "https-browserify": "^1.0.0", |
80 | "jasmine-core": "^3.1.0", | 99 | "jasmine-core": "^3.1.0", |
81 | "jasmine-spec-reporter": "^4.2.1", | 100 | "jasmine-spec-reporter": "^4.2.1", |
101 | "jest": "^23.5.0", | ||
82 | "jschannel": "^1.0.2", | 102 | "jschannel": "^1.0.2", |
83 | "karma": "^3.0.0", | 103 | "karma": "^3.0.0", |
84 | "karma-chrome-launcher": "^2.2.0", | 104 | "karma-chrome-launcher": "^2.2.0", |
@@ -108,6 +128,7 @@ | |||
108 | "sass-loader": "^7.1.0", | 128 | "sass-loader": "^7.1.0", |
109 | "sass-resources-loader": "^1.2.1", | 129 | "sass-resources-loader": "^1.2.1", |
110 | "stream-http": "^2.8.3", | 130 | "stream-http": "^2.8.3", |
131 | "ts-jest": "^23.1.4", | ||
111 | "tslint": "^5.7.0", | 132 | "tslint": "^5.7.0", |
112 | "tslint-config-standard": "^7.0.0", | 133 | "tslint-config-standard": "^7.0.0", |
113 | "typescript": "2.9", | 134 | "typescript": "2.9", |