forked from mmomtchev/rlayers
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
170 lines (170 loc) · 5.76 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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
{
"name": "rlayers",
"version": "3.2.0",
"description": "React Components for OpenLayers",
"main": "index.js",
"types": "index.d.ts",
"module": "dist/index.js",
"exports": {
".": {
"require": "./index.js",
"import": "./dist/index.js"
},
"./style": {
"require": "./style/index.js",
"import": "./dist/style/index.js"
},
"./layer": {
"require": "./layer/index.js",
"import": "./dist/layer/index.js"
},
"./layer/RLayerRasterMBTiles": {
"require": "./layer/RLayerRasterMBTiles.js",
"import": "./dist/layer/RLayerRasterMBTiles.js"
},
"./layer/RLayerVectorMBTiles": {
"require": "./layer/RLayerVectorMBTiles.js",
"import": "./dist/layer/RLayerVectorMBTiles.js"
},
"./layer/RLayerStadia": {
"require": "./layer/RLayerStadia.js",
"import": "./dist/layer/RLayerStadia.js"
},
"./control": {
"require": "./control/index.js",
"import": "./dist/control/index.js"
},
"./control/layers.css": {
"require": "./control/layers.css",
"import": "./dist/control/layers.css"
},
"./interaction": {
"require": "./interaction/index.js",
"import": "./dist/interaction/index.js"
}
},
"jsdelivr": "dist/cdn-bundle.js",
"scripts": {
"clean": "tsc --build --clean && rimraf docs control style layer interaction dist",
"build": "npm run clean && npm run build:lib && npm run build:examples && npm run build:doc",
"build:lib": "npm run build:lib:cjs && npm run build:lib:es6 && npm run build:lib:cdn",
"build:lib:cjs": "tsc && npm run build:css",
"build:lib:es6": "tsc -p tsconfig.es6.json && npm run build:css:es6",
"build:lib:cdn": "rollup -c rollup.config.mjs",
"build:css": "copyfiles -f src/control/layers.css control",
"build:css:es6": "copyfiles -f src/control/layers.css dist/control",
"build:examples": "webpack --mode=production --env production",
"build:doc": "npx documentation build src/** --parse-extension=ts --parse-extension=tsx --require-extension=ts --require-extension=tsx -c=documentation.yml -f=html -o=docs/api --theme=node_modules/documentation-hipster/index.js",
"dev": "webpack-cli serve --mode=development --env development --open",
"prod": "webpack-cli serve --mode=production --env production --open",
"doc:publish": "node scripts/publish-ghpages.js",
"lint": "eslint './{examples,src,test}/**/*.{ts,tsx}'",
"lint:fix": "eslint './{examples,src,test}/**/*.{ts,tsx}' --fix",
"test": "jest",
"codecov": "curl -s https://codecov.io/bash | bash",
"prepare": "npm run build:lib",
"preversion": "npm run test",
"version": "npm run clean && npm run build && git add package.json",
"postversion": "git push && git push --tags && npm run doc:publish",
"postpublish": "gh workflow run test-npm.yml -F rlayers=$npm_package_version -F ol=`node -p 'require(\"./package.json\").peerDependencies.ol'`"
},
"repository": {
"type": "git",
"url": "git+https://github.com/mmomtchev/rlayers.git"
},
"homepage": "https://mmomtchev.github.io/rlayers/",
"keywords": [
"react",
"maps",
"openlayers",
"gis",
"cartography",
"es6",
"js",
"typescript"
],
"author": "Momtchil Momtchev <[email protected]>",
"license": "ISC",
"bugs": {
"url": "https://github.com/mmomtchev/rlayers/issues"
},
"dependencies": {
"lru-cache": "^11.0.0"
},
"peerDependencies": {
"ol": "^10.2.0",
"react": ">=18",
"react-dom": ">=18"
},
"devDependencies": {
"@babel/core": "^7.25.2",
"@babel/plugin-transform-modules-commonjs": "^7.24.8",
"@babel/preset-env": "^7.25.4",
"@rollup/plugin-commonjs": "^28.0.0",
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-terser": "^0.4.4",
"@testing-library/jest-dom": "^6.4.2",
"@testing-library/react": "^15.0.7",
"@types/jest": "^29.5.12",
"@types/node": "^22.0.0",
"@types/prismjs": "^1.16.3",
"@types/proj4": "^2.5.2",
"@types/react": "^18.3.2",
"@types/react-dom": "^18.0.5",
"@types/semver": "^7.5.8",
"@typescript-eslint/eslint-plugin": "^8.3.0",
"@typescript-eslint/parser": "^8.3.0",
"@typescript-eslint/typescript-estree": "^8.3.0",
"babel-jest": "^29.7.0",
"bootstrap": "^5.1.3",
"copyfiles": "^2.4.1",
"css-loader": "^7.0.0",
"documentation": "^14.0.1",
"documentation-hipster": "^1.0.0",
"eslint": "^8.16.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-import": "^2.25.4",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-react": "^7.30.0",
"eslint-plugin-react-hooks": "^5.0.0",
"file-loader": "^6.2.0",
"fork-ts-checker-webpack-plugin": "^9.0.2",
"gh-pages": "^6.1.1",
"glob": "^11.0.0",
"html-loader": "^5.0.0",
"html-webpack-plugin": "^5.0.0",
"jest": "^29.4.3",
"jest-canvas-mock": "^2.4.0",
"jest-environment-jsdom": "^29.4.3",
"markdown-loader": "^8.0.0",
"null-loader": "^4.0.1",
"ol": "^10.2.0",
"ol-mapbox-style": "^12.3.5",
"ol-mbtiles": "^3.1.0",
"prettier": "2.8.8",
"prism-themes": "^1.6.0",
"prismjs": "^1.28.0",
"proj4": "^2.7.0",
"raw-loader": "^4.0.2",
"react": "^18.3.1",
"react-docgen-typescript": "^2.1.0",
"react-dom": "^18.3.1",
"react-router": "^6.23.1",
"react-router-dom": "^6.23.1",
"react-test-renderer": "^18.3.1",
"resize-observer-polyfill": "^1.5.1",
"rimraf": "^6.0.1",
"rollup": "^4.12.1",
"sqlite-wasm-http": "^1.1.1",
"style-loader": "^4.0.0",
"svg-url-loader": "^8.0.0",
"ts-jest": "^29.0.5",
"ts-loader": "^9.3.0",
"ts-node": "^10.8.0",
"tsconfig-paths-webpack-plugin": "^4.0.0",
"typescript": "^5.6.2",
"webpack": "^5.20.1",
"webpack-cli": "^5.1.4",
"webpack-dev-server": "^5.0.2"
}
}