2018-06-22 11:58:40 -05:00
|
|
|
import {PORT_SERVER_1} from "../../../src/lib/constants";
|
|
|
|
|
2018-06-22 18:03:25 -05:00
|
|
|
export const FILE_NAME = 'blahblah';
|
|
|
|
|
|
|
|
module.exports = function(name, version = '0.0.0', port = PORT_SERVER_1, domain= `http://localhost:${port}`,
|
|
|
|
fileName = 'blahblah', readme = 'this is a readme') {
|
2014-11-12 06:14:37 -05:00
|
|
|
return {
|
2018-06-22 18:03:25 -05:00
|
|
|
name,
|
|
|
|
version,
|
|
|
|
readme,
|
2017-04-19 14:15:28 -05:00
|
|
|
dist: {
|
|
|
|
shasum: 'fake',
|
2018-06-22 18:03:25 -05:00
|
|
|
tarball: `${domain}/${encodeURIComponent(name)}/-/${fileName}`,
|
2017-04-19 14:15:28 -05:00
|
|
|
},
|
|
|
|
};
|
|
|
|
};
|
2013-09-28 11:46:55 -05:00
|
|
|
|