96 lines
3.1 KiB
JSON
96 lines
3.1 KiB
JSON
{
|
|
"name": "easy-template-x",
|
|
"version": "6.2.1",
|
|
"description": "Generate docx documents from templates, in Node or in the browser.",
|
|
"keywords": [
|
|
"docx",
|
|
"template",
|
|
"word",
|
|
"office",
|
|
"microsoft",
|
|
"ms"
|
|
],
|
|
"author": "Alon Bar",
|
|
"license": "MIT",
|
|
"homepage": "https://github.com/alonrbar/easy-template-x",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/alonrbar/easy-template-x.git"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/alonrbar/easy-template-x/issues"
|
|
},
|
|
"type": "module",
|
|
"main": "dist/cjs/easy-template-x.cjs",
|
|
"module": "dist/es/easy-template-x.mjs",
|
|
"exports": {
|
|
"require": {
|
|
"types": "./dist/types/index.d.ts",
|
|
"default": "./dist/cjs/easy-template-x.cjs"
|
|
},
|
|
"import": {
|
|
"types": "./dist/types/index.d.ts",
|
|
"default": "./dist/es/easy-template-x.mjs"
|
|
}
|
|
},
|
|
"typings": "dist/types/index.d.ts",
|
|
"files": [
|
|
"dist",
|
|
"src"
|
|
],
|
|
"scripts": {
|
|
"clean": "rimraf .tmp dist test-reports && yarn clean-dist-verify",
|
|
"typecheck": "tsc --noEmit",
|
|
"lint": "eslint \"./{src,test}/**/!(*.d).ts\"",
|
|
"test": "jest --verbose",
|
|
"quality": "yarn typecheck && yarn lint && yarn test",
|
|
"build-src": "rollup -c",
|
|
"build-types": "tsc -p tsconfig.types.json --emitDeclarationOnly",
|
|
"build": "yarn build-types && yarn build-src",
|
|
"release": "yarn clean && yarn quality && yarn build && yarn dist-verify",
|
|
"dist-verify": "yarn dist-verify-cjs && yarn dist-verify-es",
|
|
"dist-verify-cjs": "cd dist-verify/cjs && npm install && node main.js",
|
|
"dist-verify-es": "cd dist-verify/es && npm install && node main.js",
|
|
"clean-dist-verify": "yarn clean-dist-verify-cjs && yarn clean-dist-verify-es",
|
|
"clean-dist-verify-cjs": "rimraf dist-verify/cjs/node_modules dist-verify/cjs/package-lock.json",
|
|
"clean-dist-verify-es": "rimraf dist-verify/es/node_modules dist-verify/es/package-lock.json"
|
|
},
|
|
"packageManager": "yarn@4.3.1",
|
|
"dependencies": {
|
|
"@xmldom/xmldom": "0.8.10",
|
|
"json5": "2.2.3",
|
|
"jszip": "3.10.1",
|
|
"lodash.get": "4.4.2"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "7.26.10",
|
|
"@babel/preset-env": "7.26.9",
|
|
"@babel/preset-typescript": "7.26.0",
|
|
"@eslint/js": "9.22.0",
|
|
"@rollup/plugin-alias": "5.1.1",
|
|
"@rollup/plugin-replace": "6.0.2",
|
|
"@types/babel__preset-env": "7.10.0",
|
|
"@types/eslint__js": "8.42.3",
|
|
"@types/jest": "29.5.14",
|
|
"@types/jszip": "3.4.1",
|
|
"@types/node": "22.13.10",
|
|
"@types/ts-nameof": "4.2.5",
|
|
"babel-jest": "29.7.0",
|
|
"babel-loader": "10.0.0",
|
|
"babel-plugin-ts-nameof": "4.2.1",
|
|
"eslint": "9.22.0",
|
|
"globals": "16.0.0",
|
|
"jest": "29.7.0",
|
|
"jest-html-reporters": "3.1.7",
|
|
"jest-junit": "16.0.0",
|
|
"lorem-ipsum": "2.0.8",
|
|
"rimraf": "6.0.1",
|
|
"rollup": "4.35.0",
|
|
"rollup-plugin-auto-external": "2.0.0",
|
|
"rollup-plugin-babel": "4.4.0",
|
|
"rollup-plugin-node-resolve": "5.2.0",
|
|
"typescript": "5.8.2",
|
|
"typescript-eslint": "8.26.1"
|
|
}
|
|
}
|