@boostercloud/cli
Version:
CLI of the Booster Framework, the next level of abstraction for cloud-native applications
56 lines (55 loc) • 1.87 kB
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.template = void 0;
// New projects use the same Booster version as the installed CLI
const VERSION = require('../../../package.json').version;
exports.template = `{
"name": "{{{projectName}}}",
"description": "{{{description}}}",
"version": "{{{version}}}",
"author": "{{{author}}}",
"dependencies": {
"tslib": "^2.4.0",
"@boostercloud/framework-core": "^${VERSION}",
"@boostercloud/framework-types": "^${VERSION}",
"@boostercloud/framework-common-helpers": "^${VERSION}",
"{{{providerPackageName}}}": "^${VERSION}"
},
"devDependencies": {
"@boostercloud/framework-provider-local": "^${VERSION}",
"@boostercloud/framework-provider-local-infrastructure": "^${VERSION}",
"@boostercloud/metadata-booster": "^${VERSION}",
"{{{providerPackageName}}}-infrastructure": "^${VERSION}",
"rimraf": "^5.0.0",
"@typescript-eslint/eslint-plugin": "4.22.1",
"@typescript-eslint/parser": "4.22.1",
"eslint": "7.26.0",
"eslint-config-prettier": "8.3.0",
"eslint-plugin-prettier": "3.4.0",
"mocha": "10.2.0",
"@types/mocha": "10.0.1",
"@types/jsonwebtoken": "9.0.1",
"nyc": "15.1.0",
"prettier": "2.3.0",
"typescript": "5.1.6",
"ts-node": "9.1.1",
"@types/node": "^20.17.17",
"ts-patch": "3.1.2",
"graphql": "^16.6.0"
},
"engines": {
"node": ">=20.0.0 <21.0.0"
},
"homepage": "{{{homepage}}}",
"license": "{{{license}}}",
"main": "dist/index.js",
"repository": "{{{repository}}}",
"scripts": {
"prepare": "ts-patch install -s",
"lint:check": "eslint --ext '.js,.ts' **/*.ts",
"lint:fix": "eslint --quiet --fix --ext '.js,.ts' **/*.ts",
"build": "tsc -b tsconfig.json",
"clean": "rimraf ./dist tsconfig.tsbuildinfo"
},
"types": "lib/index.d.ts"
}`;