Add script to verify integrity of language packs (#203)

* Add script to verify integrity of language packs

* Update workflows

* It'd help if we ran the right test
This commit is contained in:
Matt (IPv4) Cowley
2020-12-21 15:22:07 +00:00
committed by GitHub
parent 91db6ee322
commit de86df7fe4
5 changed files with 455 additions and 13 deletions

View File

@@ -19,12 +19,13 @@
"dev:tool": "vue-cli-service serve src/nginxconfig/mount.js",
"analyze": "npm run build:tool -- --analyze",
"deploy:spaces:comment": "do-vue comment nginxconfig",
"test": "npm run test:eslint && npm run test:sass-lint",
"test": "npm run test:eslint && npm run test:sass-lint && npm run test:i18n-packs",
"test:fix": "npm run test:eslint:fix && npm run test:sass-lint:fix",
"test:eslint": "eslint 'src/**/*.{js,vue}'",
"test:eslint:fix": "npm run test:eslint -- --fix",
"test:sass-lint": "sass-lint 'src/**/*.scss' --verbose --no-exit --config .sasslintrc",
"test:sass-lint:fix": "sass-lint-auto-fix 'src/**/*.scss'"
"test:sass-lint:fix": "sass-lint-auto-fix 'src/**/*.scss'",
"test:i18n-packs": "node -r esm src/nginxconfig/i18n/verify.js"
},
"repository": {
"type": "git",
@@ -58,10 +59,12 @@
"devDependencies": {
"@vue/cli-service": "^4.5.9",
"babel-eslint": "^10.1.0",
"chalk": "^4.1.0",
"copyfiles": "^2.4.1",
"duplicate-package-checker-webpack-plugin": "^3.0.0",
"eslint": "^7.15.0",
"eslint-plugin-vue": "^7.3.0",
"esm": "^3.2.25",
"node-fetch": "^2.6.1",
"sass": "^1.30.0",
"sass-lint": "^1.13.1",