-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
94 lines (94 loc) · 3.01 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
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
{
"name": "open-react-map",
"version": "0.8.1",
"license": "LGPL-3.0-or-later",
"author": "[email protected]",
"description": "Compatible Map component supports Geo services with Freedom or Open API, based on TypeScript, MobX & React.",
"keywords": [
"map",
"geo",
"lbs",
"compatibility",
"free",
"open",
"typescript",
"mobx",
"react"
],
"homepage": "https://idea2app.github.io/OpenReactMap/",
"repository": {
"type": "git",
"url": "git+https://github.com/idea2app/OpenReactMap.git"
},
"bugs": {
"url": "https://github.com/idea2app/OpenReactMap/issues"
},
"source": "source/index.ts",
"types": "dist/index.d.ts",
"main": "dist/index.js",
"dependencies": {
"@swc/helpers": "^0.5.13",
"@types/leaflet": "^1.9.13",
"koajax": "^3.0.2",
"leaflet": "^1.9.4",
"mobx-react-helper": "^0.3.1",
"react-leaflet": "^4.2.1",
"web-utility": "^4.4.1"
},
"peerDependencies": {
"mobx": ">=6.11",
"mobx-react": ">=9.1",
"react": ">=18",
"react-dom": ">=18"
},
"devDependencies": {
"@parcel/config-default": "~2.12.0",
"@parcel/packager-ts": "~2.12.0",
"@parcel/transformer-typescript-tsc": "~2.12.0",
"@parcel/transformer-typescript-types": "~2.12.0",
"@types/react": "^18.3.11",
"@types/react-dom": "^18.3.1",
"husky": "^9.1.6",
"idea-react": "^2.0.0-rc.7",
"koapache": "^2.2.2",
"lint-staged": "^15.2.10",
"mobx": "^6.13.5",
"mobx-react": "^9.1.1",
"parcel": "~2.12.0",
"prettier": "^3.3.3",
"prismjs": "^1.29.0",
"process": "^0.11.10",
"react": "^18.3.1",
"react-bootstrap": "^2.10.5",
"react-dom": "^18.3.1",
"typedoc": "^0.26.10",
"typedoc-plugin-mdn-links": "^3.3.4",
"typescript": "~5.6.3"
},
"prettier": {
"singleQuote": true,
"trailingComma": "none",
"arrowParens": "avoid",
"tabWidth": 4
},
"lint-staged": {
"*.{md,json,yml,ts,tsx}": "prettier --write"
},
"browserslist": "> 0.5%, last 2 versions, not dead, IE 11",
"targets": {
"main": {
"optimize": true
}
},
"scripts": {
"prepare": "husky",
"test": "lint-staged && tsc --noEmit",
"preview": "cd preview/ && rm -rf ../.parcel-cache dist/ && parcel",
"pack-preview": "cd preview/ && rm -rf ../.parcel-cache dist/ && parcel build --public-url=. --dist-dir=../docs/preview/",
"pack-docs": "rm -rf docs/ && typedoc source/",
"pack-dist": "rm -rf .parcel-cache/ dist/ && parcel build",
"start": "npm run pack-docs && npm run pack-preview && web-server docs/ -p 8080 -o",
"build": "npm run pack-docs && npm run pack-preview && npm run pack-dist",
"prepublishOnly": "npm test && npm run build"
}
}