mirror of
https://github.com/Leaflet/Leaflet.git
synced 2025-12-08 21:26:14 +00:00
simplify bower setup, remove component
Component is not an active project anymore, and bower no longer requires a version field in the config.
This commit is contained in:
parent
3c3a571585
commit
ca43794128
@ -1,19 +0,0 @@
|
||||
{
|
||||
"name": "leaflet",
|
||||
"description": "JavaScript library for mobile-friendly interactive maps",
|
||||
"scripts": [
|
||||
"dist/leaflet.js",
|
||||
"dist/leaflet-src.js"
|
||||
],
|
||||
"images":[
|
||||
"dist/images/layers-2x.png",
|
||||
"dist/images/layers.png",
|
||||
"dist/images/marker-icon-2x.png",
|
||||
"dist/images/marker-icon.png",
|
||||
"dist/images/marker-shadow.png"
|
||||
],
|
||||
"styles":[
|
||||
"dist/leaflet.css"
|
||||
],
|
||||
"main": "dist/leaflet-src.js"
|
||||
}
|
||||
@ -11,10 +11,6 @@ git checkout -b build
|
||||
npm run build
|
||||
git add dist/leaflet-src.js dist/leaflet.js dist/leaflet-src.map -f
|
||||
|
||||
copyfiles -u 1 build/*.json ./
|
||||
tin -v $VERSION
|
||||
git add component.json bower.json -f
|
||||
|
||||
git commit -m "v$VERSION"
|
||||
|
||||
git tag v$VERSION -f
|
||||
|
||||
@ -3,7 +3,6 @@
|
||||
"version": "1.0.0-beta.2",
|
||||
"description": "JavaScript library for mobile-friendly interactive maps",
|
||||
"devDependencies": {
|
||||
"copyfiles": "0.2.1",
|
||||
"eslint": "^1.5.1",
|
||||
"eslint-config-mourner": "^1.0.0",
|
||||
"happen": "~0.2.0",
|
||||
@ -18,7 +17,6 @@
|
||||
"magic-string": "^0.7.0",
|
||||
"mocha": "~2.3.0",
|
||||
"phantomjs": "^1.9.18",
|
||||
"tin": "^0.5.0",
|
||||
"uglify-js": "~2.4.23"
|
||||
},
|
||||
"main": "dist/leaflet-src.js",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user