Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add @axe-core/react #53

Merged
merged 19 commits into from
Aug 6, 2020
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Apply suggestions from code review
Co-authored-by: Stephen Mathieson <me@stephenmathieson.com>
  • Loading branch information
michael-siek and stephenmathieson committed Jul 16, 2020
commit db03d955ffabf79d9bb73013653fc95b09816483
4 changes: 1 addition & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,5 @@ __tests__
packages/react/coverage
packages/react/example/node_modules
michael-siek marked this conversation as resolved.
Show resolved Hide resolved
packages/react/example/build
packages/react/example/dist
packages/react/dist
packages/react/test/index.js
packages/react/cypress/screenshots
packages/react/cypress/screenshots
2 changes: 1 addition & 1 deletion packages/react/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Previous versions of this program were maintained at [dequelabs/react-axe](https
Install the module from NPM or elsewhere

```sh
npm install --save-dev react-axe
npm install --save-dev @axe-core/react
```

## Initialize the module
Expand Down
3 changes: 1 addition & 2 deletions packages/react/cypress/integration/index-test.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import React from 'react';
import ReactDOM from 'react-dom';

const axe = require('../../dist/index');
import Axe from '../..';

function filterLogs(args, type) {
let filtered = [];
Expand Down
3 changes: 0 additions & 3 deletions packages/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,13 @@
"build": "tsc",
"prepare": "npm run build",
"install:example": "cd example && npm install",
"eslint": "eslint --ext .js,.ts *.ts",
"pretest": "npm run install:example",
"test": "eslint index.ts after.ts && tsc && npm run test:types && npm run test:cypress",
"test:types": "cd test && tsc",
"test:cypress": "start-server-and-test start-server http://localhost:8080 test:run",
"start-server": "cd example && npm run start",
"test:run": "cypress run",
"test:debug": "cypress open",
"fmt": "prettier --write *.{js,ts,json,md} example/*.json example/src/*.{js,css} cypress/**/*.{js,json}",
"release": "standard-version -a"
},
"keywords": [
"accessibility",
Expand Down