forked from sombochea/verdaccio-ui
refactor: update dependencies
development keys deps updated add eslint-plugin-codeceptjs to fix eslint issues for acceptant test
This commit is contained in:
parent
58cb4c7465
commit
40a25a2507
@ -12,7 +12,8 @@
|
|||||||
"jest",
|
"jest",
|
||||||
"prettier",
|
"prettier",
|
||||||
"verdaccio",
|
"verdaccio",
|
||||||
"jsx-a11y"
|
"jsx-a11y",
|
||||||
|
"codeceptjs"
|
||||||
],
|
],
|
||||||
"settings": {
|
"settings": {
|
||||||
"react": {
|
"react": {
|
||||||
@ -119,6 +120,7 @@
|
|||||||
},
|
},
|
||||||
"env": {
|
"env": {
|
||||||
"browser": true,
|
"browser": true,
|
||||||
"jest/globals": true
|
"jest/globals": true,
|
||||||
|
"codeceptjs/codeceptjs": true,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
|
|
||||||
exports.config = {
|
exports.config = {
|
||||||
tests: './test/acceptance/*_test.js',
|
tests: './test/acceptance/*_test.js',
|
||||||
output: './test/acceptance/output',
|
output: './test/acceptance/output',
|
||||||
@ -8,15 +7,15 @@ exports.config = {
|
|||||||
// "show": true,
|
// "show": true,
|
||||||
chrome: {
|
chrome: {
|
||||||
// headless: false
|
// headless: false
|
||||||
}
|
},
|
||||||
}
|
},
|
||||||
},
|
},
|
||||||
include: {
|
include: {
|
||||||
I: './test/acceptance/steps_file.js'
|
I: './test/acceptance/steps_file.js',
|
||||||
},
|
},
|
||||||
smartWait: 30000,
|
smartWait: 30000,
|
||||||
bootstrap: null,
|
bootstrap: null,
|
||||||
plugins: {},
|
plugins: {},
|
||||||
mocha: {},
|
mocha: {},
|
||||||
name: '@verdaccio/ui-theme'
|
name: '@verdaccio/ui-theme',
|
||||||
}
|
};
|
||||||
|
29
package.json
29
package.json
@ -11,36 +11,37 @@
|
|||||||
},
|
},
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@commitlint/cli": "8.0.0",
|
"@commitlint/cli": "8.1.0",
|
||||||
"@commitlint/config-conventional": "8.0.0",
|
"@commitlint/config-conventional": "8.1.0",
|
||||||
"@material-ui/core": "3.9.3",
|
"@material-ui/core": "3.9.3",
|
||||||
"@material-ui/icons": "3.0.2",
|
"@material-ui/icons": "3.0.2",
|
||||||
"@octokit/rest": "16.28.7",
|
"@octokit/rest": "16.28.7",
|
||||||
"@types/enzyme": "3.10.3",
|
"@types/enzyme": "3.10.3",
|
||||||
"@types/lodash": "4.14.134",
|
"@types/lodash": "4.14.136",
|
||||||
"@types/material-ui": "0.21.6",
|
"@types/material-ui": "0.21.6",
|
||||||
"@types/node": "12.6.8",
|
"@types/node": "12.6.9",
|
||||||
"@types/react": "16.8.16",
|
"@types/react": "16.8.24",
|
||||||
"@types/react-dom": "16.8.4",
|
"@types/react-dom": "16.8.5",
|
||||||
"@types/react-router-dom": "4.3.2",
|
"@types/react-router-dom": "4.3.4",
|
||||||
"@types/validator": "10.11.1",
|
"@types/validator": "10.11.2",
|
||||||
"@verdaccio/babel-preset": "2.0.0",
|
"@verdaccio/babel-preset": "2.0.0",
|
||||||
"@verdaccio/eslint-config": "2.0.0",
|
"@verdaccio/eslint-config": "2.0.0",
|
||||||
"@verdaccio/types": "7.0.0",
|
"@verdaccio/types": "8.0.0-next.2",
|
||||||
"autosuggest-highlight": "3.1.1",
|
"autosuggest-highlight": "3.1.1",
|
||||||
|
"babel-loader": "8.0.6",
|
||||||
"bundlesize": "0.18.0",
|
"bundlesize": "0.18.0",
|
||||||
"codeceptjs": "2.1.0",
|
"codeceptjs": "2.1.0",
|
||||||
"codecov": "3.5.0",
|
"codecov": "3.5.0",
|
||||||
"babel-loader": "8.0.6",
|
"concurrently": "4.1.1",
|
||||||
"concurrently": "4.1.0",
|
|
||||||
"cross-env": "5.2.0",
|
"cross-env": "5.2.0",
|
||||||
"css-loader": "0.28.10",
|
"css-loader": "0.28.10",
|
||||||
"date-fns": "1.30.1",
|
"date-fns": "1.30.1",
|
||||||
"emotion": "9.2.12",
|
"emotion": "9.2.12",
|
||||||
"enzyme": "3.10.0",
|
"enzyme": "3.10.0",
|
||||||
"enzyme-adapter-react-16": "1.14.0",
|
"enzyme-adapter-react-16": "1.14.0",
|
||||||
"enzyme-to-json": "3.3.5",
|
"enzyme-to-json": "3.4.0",
|
||||||
"eslint": "5.16.0",
|
"eslint": "5.16.0",
|
||||||
|
"eslint-plugin-codeceptjs": "1.0.0",
|
||||||
"eslint-plugin-jsx-a11y": "6.2.1",
|
"eslint-plugin-jsx-a11y": "6.2.1",
|
||||||
"eslint-plugin-prettier": "3.1.0",
|
"eslint-plugin-prettier": "3.1.0",
|
||||||
"eslint-plugin-react": "7.13.0",
|
"eslint-plugin-react": "7.13.0",
|
||||||
@ -50,7 +51,7 @@
|
|||||||
"get-stdin": "6.0.0",
|
"get-stdin": "6.0.0",
|
||||||
"github-markdown-css": "2.10.0",
|
"github-markdown-css": "2.10.0",
|
||||||
"html-webpack-plugin": "3.2.0",
|
"html-webpack-plugin": "3.2.0",
|
||||||
"husky": "2.4.1",
|
"husky": "3.0.2",
|
||||||
"identity-obj-proxy": "3.0.0",
|
"identity-obj-proxy": "3.0.0",
|
||||||
"in-publish": "2.0.0",
|
"in-publish": "2.0.0",
|
||||||
"jest": "24.8.0",
|
"jest": "24.8.0",
|
||||||
@ -90,7 +91,7 @@
|
|||||||
"typescript": "3.5.3",
|
"typescript": "3.5.3",
|
||||||
"url-loader": "1.1.2",
|
"url-loader": "1.1.2",
|
||||||
"validator": "10.11.0",
|
"validator": "10.11.0",
|
||||||
"verdaccio": "4.1.0",
|
"verdaccio": "4.2.0",
|
||||||
"verdaccio-auth-memory": "1.1.5",
|
"verdaccio-auth-memory": "1.1.5",
|
||||||
"verdaccio-memory": "2.0.0",
|
"verdaccio-memory": "2.0.0",
|
||||||
"webpack": "4.20.2",
|
"webpack": "4.20.2",
|
||||||
|
6
test/acceptance/.eslintrc
Normal file
6
test/acceptance/.eslintrc
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
"rules": {
|
||||||
|
"new-cap": 0,
|
||||||
|
"prettier/prettier": 0
|
||||||
|
}
|
||||||
|
}
|
@ -1,11 +1,8 @@
|
|||||||
|
|
||||||
// in this file you can append custom step methods to 'I' object
|
// in this file you can append custom step methods to 'I' object
|
||||||
|
|
||||||
module.exports = function() {
|
module.exports = function() {
|
||||||
return actor({
|
return actor({
|
||||||
|
|
||||||
// Define custom steps here, use 'this' to access default methods of I.
|
// Define custom steps here, use 'this' to access default methods of I.
|
||||||
// It is recommended to place a general 'login' function here.
|
// It is recommended to place a general 'login' function here.
|
||||||
|
|
||||||
});
|
});
|
||||||
}
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user