Skip to content

Commit

Permalink
🏗 Remove Makefile in favor of npm scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
desandro committed Oct 23, 2019
1 parent f91e46a commit d23ee65
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 18 deletions.
15 changes: 0 additions & 15 deletions Makefile

This file was deleted.

10 changes: 7 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,13 @@
"uglify-js": "^3.5.3"
},
"scripts": {
"preversion": "make lint",
"version": "make version",
"test": "make lint"
"bundle": "node tasks/bundle",
"dist": "npm run bundle && npm run uglify",
"lint": "eslint js/ demos/ tasks/",
"preversion": "npm run lint",
"version": "node tasks/version && npm run dist && git add -A dist js",
"test": "npm run lint",
"uglify": "uglifyjs dist/zdog.dist.js -o dist/zdog.dist.min.js --mangle --comments /^!/"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit d23ee65

Please sign in to comment.