Skip to content

Commit

Permalink
chore: fix retirejs related ci failures (#1235)
Browse files Browse the repository at this point in the history
  • Loading branch information
jeeyyy authored Nov 13, 2018
1 parent cf86ff5 commit 70805be
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 19 deletions.
17 changes: 2 additions & 15 deletions Gruntfile.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*eslint
complexity: ["error",12],
/*eslint
complexity: ["error",12],
max-statements: ["error", 35],
camelcase: ["error", {"properties": "never"}]
*/
Expand All @@ -16,7 +16,6 @@ module.exports = function(grunt) {
grunt.loadNpmTasks('grunt-eslint');
grunt.loadNpmTasks('grunt-contrib-uglify');
grunt.loadNpmTasks('grunt-contrib-watch');
grunt.loadNpmTasks('grunt-retire');
grunt.loadNpmTasks('grunt-mocha');
grunt.loadNpmTasks('grunt-parallel');
grunt.loadNpmTasks('grunt-markdownlint');
Expand Down Expand Up @@ -67,16 +66,6 @@ module.exports = function(grunt) {
});
return driverTests;
})(),
retire: {
options: {
/** list of files to ignore **/
ignorefile: '.retireignore.json' //or '.retireignore.json'
},
js: ['lib/*.js'] /** Which js-files to scan. **/,
node: [
'./'
] /** Which node directories to scan (containing package.json). **/
},
clean: ['dist', 'tmp', 'axe.js', 'axe.*.js'],
babel: {
options: {
Expand Down Expand Up @@ -399,7 +388,6 @@ module.exports = function(grunt) {
grunt.registerTask('test', [
'build',
'file-exists',
'retire',
'testconfig',
'fixture',
'connect',
Expand All @@ -411,7 +399,6 @@ module.exports = function(grunt) {

grunt.registerTask('ci-build', [
'build',
'retire',
'testconfig',
'fixture',
'connect',
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,17 +57,17 @@
"scripts": {
"api-docs": "jsdoc --configure .jsdoc.json",
"build": "grunt",
"test-dts": "tsc",
"test": "npm run test-dts && grunt test",
"test-fast": "grunt test-fast",
"test": "npm run retire && tsc && grunt test",
"version": "echo \"use 'npm run release' to bump axe-core version\" && exit 1",
"prepublishOnly": "grunt build && grunt file-exists",
"retire": "retire --jspath 'lib' --nodepath './' --ignorefile '.retireignore.json' --severity 'medium'",
"release": "standard-version -a",
"next-release": "standard-version --scripts.prebump=./build/next-version.js --skip.commit=true --skip.tag=true",
"sri-update": "grunt build && node build/sri-update && git add sri-history.json",
"fmt": "prettier --write *.js, **/*.ts '{build,doc,lib,test}/**/*.js'"
},
"devDependencies": {
"@babel/core": "^7.1.5",
"aria-query": "^3.0.0",
"axios": "^0.18.0",
"babel-core": "^6.26.0",
Expand All @@ -93,7 +93,6 @@
"grunt-markdownlint": "^2.0.0",
"grunt-mocha": "1.1.0",
"grunt-parallel": "^0.5.1",
"grunt-retire": "^1.0.7",
"html-entities": "^1.2.0",
"husky": "^1.1.1",
"jquery": "^3.0.0",
Expand All @@ -104,6 +103,7 @@
"mocha": "^5.2.0",
"prettier": "^1.14.0",
"promise": "~8.0.1",
"retire": "^2.0.1",
"revalidator": "~0.3.1",
"selenium-webdriver": "~3.6.0",
"sri-toolbox": "^0.2.0",
Expand Down

0 comments on commit 70805be

Please sign in to comment.