-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
108 lines (108 loc) · 2.46 KB
/
package.json
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
{
"$schema": "https://json.schemastore.org/package.json",
"name": "@freezystem/mjml-bar-chart",
"repository": {
"type": "git",
"url": "https://github.com/Freezystem/mjml-bar-chart.git"
},
"version": "1.2.4",
"description": "A simple MJML component to make static bar charts",
"keywords": [
"mjml",
"chart",
"charts",
"bar",
"bars",
"email"
],
"type": "module",
"main": "./build/umd/index.js",
"module": "./build/esm/index.js",
"types": "./build/types/index.d.ts",
"exports": {
"node": {
"require": "./build/umd/index.js",
"import": "./build/esm/index.js"
},
"types": "./build/types/index.d.ts",
"require": "./build/umd/index.js",
"import": "./build/esm/index.js",
"browser": "./build/umd/index.js",
"default": "./build/umd/index.js"
},
"files": [
"build/**/*",
"src/**/*"
],
"scripts": {
"watch": "tsc --watch",
"prebuild": "rm -rf build",
"build": "tsc -b tsconfig.json tsconfig.esm.json tsconfig.types.json",
"test": "jest",
"test:coverage": "jest --coverage",
"test:snap": "jest --updateSnapshot",
"deps": "npm-check -u",
"postdeps": "npm audit fix",
"preversion": "git reset && git switch main && git fetch -p && git pull",
"postversion": "npm run tag:push",
"tag:push": "git push && git push --tags",
"tag:delete": "git tag -d ${npm_config_tag} && git push origin :refs/tags/${npm_config_tag}",
"prettier": "prettier --check .",
"prettier:fix": "prettier --write ."
},
"author": "freezystem",
"homepage": "https://github.com/Freezystem/mjml-bar-chart",
"license": "MIT",
"devDependencies": {
"@types/jest": "^29.5.11",
"@types/mjml": "^4.7.4",
"@types/mjml-core": "^4.7.4",
"@types/mjml-validator": "^4.13.4",
"@types/node": "^20.10.4",
"jest": "^29.7.0",
"npm-check": "^6.0.1",
"prettier": "^3.1.0",
"ts-jest": "^29.1.1",
"typescript": "^5.3.3"
},
"dependencies": {
"mjml": "^4.14.1",
"mjml-core": "^4.14.1",
"mjml-validator": "^4.13.0"
},
"jest": {
"detectOpenHandles": true,
"verbose": true,
"coverageDirectory": "<rootDir>/coverage",
"coverageReporters": [
"text-summary",
"json-summary"
],
"coverageThreshold": {
"global": {
"branches": 90,
"functions": 100,
"lines": 100,
"statements": 100
}
},
"preset": "ts-jest",
"testEnvironment": "node",
"reporters": [
[
"github-actions",
{
"silent": false
}
],
"summary"
],
"moduleFileExtensions": [
"ts",
"js"
],
"testMatch": [
"**/*.spec.ts"
]
}
}