mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-07-04 22:58:03 +00:00
Remove husky again, move lint as test to travis
This commit is contained in:
parent
ca2571b438
commit
c3d57eef4f
@ -14,9 +14,9 @@ before_script:
|
||||
- "sh -e /etc/init.d/xvfb start"
|
||||
- sleep 5
|
||||
script:
|
||||
- npm run test:lint
|
||||
- npm run test:e2e
|
||||
- npm run test:unit
|
||||
- grunt
|
||||
after_script:
|
||||
- npm list
|
||||
cache:
|
||||
|
@ -12,6 +12,7 @@
|
||||
"test": "NODE_ENV=test ./node_modules/mocha/bin/mocha tests --recursive",
|
||||
"test:unit": "NODE_ENV=test ./node_modules/mocha/bin/mocha tests/unit --recursive",
|
||||
"test:e2e": "NODE_ENV=test ./node_modules/mocha/bin/mocha tests/e2e --recursive",
|
||||
"test:lint": "grunt",
|
||||
"config:check": "node tests/configs/check_config.js",
|
||||
"lint": "grunt"
|
||||
},
|
||||
@ -46,7 +47,6 @@
|
||||
"grunt-stylelint": "latest",
|
||||
"grunt-yamllint": "latest",
|
||||
"http-auth": "^3.2.3",
|
||||
"husky": "^4.2.3",
|
||||
"jsdom": "^11.6.2",
|
||||
"jshint": "^2.10.2",
|
||||
"mocha": "^7.0.0",
|
||||
@ -80,10 +80,5 @@
|
||||
},
|
||||
"_moduleAliases": {
|
||||
"node_helper": "js/node_helper.js"
|
||||
},
|
||||
"husky": {
|
||||
"hooks": {
|
||||
"pre-commit": "npm run lint"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user