1
0
Fork 0

improve running of tests

This commit is contained in:
Lukas Winkler 2017-09-09 19:13:15 +02:00
parent 68b134e666
commit f68b6b3f99
3 changed files with 5417 additions and 7 deletions

View file

@ -2,9 +2,7 @@ language: node_js
node_js: node_js:
- "node" - "node"
before_script:
- npm install -g jshint
- npm install -g web-ext
script: script:
- jshint js/ - npm run jshint
- web-ext lint --warnings-as-errors --ignore-files "libs/*" "docs/" "**/*.sh" - npm run webext_lint
- npm run htmllint

5403
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -7,10 +7,19 @@
"ace-builds": "^1.2.8", "ace-builds": "^1.2.8",
"purecss": "^1.0.0" "purecss": "^1.0.0"
}, },
"devDependencies": {}, "devDependencies": {
"htmllint-cli": "0.0.6",
"jshint": "^2.9.5",
"npm-run-all": "^4.1.1",
"web-ext": "^2.0.0"
},
"scripts": { "scripts": {
"copy": "bash copy.sh", "copy": "bash copy.sh",
"build": "web-ext build --ignore-files '**/*.sh' 'docs/'" "build": "web-ext build --ignore-files '**/*.sh' 'docs/'",
"webext_lint": "web-ext lint --warnings-as-errors --ignore-files 'libs/*' 'docs/' '**/*.sh'",
"jshint": "jshint js/",
"htmllint": "htmllint popup.html popup.html",
"all": "npm-run-all copy --parallel webext_lint jshint htmllint --sequential build"
}, },
"repository": { "repository": {
"type": "git", "type": "git",