-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
62 lines (62 loc) · 1.6 KB
/
package.json
File metadata and controls
62 lines (62 loc) · 1.6 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
{
"name": "platemail",
"version": "0.0.4",
"description": "Flexible and simple email rendering in ReactJS",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"author": "Alex Dawkes",
"license": "MIT",
"scripts": {
"build": "tsc -p tsconfig.json",
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
"prettier:full": "prettier -c '**/*.ts' '**/*.tsx' '**/*.md'",
"prettier:fix": "prettier --write '**/*.ts' '**/*.tsx' '**/*.md'",
"test": "jest",
"test:watch": "jest --watch",
"test:cov": "jest --coverage"
},
"devDependencies": {
"@types/jest": "^25.2.1",
"jest": "^25.1.0",
"prettier": "^1.19.1",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"ts-jest": "^25.2.1",
"ts-node": "^8.6.2",
"typescript": "^3.8.3"
},
"jest": {
"globals": {
"ts-jest": {
"tsConfig": "tsconfig.json",
"isolatedModules": true
}
},
"moduleFileExtensions": [
"ts",
"tsx",
"js"
],
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
"testRegex": "(.*\\.spec\\.ts|src/tests/index\\.ts)$",
"moduleNameMapper": {
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/tests/fileMock.json",
"\\.(css|scss)$": "<rootDir>/tests/styleMock.json"
},
"testPathIgnorePatterns": [
"/node_modules/",
"\\.util\\.ts$"
],
"collectCoverageFrom": [
"src/**/*.{ts,tsx}"
]
},
"dependencies": {
"@types/he": "^1.1.1",
"@types/react": "^16.9.23",
"@types/react-dom": "^16.9.5",
"he": "^1.2.0"
}
}