ENH: v0.2.0: add L.TopoJSON and $.template()
index-jquery.js
0 → 100644
index-leaflet.js
0 → 100644
index-urlfilter.js
0 → 100644
{ | { | ||
"name": "g1", | "name": "g1", | ||
"version": "0.1.0", | "version": "0.2.0", | ||
"description": "Gramex 1.x interaction library", | "description": "Gramex 1.x interaction library", | ||
"license": "UNLICENSED", | "license": "UNLICENSED", | ||
"author": "S Anand <s.anand@gramener.com>", | "author": "S Anand <s.anand@gramener.com>", | ||
... | @@ -11,10 +11,10 @@ | ... | @@ -11,10 +11,10 @@ |
}, | }, | ||
"scripts": { | "scripts": { | ||
"lint": "eslint index.js src", | "lint": "eslint index.js src", | ||
"build": "rimraf dist && json2module package.json > src/package.js && rollup -c && uglifyjs dist/g1.js -m -o dist/g1.min.js", | "build": "rimraf dist && json2module package.json > src/package.js && rollup -c", | ||
"pretest": "npm run build && browserify -s tape -r tape -o test/tape.js", | "pretest": "npm run build && browserify -s tape -r tape -o test/tape.js", | ||
"server": "npm run pretest && npm run lint && node test/server.js", | "server": "npm run pretest && npm run lint && node test/server.js", | ||
"test": "npm run lint && tape test/test-*.js | faucet && node test/server.js test/jquery.urlfilter.html test/jquery.dispatch.html | tap-merge | faucet", | "test": "npm run lint && tape test/test-*.js | faucet && node test/server.js run | tap-merge | faucet", | ||
"prepublishOnly": "npm test" | "prepublishOnly": "npm test" | ||
}, | }, | ||
"devDependencies": { | "devDependencies": { | ||
... | @@ -25,11 +25,14 @@ | ... | @@ -25,11 +25,14 @@ |
"faucet": "^0.0.1", | "faucet": "^0.0.1", | ||
"jquery": "3", | "jquery": "3", | ||
"json2module": "0.0", | "json2module": "0.0", | ||
"leaflet": "1", | |||
"puppeteer": "0.13", | "puppeteer": "0.13", | ||
"rimraf": "2", | "rimraf": "2", | ||
"rollup": "0.52", | "rollup": "0.52", | ||
"rollup-plugin-uglify": "2", | |||
"tap-merge": "0.3", | "tap-merge": "0.3", | ||
"tape": "4", | "tape": "4", | ||
"topojson": "3", | |||
"uglify-js": "3" | "uglify-js": "3" | ||
} | } | ||
} | } |
src/jquery.template.js
0 → 100644
src/leaflet-utils.js
0 → 100644
test/S21_PC.json
0 → 100644
test/jquery.template.html
0 → 100644
test/leaflet.topojson.html
0 → 100644