diff --git a/.travis.yml b/.travis.yml index 5f6924ac1..bfd5cf0f2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,6 +7,7 @@ node_js: script: - npm run build - npm run lint + - npm run validate - npm run test after_success: - npm run coveralls diff --git a/package.json b/package.json index 2908b90fe..e92e66f52 100644 --- a/package.json +++ b/package.json @@ -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": [