Skip to content

Commit

Permalink
Reference ./package.json for pkg build process.
Browse files Browse the repository at this point in the history
  • Loading branch information
sixteenmillimeter committed Oct 29, 2019
1 parent cb9dfe3 commit 81543f3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/v2f.ts
Expand Up @@ -9,7 +9,7 @@ const os = require('os')

const osTmp : string = os.tmpdir()
const TMP : string = path.join(osTmp, '/v2f/')
const pkg : any = require('package.json')
const pkg : any = require('./package.json')

class Dimensions{
h : number;
Expand Down Expand Up @@ -223,7 +223,7 @@ cmd.arguments('<input> <output>')
.option('-f, --film <gauge>', 'Choose film gauge: 16mm, super16, 35mm')
.option('-w, --width <inches>', 'Output page width, in inches. Default 8.5')
.option('-l, --length <inches>', 'Output page length, in inches. Default 11')
.option('-e, --executable <binary>', 'Alternate binary to use in place of avconv')
.option('-e, --executable <binary>', 'Alternate binary to use in place of avconv, ie ffmpeg')
.option('-v, --verbose', 'Run in verbose mode')
.option('-n, --negative', 'Invert color channels to create negative')
.parse(args)
Expand Down
4 changes: 2 additions & 2 deletions v2f.js
Expand Up @@ -7,7 +7,7 @@ const path = require('path');
const os = require('os');
const osTmp = os.tmpdir();
const TMP = path.join(osTmp, '/v2f/');
const pkg = require('package.json');
const pkg = require('./package.json');
class Dimensions {
constructor(filmStr, dpi) {
const IN = dpi / 25.4;
Expand Down Expand Up @@ -202,7 +202,7 @@ cmd.arguments('<input> <output>')
.option('-f, --film <gauge>', 'Choose film gauge: 16mm, super16, 35mm')
.option('-w, --width <inches>', 'Output page width, in inches. Default 8.5')
.option('-l, --length <inches>', 'Output page length, in inches. Default 11')
.option('-e, --executable <binary>', 'Alternate binary to use in place of avconv')
.option('-e, --executable <binary>', 'Alternate binary to use in place of avconv, ie ffmpeg')
.option('-v, --verbose', 'Run in verbose mode')
.option('-n, --negative', 'Invert color channels to create negative')
.parse(args);
Expand Down

0 comments on commit 81543f3

Please sign in to comment.