1 | {
|
2 | "name": "formsy-react",
|
3 | "version": "2.2.5",
|
4 | "description": "A form input builder and validator for React",
|
5 | "keywords": [
|
6 | "form",
|
7 | "forms",
|
8 | "formsy",
|
9 | "react",
|
10 | "react-component",
|
11 | "validation"
|
12 | ],
|
13 | "license": "MIT",
|
14 | "homepage": "https://github.com/formsy/formsy-react",
|
15 | "bugs": "https://github.com/formsy/formsy-react/issues",
|
16 | "repository": {
|
17 | "type": "git",
|
18 | "url": "https://github.com/formsy/formsy-react.git"
|
19 | },
|
20 | "author": "Christian Alfoni and the Formsy Authors",
|
21 | "main": "dist/index.js",
|
22 | "module": "dist/formsy-react.esm.js",
|
23 | "typings": "dist/index.d.ts",
|
24 | "files": [
|
25 | "dist",
|
26 | "src"
|
27 | ],
|
28 | "types": "dist/index.d.ts",
|
29 | "scripts": {
|
30 | "build": "tsdx build",
|
31 | "build:clean": "rm -r dist/* || true",
|
32 | "changelog": "auto-changelog",
|
33 | "deploy": "np",
|
34 | "format": "prettier --write \"**/*.{js,jsx,ts,tsx,md}\"",
|
35 | "lint": "tsdx lint",
|
36 | "prepublishOnly": "tsdx build",
|
37 | "preversion": "npm run lint",
|
38 | "start": "tsdx watch",
|
39 | "test": "tsdx test --passWithNoTests",
|
40 | "version": "npm run build && git add dist && npm run changelog && git add CHANGELOG.md"
|
41 | },
|
42 | "dependencies": {
|
43 | "lodash": "^4.17.20",
|
44 | "lodash-es": "^4.17.21",
|
45 | "prop-types": "^15.7.2"
|
46 | },
|
47 | "devDependencies": {
|
48 | "@types/enzyme": "^3.10.3",
|
49 | "@types/jest": "^26.0.13",
|
50 | "@types/lodash": "^4.14.168",
|
51 | "@types/prop-types": "^15.7.1",
|
52 | "@types/react": "^17.0.0",
|
53 | "@types/react-dom": "^17.0.0",
|
54 | "auto-changelog": "^2.0.0",
|
55 | "coveralls": "^3.0.9",
|
56 | "enzyme": "^3.10.0",
|
57 | "enzyme-adapter-react-16": "^1.14.0",
|
58 | "eslint-plugin-prettier": "^3.1.4",
|
59 | "husky": "^4.2.1",
|
60 | "np": "^5.0.0",
|
61 | "prettier": "^2.0.2",
|
62 | "react": "^16.2.0 || ^16.0.0",
|
63 | "react-dom": "^16.2.0 || ^16.0.0",
|
64 | "tsdx": "^0.14.0",
|
65 | "tslib": "^2.0.0",
|
66 | "typescript": "^3.9.7"
|
67 | },
|
68 | "peerDependencies": {
|
69 | "react": "^16.0.0 || ^17.0.0",
|
70 | "react-dom": "^16.0.0 || ^17.0.0"
|
71 | },
|
72 | "standard-version": {
|
73 | "skip": {
|
74 | "tag": true
|
75 | }
|
76 | },
|
77 | "husky": {
|
78 | "hooks": {
|
79 | "pre-commit": "tsdx lint"
|
80 | }
|
81 | },
|
82 | "prettier": {
|
83 | "printWidth": 120,
|
84 | "semi": true,
|
85 | "singleQuote": true,
|
86 | "proseWrap": "always",
|
87 | "trailingComma": "all"
|
88 | },
|
89 | "jest": {
|
90 | "collectCoverage": true,
|
91 | "collectCoverageFrom": [
|
92 | "src/**/*.tsx",
|
93 | "src/**/*.ts"
|
94 | ],
|
95 | "setupFilesAfterEnv": [
|
96 | "./setupTests.ts"
|
97 | ]
|
98 | }
|
99 | }
|