UNPKG

lux-framework

Version:

Build scalable, Node.js-powered REST APIs with almost no code.

33 lines (30 loc) 721 B
// @flow import { version, devDependencies } from '../../../../package.json'; import template from '../../template'; const LUX_VERSION: string = version; const BABEL_PRESET_VERSION: string = devDependencies['babel-preset-lux']; /** * @private */ export default (name: string): string => template` { "name": "${name}", "version": "0.0.1", "description": "", "scripts": { "start": "lux serve", "test": "lux test" }, "author": "", "license": "MIT", "dependencies": { "babel-core": "6.17.0", "babel-preset-lux": "${BABEL_PRESET_VERSION}", "knex": "0.12.6", "lux-framework": "${LUX_VERSION}" }, "engines": { "node": ">= 6.0" } } `;