Skip to content

Commit 17320f3

Browse files
author
Daniel Weber
committed
Add(chore): Precommit
1 parent 5c38502 commit 17320f3

File tree

3 files changed

+133
-30
lines changed

3 files changed

+133
-30
lines changed

Diff for: .jshintignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
node_modules

Diff for: package-lock.json

+126-29
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: package.json

+6-1
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,14 @@
1212
"e2e": "node test/e2e/runner.js",
1313
"test": "npm run unit && npm run e2e",
1414
"lint": "eslint --ext .js,.vue src test/unit/specs test/e2e/specs",
15-
"build": "node build/build.js"
15+
"build": "node build/build.js",
16+
"validate": "npm ls"
1617
},
1718
"dependencies": {
1819
"axios": "^0.16.2",
1920
"material-components-vue": "^0.2.0",
2021
"material-components-web": "^0.26.0",
22+
"precommit-hook": "^3.0.0",
2123
"vue": "^2.5.13",
2224
"vue-router": "^3.0.1",
2325
"vuetify": "^0.17.5"
@@ -103,5 +105,8 @@
103105
"> 1%",
104106
"last 2 versions",
105107
"not ie <= 8"
108+
],
109+
"pre-commit": [
110+
"test"
106111
]
107112
}

0 commit comments

Comments
 (0)