-
Notifications
You must be signed in to change notification settings - Fork 386
Expand file tree
/
Copy pathpackage.json
More file actions
131 lines (131 loc) · 4.9 KB
/
package.json
File metadata and controls
131 lines (131 loc) · 4.9 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
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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
{
"name": "docxtemplater",
"version": "3.68.6",
"author": "Edgar Hipp",
"description": "Generate docx, pptx, and xlsx from templates (Word, Powerpoint and Excel documents), from Node.js, the Browser and the command line",
"contributors": [
{
"name": "Edgar Hipp"
}
],
"main": "js/docxtemplater.js",
"keywords": [
"docx",
"pptx",
"templates",
"template",
"templater",
"templating",
"report",
"xlsx",
"generation",
"generate",
"generator",
"microsoft office",
"microsoft word",
"microsoft powerpoint",
"microsoft excel",
"create",
"make",
"Office Open XML",
"creator"
],
"types": "./js/docxtemplater.d.ts",
"repository": {
"type": "git",
"url": "git+https://github.com/open-xml-templating/docxtemplater.git"
},
"dependencies": {
"@xmldom/xmldom": "^0.9.8"
},
"devDependencies": {
"@arethetypeswrong/cli": "^0.18.2",
"@babel/cli": "^7.28.3",
"@babel/core": "^7.28.3",
"@babel/eslint-parser": "^7.28.0",
"@babel/preset-env": "^7.28.3",
"@stryker-mutator/core": "^9.0.1",
"@stryker-mutator/mocha-runner": "^9.0.1",
"@stylistic/eslint-plugin-js": "^4.4.1",
"angular-expressions": "^1.5.1",
"babel-loader": "^10.0.0",
"chai": "^4.5.0",
"chalk": "^5.6.0",
"cross-env": "^10.0.0",
"diff": "^8.0.2",
"envify": "^4.1.0",
"es6-promise": "^4.2.8",
"eslint": "^9.34.0",
"eslint_d": "^14.3.0",
"eslint-formatter-unix": "^8.40.0",
"eslint-plugin-import": "^2.32.0",
"eslint-plugin-sort-class-members": "^1.21.0",
"eslint-plugin-xt": "file:.eslint-rules",
"finalhandler": "^2.1.0",
"globals": "^16.3.0",
"lodash": "^4.17.23",
"mkdirp": "^3.0.1",
"mocha": "^10.8.2",
"nyc": "^17.1.0",
"pizzip": "^3.2.0",
"playwright": "^1.55.0",
"prettier": "^3.6.2",
"rimraf": "^6.0.1",
"serve-static": "^2.2.0",
"ts-to-zod": "^3.15.0",
"tsd": "^0.33.0",
"updtr": "^4.0.0",
"webpack": "^5.101.3",
"webpack-cli": "^6.0.1",
"zod": "^4.1.5"
},
"license": "MIT",
"engines": {
"node": ">=0.10"
},
"scripts": {
"profile": "bash ./profile.bash",
"preversion": "bash ./preversion.bash",
"check-casing": "bash ./check-casing.bash",
"compile": "npm run convertto:es5",
"browserify:test": "cross-env FILE=test webpack",
"browserify:lib": "webpack",
"browserify:min": "cross-env MIN=true webpack",
"updtr": "updtr --exclude chai mocha",
"browserify": "npm run browserify:test && npm run browserify:lib && npm run browserify:min",
"convertto:es5": "rimraf js -rf && mkdirp js && npm run babel && cp es6/*.ts js",
"convertto:es5:watch": "npm run babel -- --watch",
"generate:zod": "ts-to-zod es6/docxtemplater.d.ts output-zod.ts && cat output-zod.ts && rm output-zod.ts",
"test:coverage": "nyc --reporter=html --reporter=text mocha -- es6/tests/index.js",
"prettier": "prettier --cache --list-different \"es6/**/!(filenames).js\" \"*.js\" \"*.mjs\" \"es6/*.ts\" \".eslint-rules/*.js\" README.md CHANGELOG.md",
"prettier:fix": "prettier --cache --write \"es6/**/!(filenames).js\" \"*.js\" \"*.mjs\" \"es6/*.ts\" \".eslint-rules/*.js\" README.md CHANGELOG.md",
"prettier:fix:silent": "npm run prettier:fix -- --log-level silent",
"lint": "eslint_d . --cache && bash ./check-casing.bash && npm run prettier && shfmt -l *.bash",
"lint:fix": "npm run prettier:fix && bash ./check-casing.bash && eslint_d . --fix --cache && shfmt -l -w *.bash",
"lint:fix:silent": "npm run prettier:fix:silent && bash ./check-casing.bash && eslint_d . --fix --cache && shfmt -l -w *.bash",
"test:chrome": "cross-env BROWSER=CHROME bash ./webdriver.bash",
"test:firefox": "cross-env BROWSER=FIREFOX bash ./webdriver.bash",
"test:browser": "bash ./webdriver.bash",
"babel": "babel es6 --out-dir js",
"mocha": "mocha --full-trace --check-leaks js/tests/index.js",
"test:es6": "mocha --full-trace --check-leaks es6/tests/index.js",
"test:es6:update-fixtures": "cross-env UPDATE=true mocha --full-trace --check-leaks es6/tests/index.js",
"test:es6:update-snapshots": "cross-env WRITE_SNAPSHOTS=true mocha --full-trace --check-leaks es6/tests/index.js",
"test:es6:fast": "cross-env FAST=true mocha --full-trace --check-leaks es6/tests/index.js",
"test:watch": "cross-env FAST=true mocha --watch --full-trace --check-leaks es6/tests/index.js",
"test:es6:slow": "cross-env FAST= mocha --full-trace --check-leaks es6/tests/index.js",
"test": "npm run convertto:es5 && npm run mocha",
"test:es5": "npm test",
"test:typings": "cp es6/*.ts js && cp es6/*.ts . && tsd .",
"test:mutations": "cross-env SPEED_TEST=no stryker run",
"memorytest": "npm run compile && node --max-old-space-size=8000 js/memory-test.js",
"verifypublishsize": "bash ./verifypublishsize.bash"
},
"tsd": {
"compilerOptions": {
"lib": [
"DOM"
]
}
}
}