-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
62 lines (62 loc) · 2.03 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
{
"name": "@geolonia/embed",
"version": "4.3.0",
"description": "Geolonia embed JS API",
"main": "dist/embed.js",
"types": "dist/embed.d.ts",
"scripts": {
"prestart": "npm run build:version",
"prelint": "npm run build:version",
"start": "webpack serve --config ./docs/webpack.config.js",
"build": "npm run build:version && npm run build:embed",
"build:version": "node ./scripts/build-version.mjs",
"build:embed": "webpack --mode production && cp ./dist/embed.js ./dist/embed && cp -r ./dist/* ./docs/ && rm -rf ./docs/*.d.ts ./docs/lib/",
"analyze": "ANALYZE=true webpack --mode production",
"format": "prettier-eslint \"./src/**/*.ts\" --write",
"lint": "eslint --ext .js,.cjs,.mjs,.jsx,.ts,.tsx .",
"test": "TS_NODE_COMPILER_OPTIONS='{\"module\": \"commonjs\" }' mocha"
},
"author": "Geolonia (https://geolonia.com)",
"repository": {
"type": "git",
"url": "git+https://github.com/geolonia/embed.git"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/geolonia/embed/issues"
},
"homepage": "https://github.com/geolonia/embed#readme",
"devDependencies": {
"@geolonia/eslint-config": "latest",
"@types/jsdom": "^21.1.7",
"@types/mocha": "^10.0.1",
"babel-loader": "^9.1.0",
"css-loader": "^6.7.2",
"eslint": "^8.29.0",
"jsdom": "^20.0.3",
"jsdom-global": "^3.0.2",
"mocha": "^10.2.0",
"node-fetch": "2",
"prettier-eslint": "^15.0.0",
"prettier-eslint-cli": "^7.1.0",
"style-loader": "^3.3.1",
"svg-inline-loader": "^0.8.2",
"ts-loader": "^9.4.3",
"ts-node": "^10.9.1",
"typescript": "^5.1.3",
"webpack": "^5.75.0",
"webpack-bundle-analyzer": "^4.7.0",
"webpack-cli": "^5.0.1",
"webpack-dev-server": "^4.11.1"
},
"dependencies": {
"@geolonia/mbgl-gesture-handling": "^1.0.15",
"@mapbox/geojson-extent": "^1.0.0",
"@mapbox/point-geometry": "^0.1.0",
"@turf/center": "^6.0.1",
"maplibre-gl": "4.7.1",
"pmtiles": "^3.0.6",
"sanitize-html": "^2.8.0",
"tinycolor2": "^1.4.1"
}
}