-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathpackage.json
More file actions
104 lines (104 loc) · 2.57 KB
/
package.json
File metadata and controls
104 lines (104 loc) · 2.57 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
{
"name": "react-components-form",
"version": "6.0.1",
"type": "module",
"description": "A simple ui library for React",
"repository": "https://github.com/mprzodala/react-components-form",
"homepage": "https://github.com/mprzodala/react-components-form",
"scripts": {
"dev": "vite",
"build": "vite build",
"lint": "eslint .",
"preview": "vite preview",
"test": "jest",
"prepublish": "npm run lint && npm run test && npm run build"
},
"files": [
"/dist"
],
"publishConfig": {
"access": "public"
},
"pre-commit": [
"lint",
"test"
],
"keywords": [
"react-components-form",
"react",
"forms",
"react-forms",
"react-form",
"form",
"inputs",
"input"
],
"main": "dist/index.umd.js",
"module": "dist/index.es.js",
"exports": {
".": {
"import": "./dist/index.es.js",
"require": "./dist/index.umd.js",
"types": "./dist/index.d.ts"
},
"./styles": "./dist/style.css"
},
"jest": {
"testEnvironment": "jsdom",
"verbose": false,
"moduleNameMapper": {
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/mocks/fileMock.js",
"\\.(s?css)$": "identity-obj-proxy"
},
"setupFilesAfterEnv": [
"<rootDir>/tests.config.js"
],
"collectCoverage": true,
"collectCoverageFrom": [
"src/**/*.{js,jsx}"
],
"moduleDirectories": [
"src/",
"node_modules/"
],
"moduleFileExtensions": [
"js",
"json",
"jsx",
"node"
]
},
"dependencies": {
"@babel/plugin-transform-modules-commonjs": "^7.25.7",
"@babel/preset-react": "^7.25.7",
"@testing-library/jest-dom": "^6.6.2",
"babel-plugin-require-context-hook": "^1.0.0",
"form-schema-validation": "^2.0.1",
"jest-environment-jsdom": "^29.7.0",
"lodash": "^4.17.21",
"prop-types": "^15.8.1",
"react": "^18.3.1",
"react-dom": "^18.3.1"
},
"author": "Mariusz Przodała",
"license": "MIT",
"devDependencies": {
"@babel/core": "^7.25.8",
"@babel/preset-env": "^7.25.8",
"@eslint/js": "^9.11.1",
"@testing-library/dom": "^10.4.0",
"@testing-library/react": "^16.0.1",
"@types/react": "^18.3.10",
"@types/react-dom": "^18.3.0",
"@vitejs/plugin-react": "^4.3.2",
"babel-jest": "^29.7.0",
"eslint": "^9.11.1",
"eslint-plugin-react": "^7.37.0",
"eslint-plugin-react-hooks": "^5.1.0-rc.0",
"eslint-plugin-react-refresh": "^0.4.12",
"globals": "^15.9.0",
"jest": "^29.7.0",
"pre-commit": "^1.2.2",
"vite": "^5.4.8"
}
}