This repository has been archived by the owner on Apr 12, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpackage.json
67 lines (67 loc) · 1.55 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
65
66
67
{
"name": "@mapbox/react-simple-surveyor",
"version": "1.1.0",
"description": "Simple higher-order React component for measuring a component's available width",
"main": "dist/survey.js",
"scripts": {
"precommit": "lint-staged",
"lint": "eslint .",
"format": "prettier --single-quote --write '{,src/,test/}**/*.js'",
"build": "rm -rf dist && babel src -d dist",
"start": "budo test/test.js -d -l -o -- -t babelify",
"test": "npm run start",
"prepublish": "npm run build"
},
"repository": {
"type": "git",
"url": "git+https://github.com/mapbox/react-simple-surveyor.git"
},
"keywords": [
"react",
"higher-order-component",
"measure",
"width"
],
"author": "Mapbox",
"license": "MIT",
"bugs": {
"url": "https://github.com/mapbox/react-simple-surveyor/issues"
},
"homepage": "https://github.com/mapbox/react-simple-surveyor#readme",
"devDependencies": {
"@babel/cli": "^7",
"@babel/preset-env": "^7",
"@babel/preset-react": "^7",
"babelify": "^10",
"budo": "^11",
"eslint": "^8",
"husky": "^8",
"lint-staged": "^15",
"prettier": "^3",
"react": "^16",
"react-dom": "^16"
},
"dependencies": {
"debounce": "^1.0.2"
},
"peerDependencies": {
"react": ">=15.0.0",
"react-dom": ">=15.0.0"
},
"lint-staged": {
"{,src/,test/}**/*.js": [
"prettier --single-quote --write",
"git add"
]
},
"babel": {
"presets": [
[
"@babel/preset-env"
],
[
"@babel/preset-react"
]
]
}
}