nl_tokens: Make a reduced version of the package . json file that is more appropriate for distribution .
pl_tokens: function main ( ) { return new Promise ( ( resolve ) => { fsx . readFile ( path . resolve ( __dirname , '../package.json' ) , 'utf8' , ( err , data ) => { if ( err ) { throw err ; } resolve ( data ) ; } ) ; } ) . then ( ( data ) => JSON . parse ( data ) ) . then ( ( packageData ) => { const { author , version , description , keywords , repository , license , bugs , homepage , peerDependencies , dependencies , } = packageData ; const minimalPackage = { name : '@boundlessgeo/sdk' , author , version , description , keywords , repository , license , bugs , homepage , peerDependencies , dependencies , } ; return <mask> Promise ( ( resolve ) => { const buildPath = path . resolve ( __dirname , '../dist/package.json' ) ; const data = JSON . stringify ( minimalPackage , null , 2 ) ; fsx . writeFile ( buildPath , data , ( err ) => { if ( err ) { throw ( err ) ; } process . stdout . write ( ` ${ buildPath } \n ` ) ; resolve ( ) ; } ) ; } ) ; } ) ; }