This repository has been archived by the owner on Aug 30, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #23 from Esri/1.0.5
a few more tweaks before tagging 1.0.5
- Loading branch information
Showing
13 changed files
with
114 additions
and
69 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
{ | ||
"name": "leaflet-shape-markers", | ||
"description": "Shape markers of fixed size for point symbols", | ||
"version": "1.0.4", | ||
"version": "1.0.5", | ||
"author": "Rachel Nehmer <[email protected]>", | ||
"bugs": { | ||
"url": "https://github.com/Esri/Leaflet.shapeMarkers/issues" | ||
|
@@ -17,15 +17,19 @@ | |
"karma": "^0.12.24", | ||
"karma-mocha": "^0.1.0", | ||
"karma-chai-sinon": "^0.1.3", | ||
"karma-coverage": "douglasduteil/karma-coverage#next", | ||
"karma-coverage": "^0.5.3", | ||
"karma-mocha-reporter": "^0.2.5", | ||
"karma-phantomjs-launcher": "^0.1.4", | ||
"karma-phantomjs-launcher": "^0.2.0", | ||
"karma-sourcemap-loader": "^0.3.5", | ||
"semistandard": "^7.0.0", | ||
"semistandard": "^7.0.5", | ||
"gh-release": "^2.0.0", | ||
"mkdirp": "^0.5.1", | ||
"rollup": "^0.10.0", | ||
"uglify-js": "^2.4.23" | ||
"rollup": "^0.25.4", | ||
"rollup-plugin-json": "^2.0.0", | ||
"rollup-plugin-node-resolve": "^1.4.0", | ||
"rollup-plugin-uglify": "^0.3.1", | ||
"uglify-js": "^2.4.23", | ||
"watch": "^0.17.1" | ||
}, | ||
"homepage": "http://github.com/Esri/Leaflet.shapeMarkers", | ||
"jsnext:main": "src/ShapeMarkers.js", | ||
|
@@ -44,10 +48,11 @@ | |
"scripts": { | ||
"prepublish": "npm run build", | ||
"prebuild": "mkdirp dist", | ||
"build": "./scripts/build.js", | ||
"build": "rollup -c scripts/debug.js && rollup -c scripts/production.js", | ||
"release": "./scripts/release.sh", | ||
"lint": "semistandard src/*.js", | ||
"pretest": "npm run build", | ||
"start": "watch 'npm run build' src & http-server -p 5000 -c-1 -o", | ||
"test": "npm run lint && karma start" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
import { rollup } from 'rollup'; | ||
import json from 'rollup-plugin-json'; | ||
import nodeResolve from 'rollup-plugin-node-resolve'; | ||
|
||
var pkg = require('../package.json'); | ||
var copyright = '/* ' + pkg.name + ' - v' + pkg.version + ' - ' + new Date().toString() + '\n' + | ||
' * Copyright (c) ' + new Date().getFullYear() + ' Environmental Systems Research Institute, Inc.\n' + | ||
' * ' + pkg.license + ' */'; | ||
|
||
export default { | ||
entry: 'src/ShapeMarkers.js', | ||
moduleName: 'L.shapeMarkers', | ||
format: 'umd', | ||
external: ['leaflet'], | ||
plugins: [ | ||
nodeResolve({ | ||
jsnext: true, | ||
main: false, | ||
browser: false, | ||
extensions: [ '.js', '.json' ] | ||
}), | ||
json() | ||
], | ||
globals: { | ||
'leaflet': 'L' | ||
}, | ||
banner: copyright | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
import config from './base.js' | ||
|
||
config.dest = 'dist/leaflet-shape-markers-debug.js'; | ||
config.sourceMap = 'inline'; | ||
|
||
export default config; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import uglify from 'rollup-plugin-uglify'; | ||
import config from './base.js' | ||
|
||
config.dest = 'dist/leaflet-shape-markers.js'; | ||
config.sourceMap = 'dist/leaflet-shape-markers.js.map'; | ||
|
||
// use a Regex to preserve copyright text | ||
config.plugins.push(uglify({ output: { comments: /Institute, Inc/} })); | ||
|
||
export default config; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
export var VERSION = '1.0.4'; | ||
export {version as VERSION} from '../package.json'; | ||
|
||
export { crossMarker } from './CrossMarker.js'; | ||
export { xMarker } from './XMarker.js'; | ||
export { squareMarker } from './SquareMarker.js'; | ||
export { diamondMarker } from './DiamondMarker.js'; | ||
export { crossMarker } from './CrossMarker'; | ||
export { xMarker } from './XMarker'; | ||
export { squareMarker } from './SquareMarker'; | ||
export { diamondMarker } from './DiamondMarker'; |