@ajhenry/stack
Version:
A CLI to bootstrap dev environments lightning fast ⚡
22 lines (18 loc) • 483 B
JavaScript
;
// Default stack files
Object.defineProperty(exports, "__esModule", { value: true });
exports.npmStart = (project, useYarn) => {
const tool = useYarn ? "yarn" : "npm";
return `
name: Common npm start stack
version: 0.1
requires:
- ${tool}
- git
start:
- ${tool} start
install:
- git clone https://github.com/${project}.git .
- ${tool} ${tool === "npm" ? "i" : ""}
`;
};