forked from guigrpa/docx-templates
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
executable file
·102 lines (102 loc) · 2.91 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
{
"name": "docx-templates",
"version": "4.11.1",
"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": {
"prepare": "yarn compile",
"compile": "rimraf ./lib && tsc && yarn rollup",
"rollup": "rollup -c",
"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": {
"@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": "^18.15.11",
"@types/qrcode": "1.5.0",
"@types/sax": "^1.2.4",
"@typescript-eslint/eslint-plugin": "^5.57.1",
"@typescript-eslint/parser": "^5.57.1",
"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": "^2.64.0",
"rollup-plugin-dts": "^4.1.0",
"rollup-plugin-esbuild": "^4.8.2",
"stream-browserify": "^3.0.0",
"ts-jest": "^29.1.0",
"typescript": "^5.0.3",
"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__/**"
]
}
}