add compile script to typescript
This commit is contained in:
		| @@ -46,6 +46,8 @@ export default class Node implements Snippet { | ||||
|         lint: 'eslint . --ext .js,.jsx,.ts,.tsx,.vue,.mjs', | ||||
|         test: 'nyc ava' | ||||
|       }; | ||||
|       if (use_ts) | ||||
|         obj.scripts.compile = 'tsc'; | ||||
|       return obj; | ||||
|     }, path.join (folder, 'package.json')); | ||||
|   } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user