This commit is contained in:
@ -34,7 +34,6 @@ const packages = {
|
||||
'@types/jasmine'
|
||||
],
|
||||
test_ts: [
|
||||
'jasmine-ts',
|
||||
'ts-node'
|
||||
]
|
||||
};
|
||||
@ -66,7 +65,7 @@ async function init_package (
|
||||
);
|
||||
|
||||
await modify_json ((obj: Record<string, unknown>) => {
|
||||
const scripts
|
||||
const scripts: Record<string, string>
|
||||
= {
|
||||
lint: standard_scripts.lint,
|
||||
test: standard_scripts.test.common,
|
||||
@ -76,7 +75,9 @@ async function init_package (
|
||||
|
||||
if (use_ts) {
|
||||
scripts.compile = standard_scripts.compile.ts;
|
||||
scripts.pretest = standard_scripts.test.ts_pre;
|
||||
scripts.test = standard_scripts.test.ts;
|
||||
scripts.posttest = standard_scripts.test.ts_post;
|
||||
files.push ('/dist/');
|
||||
}
|
||||
else {
|
||||
|
Reference in New Issue
Block a user