forked from guigrpa/docx-templates
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
executable file
·89 lines (89 loc) · 2.48 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
{
"name": "docx-templates",
"version": "4.6.4",
"description": "Template-based docx report creation",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"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": {
"compile": "rimraf ./lib && tsc",
"prepack": "yarn compile",
"travis": "yarn compile && yarn test",
"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.5.0",
"sax": "1.2.4",
"timm": "^1.6.2"
},
"devDependencies": {
"@types/jest": "^26.0.0",
"@types/node": "^15.9.0",
"@types/qrcode": "^1.3.4",
"@types/sax": "^1.2.1",
"@typescript-eslint/eslint-plugin": "^4.1.1",
"@typescript-eslint/parser": "^4.1.1",
"coveralls": "^3.0.13",
"eslint": "^7.3.1",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-import": "^2.20.2",
"eslint-plugin-jest": "^24.0.1",
"eslint-plugin-prettier": "^3.1.2",
"jest": "^27.0.4",
"mockdate": "^3.0.2",
"nyc": "^15.0.1",
"oao": "^2.0.0",
"prettier": "^2.0.5",
"qrcode": "^1.4.4",
"rimraf": "^3.0.2",
"ts-jest": "^27.0.2",
"typescript": "^4.2.3"
},
"jest": {
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
"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__/**"
]
}
}