-
Notifications
You must be signed in to change notification settings - Fork 351
/
package.json
128 lines (128 loc) · 4.62 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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
{
"name": "docxtemplater",
"version": "3.54.0",
"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.5"
},
"devDependencies": {
"@arethetypeswrong/cli": "^0.15.4",
"@babel/cli": "^7.25.9",
"@babel/core": "^7.26.0",
"@babel/eslint-parser": "^7.25.9",
"@babel/plugin-proposal-object-rest-spread": "^7.20.7",
"@babel/preset-env": "^7.26.0",
"@stryker-mutator/core": "^8.6.0",
"@stryker-mutator/mocha-runner": "^8.6.0",
"angular-expressions": "^1.4.2",
"babel-loader": "^9.2.1",
"chai": "^4.5.0",
"chalk": "^5.3.0",
"cross-env": "^7.0.3",
"diff": "^7.0.0",
"envify": "^4.1.0",
"es6-promise": "^4.2.8",
"eslint": "^9.15.0",
"eslint_d": "^14.2.2",
"eslint-formatter-unix": "^8.40.0",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-sort-class-members": "^1.21.0",
"eslint-plugin-specific-sort": "file:.eslint-rules",
"finalhandler": "^1.3.1",
"globals": "^15.12.0",
"lodash": "^4.17.21",
"mkdirp": "^3.0.1",
"mocha": "^10.8.2",
"nyc": "^17.1.0",
"pizzip": "^3.1.7",
"playwright": "^1.49.0",
"prettier": "^3.4.1",
"rimraf": "^6.0.1",
"selenium-standalone": "^10.0.0",
"serve-static": "^1.15.0",
"stryker-cli": "^1.0.2",
"tsd": "^0.31.2",
"updtr": "^4.1.0",
"webpack": "^5.96.1",
"webpack-cli": "^5.1.4"
},
"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 webdriverio @wdio/cli",
"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",
"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",
"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 . --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": "node --max-old-space-size=8000 es6/memory-test.js",
"verifypublishsize": "bash ./verifypublishsize.bash"
},
"tsd": {
"compilerOptions": {
"lib": [
"DOM"
]
}
}
}