-
Notifications
You must be signed in to change notification settings - Fork 146
/
package.json
101 lines (101 loc) · 2.86 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
{
"name": "docx-templates",
"version": "4.13.0",
"description": "Template-based docx report creation",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"type": "module",
"author": "Guillermo Grau Panea",
"license": "MIT",
"keywords": [
"docx",
"office",
"word",
"ms-word",
"report",
"template"
],
"homepage": "https://github.com/guigrpa/docx-templates#readme",
"bugs": {
"url": "https://github.com/guigrpa/docx-templates/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/guigrpa/docx-templates.git"
},
"scripts": {
"prepare": "yarn compile",
"compile": "rimraf ./lib && tsc && yarn rollup",
"rollup": "rollup -c",
"jest": "jest --watch --coverage",
"test": "yarn lint && yarn testCovFull",
"testCovFull": "yarn testCovPrepare && yarn testDev && yarn testCovReport",
"testCovPrepare": "rm -rf ./coverage .nyc_output .nyc_tmp && mkdir .nyc_tmp",
"testDev": "NODE_ENV=development jest --coverage && mv .nyc_output/coverage-final.json .nyc_tmp/coverage-dev.json && rm -rf .nyc_output",
"testCovReport": "cp -r .nyc_tmp .nyc_output && nyc report --reporter=html --reporter=lcov --reporter=text",
"lint": "eslint \"src/**/*.{js,jsx,ts,tsx}\"",
"lint-fix": "eslint --fix \"src/**/*.{js,jsx,ts,tsx}\""
},
"engines": {
"node": ">=6"
},
"dependencies": {
"jszip": "^3.10.1",
"sax": "1.3.0"
},
"devDependencies": {
"@rollup/plugin-commonjs": "^21.0.1",
"@rollup/plugin-node-resolve": "^13.1.3",
"@rollup/plugin-replace": "^3.0.1",
"@types/jest": "^29.5.0",
"@types/node": "^20",
"@types/qrcode": "1.5.0",
"@types/sax": "^1.2.7",
"@typescript-eslint/eslint-plugin": "^6.5.0",
"@typescript-eslint/parser": "^6.5.0",
"buffer": "^6.0.3",
"coveralls": "^3.0.13",
"esbuild": "^0.14.11",
"eslint": "^8.37.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-jest": "^27.2.1",
"eslint-plugin-prettier": "^4.2.1",
"events": "^3.3.0",
"jest": "^29.5.0",
"mockdate": "^3.0.2",
"nyc": "^15.0.1",
"prettier": "^2.8.7",
"qrcode": "1.5.1",
"rimraf": "^3.0.2",
"rollup": "^3.29.5",
"rollup-plugin-dts": "^4.1.0",
"rollup-plugin-esbuild": "^4.8.2",
"stream-browserify": "^3.0.0",
"ts-jest": "^29.1.0",
"typescript": "5.4.5",
"util": "^0.12.5",
"vm-browserify": "^1.1.2"
},
"jest": {
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
"testTimeout": 10000,
"testRegex": "src/.*__tests__/.*\\.(test|spec)\\.(ts|tsx)$",
"coverageDirectory": ".nyc_output",
"coverageReporters": [
"json",
"text",
"html"
],
"collectCoverageFrom": [
"src/**/*.ts",
"!src/debug.ts",
"!test/**",
"!**/node_modules/**",
"!**/__tests__/**",
"!**/__mocks__/**"
]
}
}