-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
54 lines (54 loc) · 1.55 KB
/
package.json
File metadata and controls
54 lines (54 loc) · 1.55 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
{
"name": "@th3hero/input-validator",
"version": "1.1.3",
"type": "module",
"description": "A validation module for frontend in react.js & next.js where we will be validating the user input as per the requirement weather they are required, string, integer, boolean etc. with state management for errors in useState purely built on typescript.",
"main": "dist/index.js",
"module": "dist/index.esm.js",
"types": "dist/index.d.ts",
"scripts": {
"test": "jest --config jest.config.cjs",
"build": "rollup -c && cp index.d.ts dist/",
"prepublishOnly": "npm run build"
},
"files": [
"dist"
],
"repository": {
"type": "git",
"url": "git+https://github.com/th3hero/input-validator.git"
},
"keywords": [
"frontend",
"validator"
],
"publishConfig": {
"access": "public"
},
"author": "Alok Kumar",
"license": "MIT",
"bugs": {
"url": "https://github.com/th3hero/input-validator/issues"
},
"homepage": "https://github.com/th3hero/input-validator#readme",
"dependencies": {
"moment": "^2.30.1"
},
"peerDependencies": {
"react": "*"
},
"devDependencies": {
"@babel/preset-env": "^7.27.2",
"@babel/preset-react": "^7.27.1",
"@rollup/plugin-commonjs": "^28.0.3",
"@rollup/plugin-node-resolve": "^16.0.1",
"@rollup/plugin-terser": "^0.4.4",
"@testing-library/react-hooks": "^8.0.1",
"babel-jest": "^29.7.0",
"jest": "^29.7.0",
"react": "^17.0.2",
"react-test-renderer": "^17.0.2",
"rollup": "^4.40.2",
"rollup-plugin-peer-deps-external": "^2.2.4"
}
}