Simon Egersand
2018-02-09 298a004fd1bd163402c3aa2e370cc186d9afeecd
Make pre-commit hook more explicit
1 files modified
6 ■■■■■ changed files
package.json 6 ●●●●● patch | view | raw | blame | history
package.json
@@ -20,12 +20,13 @@
    "build:mac": "./node_modules/.bin/gulp",
    "build:win": "./node_modules/.bin/gulp.cmd",
    "dev": "./node_modules/.bin/webpack-dev-server --config example/webpack.config.js --devtool eval --progress --colors --hot --content-base example",
    "lint": "./node_modules/.bin/eslint src/ DateTime.js test/ && echo 'Linting OK!'",
    "lint": "./node_modules/.bin/eslint src/ DateTime.js test/ && echo 'Linting OK! ðŸ’ª'",
    "notify-pre-commit-hook": "echo '### Starting pre-commit hook ðŸ¦„'",
    "test": "./node_modules/.bin/jest",
    "test:typings": "./node_modules/.bin/tsc -p ./typings",
    "test:snapshot": "./node_modules/.bin/jest snapshot",
    "test:snapshot:update": "./node_modules/.bin/jest snapshot --updateSnapshot",
    "test:all": "npm run test:typings && npm run test",
    "test:all": "echo 'Running tests...' && npm run test:typings && npm run test && echo 'All tests passed! ðŸ¤˜'",
    "test:watch": "./node_modules/.bin/jest --watch"
  },
  "keywords": [
@@ -84,6 +85,7 @@
    "react-onclickoutside": "^6.5.0"
  },
  "pre-commit": [
    "notify-pre-commit-hook",
    "lint",
    "test:all"
  ]