Skip to content

Commit 513df09

Browse files
committed
config; typescript angular fixes
1 parent ba75afd commit 513df09

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

configs/typescript-angularjs.json

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"defaults": {
33
"language": "typescript",
44
"supportsES6": true,
5+
"classPrefix": "",
56
"gitUserId": "mermade",
67
"gitRepoId": "change-me",
78
"releaseNote": "Initial commit",
@@ -14,13 +15,17 @@
1415
"licenseInfo": "licenseInfo.mustache"
1516
},
1617
"transformations": [
17-
{ "input": "api.module.mustache", "output": "api.module.ts" },
18-
{ "input": "api.mustache", "output": "api.ts" },
19-
{ "input": "apis.mustache", "output": "api/apis.ts" },
18+
{ "input": "apis.mustache", "output": "api/api.ts" },
2019
{ "input": "index.mustache", "output": "index.ts" },
21-
{ "input": "model.mustache", "output": "model.ts" },
2220
{ "input": "models.mustache", "output": "model/models.ts" },
2321
{ "input": "gitignore", "output": ".gitignore" },
24-
{ "input": "git_push.sh.mustache", "output": "git_push.sh" }
22+
{ "input": "git_push.sh.mustache", "output": "git_push.sh" },
23+
{ "input": "api.module.mustache", "output": "api/apiModule.ts" }
24+
],
25+
"perApi": [
26+
{ "input": "api.mustache", "output": "api/{{name}}Api.ts" }
27+
],
28+
"perModel": [
29+
{ "input": "model.mustache", "output": "model/{{#models}}{{#model}}{{name}}{{/model}}{{/models}}.ts" }
2530
]
2631
}

0 commit comments

Comments
 (0)