Skip to content

Commit

Permalink
Force build before publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
dolezel committed Jul 2, 2020
1 parent e12c38a commit fd1af44
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 6 deletions.
17 changes: 14 additions & 3 deletions package-lock.json

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

9 changes: 6 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,11 @@
},
"scripts": {
"babel": "babel *.js --out-dir dist --source-maps inline",
"build": "npm run gen-ver && npm run lint && rm -rf dist && npm run babel",
"gen-ver": "printf \"// generated code, please see package.json\nexport default {\n name: '%s',\n number: '%s'\n}\n\" ${npm_package_name} ${npm_package_version} > version.js",
"lint": "eslint *.js"
"lint": "eslint *.js",
"prebuild": "rimraf dist",
"build": "npm run gen-ver && npm run lint && rm -rf dist && npm run babel",
"prepare": "npm run build"
},
"bin": {
"bunny-migrate": "bin/bunny-migrate"
Expand All @@ -43,7 +45,8 @@
"eslint-plugin-import": "2.22.0",
"eslint-plugin-node": "11.1.0",
"eslint-plugin-promise": "4.2.1",
"eslint-plugin-standard": "4.0.1"
"eslint-plugin-standard": "4.0.1",
"rimraf": "3.0.2"
},
"dependencies": {
"amqplib": "^0.5.5",
Expand Down

0 comments on commit fd1af44

Please sign in to comment.