@accordproject/template-engine 2.6.7 → 2.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +20 -5
- package/dist/index.js +92 -5
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +92 -5
- package/dist/index.mjs.map +1 -1
- package/package.json +138 -138
package/package.json
CHANGED
|
@@ -1,144 +1,144 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
2
|
+
"name": "@accordproject/template-engine",
|
|
3
|
+
"version": "2.7.0",
|
|
4
|
+
"description": "Generation of AgreementMark from TemplateMark + JSON Data",
|
|
5
|
+
"homepage": "https://github.com/accordproject",
|
|
6
|
+
"engines": {
|
|
7
|
+
"node": ">=20",
|
|
8
|
+
"npm": ">=6"
|
|
9
|
+
},
|
|
10
|
+
"main": "dist/index.js",
|
|
11
|
+
"types": "dist/index.d.ts",
|
|
12
|
+
"files": [
|
|
13
|
+
"dist"
|
|
14
|
+
],
|
|
15
|
+
"scripts": {
|
|
16
|
+
"clean": "rimraf dist",
|
|
17
|
+
"prebuild": "npm-run-all clean && npm run updateRuntimeDependencies",
|
|
18
|
+
"build": "rollup -c",
|
|
19
|
+
"tsc-template": "tsc --strict --target ESNext --moduleResolution node --esModuleInterop ./output/full/usercode.ts",
|
|
20
|
+
"minify": "terser ./output/full/usercode.js --compress ecma=2020 --output ./output/full/usercode-min.js",
|
|
21
|
+
"pretest": "npm-run-all licchk lint build",
|
|
22
|
+
"lint": "eslint .",
|
|
23
|
+
"licchk": "license-check-and-add",
|
|
24
|
+
"test": "node --experimental-vm-modules node_modules/.bin/jest",
|
|
25
|
+
"coverage": "node --experimental-vm-modules node_modules/.bin/jest --coverage",
|
|
26
|
+
"test:watch": "jest --watchAll",
|
|
27
|
+
"updateRuntimeDependencies": "node ./scripts/updateRuntimeDependencies"
|
|
28
|
+
},
|
|
29
|
+
"repository": {
|
|
30
|
+
"type": "git",
|
|
31
|
+
"url": "git+https://github.com/accordproject/template-engine.git"
|
|
32
|
+
},
|
|
33
|
+
"keywords": [
|
|
34
|
+
"concerto",
|
|
35
|
+
"template",
|
|
36
|
+
"engine",
|
|
37
|
+
"templatemark"
|
|
38
|
+
],
|
|
39
|
+
"author": "accordproject.org",
|
|
40
|
+
"license": "Apache-2.0",
|
|
41
|
+
"dependencies": {
|
|
42
|
+
"@accordproject/cicero-core": "0.25.1-20250328175253",
|
|
43
|
+
"@accordproject/concerto-codegen": "3.30.6-20250327205534",
|
|
44
|
+
"@accordproject/concerto-core": "^3.20.4",
|
|
45
|
+
"@accordproject/concerto-util": "^3.20.4",
|
|
46
|
+
"@accordproject/markdown-common": "0.16.25",
|
|
47
|
+
"@accordproject/markdown-template": "0.16.25",
|
|
48
|
+
"@typescript/twoslash": "^3.2.9",
|
|
49
|
+
"browser-or-node": "^3.0.0",
|
|
50
|
+
"dayjs": "1.11.13",
|
|
51
|
+
"jsonpath": "^1.1.1",
|
|
52
|
+
"tar": "^7.4.3",
|
|
53
|
+
"to-words": "^4.4.0",
|
|
54
|
+
"traverse": "^0.6.11",
|
|
55
|
+
"typescript": "^5.8.2"
|
|
56
|
+
},
|
|
57
|
+
"devDependencies": {
|
|
58
|
+
"@accordproject/markdown-html": "0.16.25",
|
|
59
|
+
"@eslint/eslintrc": "^3.3.1",
|
|
60
|
+
"@eslint/js": "^9.23.0",
|
|
61
|
+
"@types/jest": "^29.5.14",
|
|
62
|
+
"@types/jsonpath": "^0.2.4",
|
|
63
|
+
"@types/semver": "7.7.0",
|
|
64
|
+
"@types/tar": "^6.1.13",
|
|
65
|
+
"@types/traverse": "^0.6.37",
|
|
66
|
+
"@typescript-eslint/eslint-plugin": "^8.28.0",
|
|
67
|
+
"@typescript-eslint/parser": "^8.28.0",
|
|
68
|
+
"esbuild": "^0.25.1",
|
|
69
|
+
"eslint": "^9.23.0",
|
|
70
|
+
"globals": "^16.0.0",
|
|
71
|
+
"jest": "^29.7.0",
|
|
72
|
+
"license-check-and-add": "2.3.6",
|
|
73
|
+
"mkdirp": "^3.0.1",
|
|
74
|
+
"node-fetch": "^3.3.2",
|
|
75
|
+
"npm-run-all": "4.1.5",
|
|
76
|
+
"rimraf": "6.0.1",
|
|
77
|
+
"rollup": "^4.37.0",
|
|
78
|
+
"rollup-plugin-dts": "^6.2.1",
|
|
79
|
+
"rollup-plugin-esbuild": "^6.2.1",
|
|
80
|
+
"terser": "^5.39.0",
|
|
81
|
+
"ts-jest": "^29.3.0",
|
|
82
|
+
"ts-node": "^10.9.2",
|
|
83
|
+
"typescript-eslint": "^8.28.0"
|
|
84
|
+
},
|
|
85
|
+
"license-check-and-add-config": {
|
|
86
|
+
"folder": "./src",
|
|
87
|
+
"license": "HEADER",
|
|
88
|
+
"exact_paths_method": "EXCLUDE",
|
|
89
|
+
"exact_paths": [
|
|
90
|
+
"coverage",
|
|
91
|
+
"index.d.ts",
|
|
92
|
+
"LICENSE",
|
|
93
|
+
"node_modules",
|
|
94
|
+
".nyc-output",
|
|
95
|
+
"out",
|
|
96
|
+
".tern-project",
|
|
97
|
+
"./mytemplate",
|
|
98
|
+
"./model-gen",
|
|
99
|
+
"./slc/model-gen",
|
|
100
|
+
"output"
|
|
14
101
|
],
|
|
15
|
-
"
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
"pretest": "npm-run-all licchk lint build",
|
|
22
|
-
"lint": "eslint .",
|
|
23
|
-
"licchk": "license-check-and-add",
|
|
24
|
-
"test": "node --experimental-vm-modules node_modules/.bin/jest",
|
|
25
|
-
"coverage": "jest --coverage",
|
|
26
|
-
"test:watch": "jest --watchAll",
|
|
27
|
-
"updateRuntimeDependencies": "node ./scripts/updateRuntimeDependencies"
|
|
28
|
-
},
|
|
29
|
-
"repository": {
|
|
30
|
-
"type": "git",
|
|
31
|
-
"url": "git+https://github.com/accordproject/template-engine.git"
|
|
32
|
-
},
|
|
33
|
-
"keywords": [
|
|
34
|
-
"concerto",
|
|
35
|
-
"template",
|
|
36
|
-
"engine",
|
|
37
|
-
"templatemark"
|
|
102
|
+
"file_type_method": "EXCLUDE",
|
|
103
|
+
"file_types": [
|
|
104
|
+
".yml",
|
|
105
|
+
".yaml",
|
|
106
|
+
".zip",
|
|
107
|
+
".tgz"
|
|
38
108
|
],
|
|
39
|
-
"
|
|
40
|
-
"
|
|
41
|
-
|
|
42
|
-
"
|
|
43
|
-
"
|
|
44
|
-
"
|
|
45
|
-
|
|
46
|
-
"@accordproject/markdown-common": "0.16.25",
|
|
47
|
-
"@accordproject/markdown-template": "0.16.25",
|
|
48
|
-
"@typescript/twoslash": "^3.2.9",
|
|
49
|
-
"browser-or-node": "^3.0.0",
|
|
50
|
-
"dayjs": "1.11.13",
|
|
51
|
-
"jsonpath": "^1.1.1",
|
|
52
|
-
"tar": "^7.4.3",
|
|
53
|
-
"to-words": "^4.4.0",
|
|
54
|
-
"traverse": "^0.6.11",
|
|
55
|
-
"typescript": "^5.8.2"
|
|
56
|
-
},
|
|
57
|
-
"devDependencies": {
|
|
58
|
-
"@accordproject/markdown-html": "0.16.25",
|
|
59
|
-
"@eslint/eslintrc": "^3.3.1",
|
|
60
|
-
"@eslint/js": "^9.23.0",
|
|
61
|
-
"@types/jest": "^29.5.14",
|
|
62
|
-
"@types/jsonpath": "^0.2.4",
|
|
63
|
-
"@types/semver": "7.7.0",
|
|
64
|
-
"@types/tar": "^6.1.13",
|
|
65
|
-
"@types/traverse": "^0.6.37",
|
|
66
|
-
"@typescript-eslint/eslint-plugin": "^8.28.0",
|
|
67
|
-
"@typescript-eslint/parser": "^8.28.0",
|
|
68
|
-
"esbuild": "^0.25.1",
|
|
69
|
-
"eslint": "^9.23.0",
|
|
70
|
-
"globals": "^16.0.0",
|
|
71
|
-
"jest": "^29.7.0",
|
|
72
|
-
"license-check-and-add": "2.3.6",
|
|
73
|
-
"mkdirp": "^3.0.1",
|
|
74
|
-
"node-fetch": "^3.3.2",
|
|
75
|
-
"npm-run-all": "4.1.5",
|
|
76
|
-
"rimraf": "6.0.1",
|
|
77
|
-
"rollup": "^4.37.0",
|
|
78
|
-
"rollup-plugin-dts": "^6.2.1",
|
|
79
|
-
"rollup-plugin-esbuild": "^6.2.1",
|
|
80
|
-
"terser": "^5.39.0",
|
|
81
|
-
"ts-jest": "^29.3.0",
|
|
82
|
-
"ts-node": "^10.9.2",
|
|
83
|
-
"typescript-eslint": "^8.28.0"
|
|
84
|
-
},
|
|
85
|
-
"license-check-and-add-config": {
|
|
86
|
-
"folder": "./src",
|
|
87
|
-
"license": "HEADER",
|
|
88
|
-
"exact_paths_method": "EXCLUDE",
|
|
89
|
-
"exact_paths": [
|
|
90
|
-
"coverage",
|
|
91
|
-
"index.d.ts",
|
|
92
|
-
"LICENSE",
|
|
93
|
-
"node_modules",
|
|
94
|
-
".nyc-output",
|
|
95
|
-
"out",
|
|
96
|
-
".tern-project",
|
|
97
|
-
"./mytemplate",
|
|
98
|
-
"./model-gen",
|
|
99
|
-
"./slc/model-gen",
|
|
100
|
-
"output"
|
|
101
|
-
],
|
|
102
|
-
"file_type_method": "EXCLUDE",
|
|
103
|
-
"file_types": [
|
|
104
|
-
".yml",
|
|
105
|
-
".yaml",
|
|
106
|
-
".zip",
|
|
107
|
-
".tgz"
|
|
108
|
-
],
|
|
109
|
-
"insert_license": false,
|
|
110
|
-
"license_formats": {
|
|
111
|
-
"js|ts|njk|pegjs|cto|acl|qry": {
|
|
112
|
-
"prepend": "/*",
|
|
113
|
-
"append": " */",
|
|
114
|
-
"eachLine": {
|
|
115
|
-
"prepend": " * "
|
|
116
|
-
}
|
|
117
|
-
},
|
|
118
|
-
"npmrc|editorconfig|txt": {
|
|
119
|
-
"eachLine": {
|
|
120
|
-
"prepend": "# "
|
|
121
|
-
}
|
|
122
|
-
},
|
|
123
|
-
"md": {
|
|
124
|
-
"file": "./HEADER.md"
|
|
125
|
-
}
|
|
109
|
+
"insert_license": false,
|
|
110
|
+
"license_formats": {
|
|
111
|
+
"js|ts|njk|pegjs|cto|acl|qry": {
|
|
112
|
+
"prepend": "/*",
|
|
113
|
+
"append": " */",
|
|
114
|
+
"eachLine": {
|
|
115
|
+
"prepend": " * "
|
|
126
116
|
}
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
"
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
"collectCoverage": false,
|
|
137
|
-
"collectCoverageFrom": [
|
|
138
|
-
"src/**/*.ts"
|
|
139
|
-
]
|
|
140
|
-
},
|
|
141
|
-
"optionalDependencies": {
|
|
142
|
-
"@rollup/rollup-linux-x64-gnu": "^4.38.0"
|
|
117
|
+
},
|
|
118
|
+
"npmrc|editorconfig|txt": {
|
|
119
|
+
"eachLine": {
|
|
120
|
+
"prepend": "# "
|
|
121
|
+
}
|
|
122
|
+
},
|
|
123
|
+
"md": {
|
|
124
|
+
"file": "./HEADER.md"
|
|
125
|
+
}
|
|
143
126
|
}
|
|
127
|
+
},
|
|
128
|
+
"jest": {
|
|
129
|
+
"preset": "ts-jest",
|
|
130
|
+
"testEnvironment": "node",
|
|
131
|
+
"testPathIgnorePatterns": [
|
|
132
|
+
"<rootDir>/dist/",
|
|
133
|
+
"/node_modules/",
|
|
134
|
+
"/scripts"
|
|
135
|
+
],
|
|
136
|
+
"collectCoverage": false,
|
|
137
|
+
"collectCoverageFrom": [
|
|
138
|
+
"src/**/*.ts"
|
|
139
|
+
]
|
|
140
|
+
},
|
|
141
|
+
"optionalDependencies": {
|
|
142
|
+
"@rollup/rollup-linux-x64-gnu": "^4.38.0"
|
|
143
|
+
}
|
|
144
144
|
}
|