Skip to content

Commit 623ed57

Browse files
authored
Clean up and fixe (#47)
* Removed public map * Fixed max test progress not having a max prop * Removed unused dependencies * Removed dangling comma
1 parent 5d4b2da commit 623ed57

File tree

10 files changed

+3853
-11641
lines changed

10 files changed

+3853
-11641
lines changed

__tests__/suits/rules/max.test.tsx

+1
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ describe('test max rule', () => {
2525
meter.value = 6;
2626
meter.max = 10;
2727
progress.value = 6;
28+
progress.max = 10;
2829

2930
const validator_input = new Validator([
3031
input

babel.config.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ module.exports = {
88
targets: {
99
esmodules: true,
1010
},
11-
},],
11+
}],
1212
'@babel/react',
1313
],
1414
};

package-lock.json

+3,849-11,557
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+2-12
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@
44
"main": "dist/index.js",
55
"dependencies": {
66
"@formatjs/intl": "^1.6.5",
7-
"@testing-library/jest-dom": "^4.2.4",
8-
"@testing-library/react": "^9.5.0",
9-
"@testing-library/user-event": "^7.2.1",
107
"lodash": "^4.17.20",
118
"react": "^16.14.0",
129
"react-dom": "^16.14.0",
@@ -22,9 +19,6 @@
2219
"type": "git",
2320
"url": "https://github.com/machielsdev/validator"
2421
},
25-
"eslintConfig": {
26-
"extends": "react-app"
27-
},
2822
"browserslist": {
2923
"production": [
3024
">0.2%",
@@ -57,13 +51,9 @@
5751
"enzyme-adapter-react-16": "^1.15.6",
5852
"eslint": "^7.19.0",
5953
"eslint-plugin-react": "^7.22.0",
60-
"flush-promises": "^1.0.2",
54+
"jest": "^26.6.3",
6155
"jest-fetch-mock": "^3.0.3",
62-
"react-scripts": "^3.4.4",
63-
"react-test-renderer": "^16.14.0",
64-
"ts-loader": "^8.0.14",
65-
"typescript": "^3.9.7",
66-
"webpack-cli": "^3.3.12"
56+
"typescript": "^3.9.7"
6757
},
6858
"jest": {
6959
"collectCoverageFrom": [

public/favicon.ico

-3.08 KB
Binary file not shown.

public/index.html

-43
This file was deleted.

public/logo192.png

-5.22 KB
Binary file not shown.

public/logo512.png

-9.44 KB
Binary file not shown.

public/manifest.json

-25
This file was deleted.

public/robots.txt

-3
This file was deleted.

0 commit comments

Comments
 (0)