Skip to content

Commit

Permalink
update scripts flow
Browse files Browse the repository at this point in the history
  • Loading branch information
bump44 committed Dec 13, 2018
1 parent 5b44e62 commit b0eb16d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,16 @@
"description": "RetailCRM API Client",
"main": "./dist/index.js",
"scripts": {
"prepublish": "npm run test && npm run build",
"lint": "eslint src --color",
"pretest": "npm run test:clean && npm run lint",
"test:clean": "rimraf ./coverage",
"test": "cross-env NODE_ENV=test jest --coverage",
"test:only": "cross-env NODE_ENV=test jest",
"test:watch": "cross-env NODE_ENV=test jest --watch",
"coveralls": "cat ./coverage/lcov.info | coveralls",
"build": "cross-env NODE_ENV=production babel ./src --out-dir ./dist",
"build:clean": "rimraf ./dist",
"build": "npm run build:clean && cross-env NODE_ENV=production babel ./src --out-dir ./dist",
"prettify": "prettier --write src/**/*.js"
},
"pre-commit": [
Expand Down

0 comments on commit b0eb16d

Please sign in to comment.