-
Notifications
You must be signed in to change notification settings - Fork 220
Expand file tree
/
Copy pathpackage.json
More file actions
101 lines (101 loc) · 2.49 KB
/
package.json
File metadata and controls
101 lines (101 loc) · 2.49 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
{
"name": "@fineanmol/annoying-submit-button",
"version": "1.0.1",
"description": "React submit button that slides away on hover until your form is valid — the classic annoying-submit UX.",
"main": "./dist/index.cjs",
"module": "./dist/index.mjs",
"exports": {
".": {
"import": "./dist/index.mjs",
"require": "./dist/index.cjs"
},
"./style.css": "./dist/index.css"
},
"sideEffects": [
"**/*.css"
],
"files": [
"dist",
"README.md",
"LICENSE"
],
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"build:lib": "rollup -c rollup.config.mjs",
"prepublishOnly": "npm run build:lib",
"test": "react-scripts test",
"eject": "react-scripts eject",
"lint": "eslint . ",
"lint-fix": "eslint . --fix"
},
"repository": {
"type": "git",
"url": "git+https://github.com/fineanmol/Annoying-submit-button.git"
},
"bugs": {
"url": "https://github.com/fineanmol/Annoying-submit-button/issues"
},
"homepage": "https://github.com/fineanmol/Annoying-submit-button#readme",
"keywords": [
"react",
"form",
"submit",
"button",
"validation",
"ux"
],
"author": "Anmol Agarwal",
"license": "MIT",
"publishConfig": {
"access": "public"
},
"peerDependencies": {
"react": ">=18.0.0",
"react-dom": ">=18.0.0"
},
"dependencies": {
"react-scripts": "^5.0.1",
"web-vitals": "^2.1.4"
},
"devDependencies": {
"@babel/core": "^7.26.0",
"@babel/preset-react": "^7.26.3",
"@rollup/plugin-babel": "^6.0.4",
"@rollup/plugin-node-resolve": "^15.3.1",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^13.4.0",
"@testing-library/user-event": "^13.5.0",
"eslint": "^8.25.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jsx-a11y": "^6.6.1",
"eslint-plugin-react": "^7.31.10",
"eslint-plugin-react-hooks": "^4.6.0",
"postcss": "^8.4.49",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"rollup": "^2.79.2",
"rollup-plugin-peer-deps-external": "^2.2.4",
"rollup-plugin-postcss": "^4.0.2"
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
}
}