Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
127 lines (127 loc) · 3.6 KB
/
Copy pathpackage.json
File metadata and controls
127 lines (127 loc) · 3.6 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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
{
"name": "react-jsonschema-form-validation",
"description": "Simple form validation using JSON Schema and AJV",
"version": "0.7.0",
"author": "53JS",
"license": "MIT",
"scripts": {
"start": "vite",
"build": "vite build",
"clean": "rm -rf dist",
"dist": "yarn clean && yarn dist:css && yarn dist:js && yarn dist:types && yarn minify:css",
"dist:css": "sass --style=expanded --no-source-map src/lib/styles/main.scss dist/$npm_package_name.css",
"dist:js": "vite build --config vite.lib.config.js",
"dist:types": "yarn dist:types:emit && yarn dist:types:bundle && yarn dist:types:cleanup",
"dist:types:emit": "tsc -p tsconfig.build.json",
"dist:types:bundle": "dts-bundle-generator -o dist/index.d.ts --no-banner --no-check .types-temp/index.d.ts",
"dist:types:cleanup": "rm -rf .types-temp",
"minify:css": "cleancss --level 1 --source-map --source-map-inline-sources --output dist/$npm_package_name.min.css dist/$npm_package_name.css",
"test": "yarn test:runtime && yarn test:types",
"test:runtime": "vitest run",
"test:runtime:watch": "vitest",
"test:types": "bash test-types/check-matrix.sh",
"type-check": "tsc -p tsconfig.json",
"lint": "eslint src vite.config.js vite.lib.config.js vitest.config.js",
"prepublishOnly": "yarn test:runtime --bail 1 && yarn test:types && yarn dist"
},
"browserslist": [
">0.2%",
"not dead",
"not ie <= 11",
"not op_mini all"
],
"main": "dist/index.js",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"./package.json": "./package.json",
"./dist/react-jsonschema-form-validation.css": "./dist/react-jsonschema-form-validation.css",
"./dist/react-jsonschema-form-validation.min.css": "./dist/react-jsonschema-form-validation.min.css"
},
"sideEffects": [
"*.css"
],
"engines": {
"node": ">=20"
},
"files": [
"dist",
"README.md"
],
"homepage": "https://53js.github.io/react-jsonschema-form-validation",
"bugs": {
"url": "https://github.com/53js/react-jsonschema-form-validation/issues"
},
"repository": "github:53js/react-jsonschema-form-validation",
"dependencies": {
"@types/json-schema": "^7.0.15",
"ajv": "^6.11.0",
"classnames": "^2.2.6",
"memoize-one": "^5.1.1",
"prop-types": "^15.7.2"
},
"devDependencies": {
"@testing-library/react": "^12.1.5",
"@types/prop-types": "^15.7.15",
"@types/react": "^16.14.70",
"@types/react-dom": "^16.9.25",
"@vitejs/plugin-react": "^4.3.0",
"@vitest/coverage-istanbul": "^3.2.6",
"babel-eslint": "10.0.3",
"bootstrap": "^4.4.1",
"clean-css-cli": "^4.3.0",
"dts-bundle-generator": "^9.5.1",
"eslint": "^6.1.0",
"eslint-config-53js": "^1.2.0",
"eslint-config-airbnb": "^18.0.1",
"eslint-plugin-import": "2.20.1",
"eslint-plugin-jest": "^23.6.0",
"eslint-plugin-jsx-a11y": "6.2.3",
"eslint-plugin-react": "7.18.3",
"eslint-plugin-react-hooks": "1.7.0",
"jsdom": "^25.0.1",
"react": "^16.12.0",
"react-dom": "^16.12.0",
"react-prism": "^4.3.2",
"react-router-dom": "^5.1.2",
"react-select": "^3.0.8",
"reactstrap": "^8.4.1",
"sass": "^1.101.7",
"typescript": "^6.0.3",
"vite": "^6.4.3",
"vitest": "^3.2.6"
},
"peerDependencies": {
"react": ">=16.8"
},
"resolutions": {
"dts-bundle-generator/typescript": "^6.0.3",
"**/vite": "^6.4.3"
},
"keywords": [
"JSON",
"ajv",
"component",
"form",
"input",
"html5",
"json-schema",
"json-schema-validation",
"json-schema-validator",
"jsonschema",
"react",
"react-component",
"sanitization",
"sanitize",
"sanitizer",
"schema",
"validate",
"validation",
"validator",
"ui"
]
}