UNPKG

nextzen.js

Version:

Javascript SDK for Nextzen products

84 lines (83 loc) 3.55 kB
{ "name": "nextzen.js", "version": "1.0.0", "description": "Javascript SDK for Nextzen products", "main": "src/js/nextzen.js", "directories": { "test": "test" }, "files": "dist/*", "scripts": { "test": "karma start test/karma.conf.js --log-level debug --single-run", "lint": "eslint ./src/js/* ./test/*.js; exit 0;", "build-style": "node-sass --output-style compressed -o dist/ src/scss/nextzen.scss; mkdir -p dist/images;cp -r node_modules/leaflet/dist/images/* dist/images/; cp -r node_modules/leaflet-geocoder-mapzen/dist/images/* dist/images/", "build-standalone-style": "node-sass --output-style compressed -o dist/ src/scss/nextzen.standalone.scss; mkdir -p dist/images; cp -r node_modules/mapzen-scarab/src/images/* dist/images/; cp -r node_modules/leaflet/dist/images/* dist/images/; cp -r node_modules/leaflet-geocoder-mapzen/dist/images/* dist/images/", "build-dev-style": "node-sass --output-style compressed -o dist/ src/scss/nextzen.css -w; cp -R node_modules/mapzen-scarab/src/images dist/images; cp -r node_modules/leaflet/dist/images/* dist/images/;", "dev": "watchify ./src/js/nextzen.js -o dist/nextzen.js -v;", "build-standalone": "browserify -t [browserify-shim --global] ./src/js/nextzen.js --standalone Mapzen > dist/nextzen.standalone.js && browserify -t [browserify-shim --global] -t uglifyify ./src/js/nextzen.js --standalone Mapzen | uglifyjs -c comparisons=false -m > dist/nextzen.standalone.min.js && npm run-script build-standalone-style", "build": "browserify ./src/js/nextzen.js > dist/nextzen.js && browserify -t uglifyify ./src/js/nextzen.js | uglifyjs -c comparisons=false -m > dist/nextzen.min.js && npm run-script build-style", "prepublishOnly": "npm run build-standalone; npm run build" }, "browserify-shim": { "leaflet": "global:L" }, "dependencies": { "@mapbox/corslite": "0.0.7", "leaflet": "1.3.0", "leaflet-control-geocoder": "^1.5.4", "leaflet-geocoder-mapzen": "^1.9.4", "leaflet-routing-machine": "^3.2.7", "leaflet.locatecontrol": "^0.60.0", "lrm-mapzen": "^1.3.5", "mapzen-scarab": "git+https://github.com/hanbyul-here/scarab.git", "tangram": "^0.15.3" }, "devDependencies": { "babel-preset-es2015": "^6.13.2", "babelify": "^7.3.0", "benchmark": "^2.1.0", "browserify": "^13.1.0", "browserify-istanbul": "^2.0.0", "browserify-shim": "^3.8.12", "eslint": "^2.8.0", "eslint-config-semistandard": "^6.0.1", "eslint-config-standard": "^5.2.0", "eslint-plugin-promise": "^1.1.0", "eslint-plugin-standard": "^1.3.2", "expect.js": "^0.3.1", "happen": "^0.3.1", "istanbul": "^0.4.3", "karma": "^0.13.22", "karma-browserify": "^5.1.0", "karma-browserstack-launcher": "^0.1.11", "karma-coverage": "^0.5.5", "karma-coveralls": "^1.1.2", "karma-mocha": "^0.2.2", "karma-phantomjs-launcher": "^1.0.0", "karma-requirejs": "^0.2.6", "mocha": "^2.4.5", "node-sass": "^3.7.0", "phantomjs-prebuilt": "^2.1.7", "publish": "^0.6.0", "requirejs": "^2.2.0", "sinon": "^1.17.3", "uglify-js": "^3.1.8", "uglifyify": "^4.0.4", "watchify": "^3.7.0" }, "repository": { "type": "git", "url": "git+https://github.com/nextzen/nextzen.js.git" }, "author": "MAPZEN", "license": "MIT", "bugs": { "url": "https://github.com/nextzen/nextzen.js/issues" }, "homepage": "https://github.com/nextzen/nextzen.js", "keywords": [ "map", "mapzen", "eraser map" ] }