Skip to content

Commit

Permalink
remove hack and use jsreport git dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
pofider committed Sep 3, 2018
1 parent b1373e6 commit 0fe8b0d
Show file tree
Hide file tree
Showing 4 changed files with 49 additions and 148 deletions.
188 changes: 48 additions & 140 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@
"connect-ensure-login": "0.1.1",
"eslint-config-standard-react": "7.0.2",
"ip": "1.1.5",
"jsreport": "2.2.0",
"jsreport-core": "2.2.0",
"jsreport": "jsreport/jsreport",
"jsreport-ejs": "2.0.0",
"jsreport-electron-pdf": "3.0.0",
"jsreport-fop-pdf": "2.0.0",
Expand Down
3 changes: 0 additions & 3 deletions server.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
const winston = require('winston')
require('winston-loggly')

// just temporary hack until we release full jsreport
require('rimraf').sync('node_modules/jsreport/node_modules/jsreport-core')

if (!process.env.ip && !process.env.stack) {
console.log('Using local ip address and localdev stack')
process.env.ip = require('ip').address()
Expand Down
3 changes: 0 additions & 3 deletions test/test.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
const jsreport = require('jsreport')
const should = require('should')

// just temporary hack until we release full jsreport
require('rimraf').sync('node_modules/jsreport/node_modules/jsreport-core')

describe('playground', () => {
let reporter

Expand Down

0 comments on commit 0fe8b0d

Please sign in to comment.