@vtmap/vtmap-sdk-js
Version:
JS SDK for accessing Viettelmaps APIs
113 lines (112 loc) • 3.04 kB
JSON
{
"name": "@vtmap/vtmap-sdk-js",
"version": "1.0.1",
"description": "JS SDK for accessing Viettelmaps APIs",
"main": "index.js",
"files": [
"umd",
"lib",
"services",
"test/test-shared-interface.js",
"test/test-utils.js"
],
"publishConfig": {
"access": "public"
},
"scripts": {
"format": "prettier --write '**/*.js'",
"lint-md": "remark-preset-davidtheclark",
"lint-js": "eslint .",
"lint": "run-p --aggregate-output lint-md lint-js",
"pretest": "npm run lint",
"test": "jest",
"try-browser": "budo test/try-browser/try-browser.js:bundle.js -d test/try-browser -l",
"document-services": "documentation build services/service-helpers/generic-types.js 'services/*.js' --shallow --format md --config conf/service-documentation.yml > docs/services.md",
"document-classes": "documentation build 'lib/classes/*.js' --shallow --format md --config conf/classes-documentation.yml > docs/classes.md",
"document": "run-p --aggregate-output document-services document-classes && npm run lint-md",
"precommit": "npm run document && git add docs && lint-staged",
"bundle": "rollup --config ./rollup.config.js && uglifyjs umd/vtmap-sdk-js.js > umd/vtmap-sdk-js.min.js",
"prepublishOnly": "npm run bundle"
},
"keywords": [
"viettel",
"viettelmaps",
"sdk",
"api",
"map",
"style",
"tileset",
"dataset",
"search",
"navigation"
],
"author": "Viettel",
"license": "BSD-2-Clause",
"browser": {
"./lib/client.js": "./lib/browser/browser-client.js"
},
"jest": {
"transform": {},
"clearMocks": true,
"testEnvironment": "node",
"coverageReporters": [
"text",
"html"
],
"collectCoverageFrom": [
"<rootDir>/lib/**/*.js",
"<rootDir>/services/**/*.js",
"!<rootDir>/test/**"
]
},
"lint-staged": {
"*.js": [
"eslint",
"prettier --write",
"git add"
],
"*.md": [
"remark-preset-davidtheclark",
"git add"
]
},
"prettier": {
"singleQuote": true
},
"dependencies": {
"@mapbox/fusspot": "^0.4.0",
"@mapbox/polyline": "^1.0.0",
"eventemitter3": "^3.1.0",
"form-data": "^3.0.0",
"got": "^10.7.0",
"is-plain-obj": "^1.1.0",
"xtend": "^4.0.1"
},
"devDependencies": {
"base64-url": "^2.2.0",
"budo": "^11.3.2",
"camelcase": "^5.0.0",
"documentation": "^8.0.0",
"eslint": "^5.1.0",
"eslint-plugin-node": "^6.0.1",
"express": "^4.16.3",
"get-port": "^3.2.0",
"husky": "^0.14.3",
"jest": "^23.4.0",
"jest-environment-jsdom": "^23.4.0",
"jest-environment-jsdom-global": "^1.1.0",
"lint-staged": "^7.2.0",
"meow": "^5.0.0",
"npm-run-all": "^4.1.3",
"prettier": "^1.13.7",
"remark-preset-davidtheclark": "^0.8.1",
"rollup": "^0.62.0",
"rollup-plugin-commonjs": "^9.1.3",
"rollup-plugin-node-resolve": "^3.3.0",
"uglify-js": "^3.4.4",
"xhr-mock": "^2.4.1"
},
"engines": {
"node": ">=6"
}
}