Skip to content

Commit

Permalink
Use local uglify and eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
kewisch committed Apr 10, 2018
1 parent f3f641e commit 04f67a8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
# Portions Copyright (C) Philipp Kewisch, 2014-2015

minify:
(cd lib && uglifyjs -m -r 'exports,require' sepa.js > sepa.min.js)
(cd lib && ../node_modules/.bin/uglifyjs -m -r 'exports,require' sepa.js > sepa.min.js)
8 changes: 5 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"name": "sepa",
"description": "Create SEPA XML for business transactions",
"license": "MPL-2.0",
"main":"lib/sepa.js",
"main": "lib/sepa.js",
"version": "1.0.2",
"repository": {
"url": "https://github.com/kewisch/sepa.js"
Expand All @@ -15,13 +15,15 @@
"lint"
],
"scripts": {
"lint": "eslint ."
"lint": "./node_modules/.bin/eslint ."
},
"dependencies": {
"xmldom": "*"
},
"devDependencies": {
"pre-commit": "*"
"eslint": "^4.19.1",
"pre-commit": "*",
"uglify-js": "^3.3.20"
},
"optionalDependencies": {},
"engines": {
Expand Down

0 comments on commit 04f67a8

Please sign in to comment.