remix-validated-form 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1) hide show
  1. package/package.json +6 -5
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "remix-validated-form",
3
- "version": "0.0.1",
3
+ "version": "0.0.2",
4
4
  "description": "Form component and utils for easy form validation in remix",
5
5
  "browser": "./browser/index.js",
6
6
  "main": "./build/index.js",
@@ -13,7 +13,8 @@
13
13
  "test": "jest src",
14
14
  "lint": "eslint .",
15
15
  "prettier": "prettier . --write",
16
- "prepare": "husky install"
16
+ "prepare": "husky install",
17
+ "prepublishOnly": "npm run build:browser && npm run build:main"
17
18
  },
18
19
  "author": {
19
20
  "name": "Aaron Pettengill",
@@ -45,6 +46,7 @@
45
46
  "eslint": "^7.32.0",
46
47
  "eslint-config-react-app": "^6.0.0",
47
48
  "eslint-plugin-cypress": "^2.12.1",
49
+ "eslint-plugin-flowtype": "^5.10.0",
48
50
  "eslint-plugin-import": "^2.25.3",
49
51
  "eslint-plugin-jsx-a11y": "^6.5.1",
50
52
  "eslint-plugin-prettier": "^4.0.0",
@@ -54,18 +56,17 @@
54
56
  "husky": "^7.0.4",
55
57
  "jest": "^27.3.1",
56
58
  "lint-staged": "^12.1.2",
59
+ "prettier": "^2.5.0",
57
60
  "react": "^17.0.2",
58
61
  "ts-jest": "^27.0.7",
59
62
  "typescript": "^4.5.2",
60
63
  "yup": "^0.32.11"
61
64
  },
62
65
  "dependencies": {
63
- "eslint-plugin-flowtype": "^5.10.0",
64
- "prettier": "^2.5.0",
65
66
  "tiny-invariant": "^1.2.0"
66
67
  },
67
68
  "lint-staged": {
68
- "**/*.{ts,tsx,json,js,jsx}": [
69
+ "**/*.{ts,tsx,js,jsx}": [
69
70
  "prettier --write",
70
71
  "eslint --cache --fix"
71
72
  ]