-
Notifications
You must be signed in to change notification settings - Fork 54
/
Copy pathpackage.json
94 lines (94 loc) · 2.94 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
{
"name": "easy-template-x",
"version": "4.1.3",
"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": "[email protected]",
"dependencies": {
"@xmldom/xmldom": "0.8.10",
"json5": "2.2.3",
"jszip": "3.10.1",
"lodash.get": "4.4.2"
},
"devDependencies": {
"@babel/core": "7.24.7",
"@babel/preset-env": "7.25.3",
"@babel/preset-typescript": "7.24.7",
"@eslint/js": "9.6.0",
"@rollup/plugin-replace": "5.0.7",
"@types/babel__preset-env": "7.9.7",
"@types/eslint__js": "8.42.3",
"@types/jest": "29.5.12",
"@types/jszip": "3.4.1",
"@types/node": "20.14.9",
"@types/ts-nameof": "4.2.5",
"babel-jest": "29.7.0",
"babel-loader": "9.1.3",
"babel-plugin-ts-nameof": "4.2.1",
"eslint": "9.6.0",
"globals": "15.8.0",
"jest": "29.7.0",
"jest-html-reporters": "3.1.7",
"jest-junit": "16.0.0",
"lorem-ipsum": "2.0.8",
"rimraf": "5.0.7",
"rollup": "4.18.0",
"rollup-plugin-auto-external": "2.0.0",
"rollup-plugin-babel": "4.4.0",
"rollup-plugin-node-resolve": "5.2.0",
"typescript": "5.7.2",
"typescript-eslint": "7.15.0"
}
}