Skip to content

Commit

Permalink
build: migrated to vite
Browse files Browse the repository at this point in the history
  • Loading branch information
alrico88 committed Jan 15, 2022
1 parent 1793751 commit dcc1a5a
Show file tree
Hide file tree
Showing 17 changed files with 4,056 additions and 9,897 deletions.
3 changes: 0 additions & 3 deletions babel.config.js

This file was deleted.

40 changes: 40 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge"/>
<meta name="viewport" content="width=device-width,initial-scale=1.0"/>
<link rel="icon" href="/favicon.ico"/>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/leaflet/1.7.1/leaflet.css"
integrity="sha512-xodZBNTC5n17Xt2atTPuE1HxjVMSvLVW9ocqUKLsCC5CXdbqCmblAshOMAS6/keqq/sMZMZ19scR4PsZChSR7A=="
crossorigin="anonymous"
/>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/leaflet.draw/1.0.4/leaflet.draw.css"
integrity="sha512-gc3xjCmIy673V6MyOAZhIW93xhM9ei1I+gLbmFjUHIjocENRsLX/QUE1htk5q1XV2D/iie/VQ8DXI6Vu8bexvQ=="
crossorigin="anonymous"
/>
<title>Simple BBox</title>
<meta name="description" content="Find the BBox of any polygon, circle, point or shape.">
<meta name="theme-color" content="#ffe9d7 "/>
<meta name="google-site-verification" content="UZOcaXnekxNx3602Y3bTdmQ76izGiFgKdkMnByPC_PM"/>
</head>
<body>
<noscript>
<strong
>We're sorry but Simple BBox doesn't work properly without JavaScript
enabled. Please enable it to continue.</strong
>
</noscript>
<div id="app"></div>
<!-- built files will be auto injected -->
<script type="module" src="/src/main.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/leaflet/1.7.1/leaflet.js"
integrity="sha512-XQoYMqMTK8LvdxXYG3nZ448hOEQiglfqkJs1NOQV44cWnUrBc8PkAOcXy20w0vlaXaVUearIOBhiXZ5V3ynxwA=="
crossorigin="anonymous"
></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/leaflet.draw/1.0.4/leaflet.draw.js"
integrity="sha512-ozq8xQKq6urvuU6jNgkfqAmT7jKN2XumbrX1JiB3TnF7tI48DPI4Gy1GXKD/V3EExgAs1V+pRO7vwtS1LHg0Gw=="
crossorigin="anonymous"
></script>
</body>
</html>
45 changes: 23 additions & 22 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,55 +3,56 @@
"version": "1.0.0",
"private": true,
"scripts": {
"serve": "vue-cli-service serve",
"build": "vue-cli-service build",
"lint": "vue-cli-service lint"
"dev": "vite",
"build": "vite build",
"lint": "eslint src"
},
"repository": {
"url": "https://github.com/alrico88/Simple-BBox"
},
"dependencies": {
"@turf/area": "^6.0.1",
"@turf/bbox-polygon": "^6.0.1",
"@turf/circle": "^6.0.1",
"bbox-helper-functions": "^2.3.1",
"bootstrap": "^4.4.1",
"@turf/area": "^6.5.0",
"@turf/bbox-polygon": "^6.5.0",
"@turf/circle": "^6.5.0",
"bbox-helper-functions": "^3.0.1",
"bootstrap": "^4.6.1",
"bootstrap-vue": "^2.21.2",
"core-js": "^3.4.4",
"core-js": "^3.20.2",
"jquery": "^3.5.0",
"math-helper-functions": "^1.1.0",
"number-helper-functions": "^2.0.0",
"lodash": "^4.17.21",
"math-helper-functions": "^2.1.0",
"number-helper-functions": "^4.0.0",
"popper.js": "^1.16.1",
"promise-file-reader": "^1.0.3",
"shortid": "^2.2.15",
"v-dialogs": "^2.1.4",
"vue": "^2.6.11",
"vue-clipboard2": "^0.3.1",
"vue-clipboard2": "^0.3.3",
"vue-notification": "^1.3.20",
"vue2-transitions": "^0.3.0",
"vuex": "^3.1.3",
"vuex-persist": "^3.1.3",
"wkt-parser-helper": "^3.0.0"
"wkt-parser-helper": "^4.0.1"
},
"devDependencies": {
"@vue/cli-plugin-babel": "~4.3.0",
"@vue/cli-plugin-eslint": "~4.3.0",
"@vue/cli-plugin-vuex": "~4.3.0",
"@vue/cli-service": "~4.3.0",
"@vue/runtime-dom": "^3.2.26",
"babel-eslint": "^10.1.0",
"eslint": "^5.4",
"eslint-plugin-vue": "^6.2.2",
"lint-staged": "^9.5.0",
"node-sass": "^6.0.0",
"sass-loader": "10",
"vue-cli-plugin-pug": "~1.0.7",
"vue-template-compiler": "^2.6.11"
"pug": "^3.0.2",
"sass": "^1.48.0",
"vite": "^2.7.12",
"vite-plugin-vue2": "^1.9.2",
"vue-template-compiler": "^2.6.11",
"yorkie": "^2.0.0"
},
"gitHooks": {
"pre-commit": "lint-staged"
},
"lint-staged": {
"*.{js,jsx,vue}": [
"vue-cli-service lint",
"eslint src",
"git add"
]
}
Expand Down
Loading

0 comments on commit dcc1a5a

Please sign in to comment.