UNPKG

docxtemplater

Version:

Generate docx, pptx, and xlsx from templates (Word, Powerpoint and Excel documents), from Node.js, the Browser and the command line

128 lines (127 loc) 4.7 kB
{ "name": "docxtemplater", "version": "3.52.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.8.10" }, "devDependencies": { "@arethetypeswrong/cli": "^0.15.4", "@babel/cli": "^7.24.8", "@babel/core": "^7.25.2", "@babel/eslint-parser": "^7.25.1", "@babel/plugin-proposal-object-rest-spread": "^7.20.7", "@babel/preset-env": "^7.25.4", "@stryker-mutator/core": "^8.5.0", "@stryker-mutator/mocha-runner": "^8.5.0", "@wdio/cli": "8.12.2", "angular-expressions": "^1.4.0", "babel-loader": "^9.1.3", "chai": "^4.3.10", "chalk": "^5.3.0", "cross-env": "^7.0.3", "diff": "^5.2.0", "envify": "^4.1.0", "es6-promise": "^4.2.8", "eslint": "^8.57.0", "eslint_d": "^13.1.2", "eslint-plugin-import": "^2.29.1", "eslint-plugin-sort-class-members": "^1.20.0", "eslint-plugin-specific-sort": "file:.eslint-rules", "finalhandler": "^1.2.0", "lodash": "^4.17.21", "mkdirp": "^3.0.1", "mocha": "^10.7.3", "nyc": "^17.0.0", "pizzip": "^3.1.7", "prettier": "^3.3.3", "rimraf": "^6.0.1", "selenium-standalone": "^10.0.0", "serve-static": "^1.15.0", "stryker-cli": "^1.0.2", "tsd": "^0.31.1", "updtr": "^4.1.0", "webdriverio": "8.12.1", "webpack": "^5.94.0", "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" ] } } }