Remove rest of grunt calls

This commit is contained in:
rejas
2020-04-10 14:43:58 +02:00
parent f36df159e0
commit ab3015df6b
2 changed files with 5 additions and 7 deletions

View File

@@ -8,7 +8,6 @@ before_install:
- npm i -g npm - npm i -g npm
before_script: before_script:
- yarn danger ci - yarn danger ci
- npm install grunt-cli -g
- "export DISPLAY=:99.0" - "export DISPLAY=:99.0"
- "export ELECTRON_DISABLE_SANDBOX=1" - "export ELECTRON_DISABLE_SANDBOX=1"
- "sh -e /etc/init.d/xvfb start" - "sh -e /etc/init.d/xvfb start"

View File

@@ -12,11 +12,11 @@
"test": "NODE_ENV=test ./node_modules/mocha/bin/mocha tests --recursive", "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: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:e2e": "NODE_ENV=test ./node_modules/mocha/bin/mocha tests/e2e --recursive",
"test:lint": "grunt --env=test", "test:lint": "npm run test:js && npm run test:style",
"text:js": "eslint *.js js/**/*.js modules/default/**/*.js clientonly/*.js serveronly/*.js translations/*.js vendor/*.js tests/**/*.js config/* --config .eslintrc.json", "test:js": "eslint *.js js/**/*.js modules/default/**/*.js clientonly/*.js serveronly/*.js translations/*.js vendor/*.js tests/**/*.js config/* --config .eslintrc.json",
"test:style": "stylelint css/main.css modules/default/**/*.css --config .stylelintrc.json", "test:style": "stylelint css/main.css modules/default/**/*.css --config .stylelintrc.json",
"config:check": "node tests/configs/check_config.js", "config:check": "node tests/configs/check_config.js",
"lint": "grunt --env=lint", "lint": "npm run lint:js && npm run lint:json && npm run lint:markdown && npm run lint:style && npm run lint:yaml",
"lint:js": "eslint *.js js/**/*.js modules/default/**/*.js clientonly/*.js serveronly/*.js translations/*.js vendor/*.js tests/**/*.js config/* --config .eslintrc.json --fix", "lint:js": "eslint *.js js/**/*.js modules/default/**/*.js clientonly/*.js serveronly/*.js translations/*.js vendor/*.js tests/**/*.js config/* --config .eslintrc.json --fix",
"lint:json": "jsonlint -q package.json .eslintrc.json .markdownlintrc.json .stylelintrc.json modules/default/*/translations/*.json translations/*.json vendor/package.json", "lint:json": "jsonlint -q package.json .eslintrc.json .markdownlintrc.json .stylelintrc.json modules/default/*/translations/*.json translations/*.json vendor/package.json",
"lint:markdown": "markdownlint *.md modules/README.md modules/default/**/*.md --config .markdownlintrc.json", "lint:markdown": "markdownlint *.md modules/README.md modules/default/**/*.md --config .markdownlintrc.json",
@@ -57,9 +57,8 @@
"mocha-each": "^1.1.0", "mocha-each": "^1.1.0",
"mocha-logger": "^1.0.6", "mocha-logger": "^1.0.6",
"spectron": "^8.0.0", "spectron": "^8.0.0",
"stylelint": "latest", "stylelint": "^13.3.1",
"stylelint-config-standard": "latest", "stylelint-config-standard": "^20.0.0",
"time-grunt": "latest",
"yaml-lint": "^1.2.4" "yaml-lint": "^1.2.4"
}, },
"optionalDependencies": { "optionalDependencies": {