mirror of
https://github.com/CommunitySolidServer/CommunitySolidServer.git
synced 2024-10-03 14:55:10 +00:00
change: validate config in precommit and in CI
This commit is contained in:
parent
2c3ae4eded
commit
a1e9410365
@ -7,6 +7,7 @@ node_js:
|
||||
script:
|
||||
- npm run build
|
||||
- npm run lint
|
||||
- npm run validate
|
||||
- npm run test
|
||||
after_success:
|
||||
- npm run coveralls
|
||||
|
@ -24,11 +24,12 @@
|
||||
"prepare": "npm run build",
|
||||
"start": "node ./bin/server.js -p 3000",
|
||||
"test": "jest",
|
||||
"validate": "componentsjs-compile-config urn:solid-server:default -c config/config-default.json > /dev/null",
|
||||
"watch": "nodemon --watch \"src/**/*.js\" --watch \"bin/**/*.js\" --exec npm start"
|
||||
},
|
||||
"husky": {
|
||||
"hooks": {
|
||||
"pre-commit": "npm run build && npm run lint && npm run test"
|
||||
"pre-commit": "npm run build && npm run lint && npm run validate && npm run test"
|
||||
}
|
||||
},
|
||||
"files": [
|
||||
|
Loading…
x
Reference in New Issue
Block a user