From a5aee4cc8388d6afde63bec26bd0b3b6ab0b2de7 Mon Sep 17 00:00:00 2001 From: silverwind Date: Wed, 22 May 2019 23:46:05 +0200 Subject: [PATCH] enable travis --- .travis.yml | 3 +++ package.json | 3 +-- 2 files changed, 4 insertions(+), 2 deletions(-) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..d6b8187 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,3 @@ +language: node_js +node_js: + - node diff --git a/package.json b/package.json index 61af95b..34bd880 100644 --- a/package.json +++ b/package.json @@ -20,13 +20,12 @@ "authors": "bash tools/authors", "clean": "npm run perfectionist && node tools/fix-perfectionist.js", "eslint": "eslint --quiet --color tools/*.js", - "lint": "npm run eslint && npm run stylelint", "patch": "npx ver -p patch wikipedia-dark.user.css", "minor": "npx ver -p minor wikipedia-dark.user.css", "major": "npx ver -p major wikipedia-dark.user.css", "perfectionist": "npx perfectionist wikipedia-dark.user.css wikipedia-dark.user.css --indentSize 2 --maxAtRuleLength 250", "stylelint": "npx stylelint --silent --color -- wikipedia-dark.user.css", "test": "npm run eslint && npm run stylelint", - "update": "npx updates -cu && npm install" + "update": "npx updates -cu && rm -rf node_modules && npm install" } }