nl_tokens: ts
pl_tokens: function insertTs ( name ) { const tsIndexPath = path . resolve ( __dirname , '../src/index.ts' ) ; const tsIndexFile = fs . readFileSync ( tsIndexPath , { encoding : 'utf-8' } ) ; const moduleExports = tsIndexFile . trim ( ) . <mask> ( '\n' ) ; moduleExports . push ( ` ${ name } ` ) ; sortByModulePath ( moduleExports ) ; fs . writeFileSync ( tsIndexPath , ` ${ moduleExports . join ( '\n' ) } \n ` ) ; }