Skip to content
This repository has been archived by the owner on Jul 8, 2024. It is now read-only.

Commit

Permalink
fix(template): fix API package template SHELL-1602 #time 15m
Browse files Browse the repository at this point in the history
  • Loading branch information
KalleV committed Aug 2, 2018
1 parent 533747c commit 0d33c0b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
6 changes: 2 additions & 4 deletions cli/package.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import * as rename from 'gulp-rename'
import {PackageUpdate} from '../lib/package/update'
import {startCase} from 'lodash'

const _ = require('underscore.string'),
inquirer = require('inquirer');
const _ = require('underscore.string');
const inquirer = require('inquirer');

function padLeft(dateValue: number) {
return (dateValue < 10) ? '0' + dateValue : dateValue.toString();
Expand Down Expand Up @@ -65,8 +65,6 @@ module.exports = {
answers.appYear = year;

gulp.src([
`${__dirname}/../.eslintrc.json`,
`${__dirname}/../.eslintignore`,
`${__dirname}/../templates/common/**`,
`${__dirname}/../templates/${answers.projectType}-package/**`
])
Expand Down
8 changes: 4 additions & 4 deletions templates/api-package/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@
"url": "https://github.com/LabShare/<%= appNameSlug %>/issues"
},
"license": "MIT",
"packageDependencies": {
"services": "*"
},
"packageDependencies": [
"@labshare/services"
],
"dependencies": {
"@labshare/services": "https://github.com/LabShare/services"
"@labshare/services": "^3.0.0"
}
}

0 comments on commit 0d33c0b

Please sign in to comment.