-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpackage.json
64 lines (64 loc) · 1.52 KB
/
package.json
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
{
"name": "@mapbox/react-submittable",
"version": "3.0.1",
"description": "a replacement for preventing the default behavior of forms: allows submission on enter",
"main": "dist/submittable.js",
"scripts": {
"format": "prettier --write src/*.js",
"build": "babel src -d dist",
"jest": "jest",
"pretest": "npm run build",
"prepublishOnly": "npm run build",
"test": "npm run jest"
},
"keywords": [
"submit",
"form",
"element",
"react"
],
"files": [
"dist",
"src"
],
"author": "Mapbox",
"license": "ISC",
"devDependencies": {
"@babel/cli": "^7.24.1",
"@babel/core": "^7.24.3",
"@babel/plugin-transform-class-properties": "^7.24.1",
"@babel/preset-env": "^7.24.3",
"@babel/preset-react": "^7.24.1",
"@testing-library/react": "^14.2.2",
"@testing-library/user-event": "^14.5.2",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"prettier": "^3.2.5",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
"prettier": {
"singleQuote": true
},
"babel": {
"presets": [
"@babel/preset-react",
"@babel/preset-env"
],
"plugins": [
"@babel/plugin-transform-class-properties"
]
},
"peerDependencies": {
"react": "^15.5.0 || ^16.0.0 || ^17.0.0 || ^18.0.0",
"react-dom": "^15.5.0 || ^16.0.0 || ^17.0.0 || ^18.0.0"
},
"repository": {
"type": "git",
"url": "[email protected]:mapbox/react-submittable.git"
},
"jest": {
"clearMocks": true,
"testEnvironment": "jsdom"
}
}