react-azure-maps
Version:
React Wrapper for Azure Maps
131 lines (130 loc) • 4.04 kB
JSON
{
"name": "react-azure-maps",
"version": "1.0.3",
"description": "React Wrapper for Azure Maps",
"keywords": [
"react",
"reactjs",
"typescript",
"azure",
"azure-maps",
"azure-maps-control",
"map",
"maps",
"react-azure-maps"
],
"module": "dist/react-azure-maps.es5.js",
"types": "dist/types/react-azure-maps.d.ts",
"exports": {
".": {
"import": "./dist/react-azure-maps.es5.js",
"types": "./dist/types/react-azure-maps.d.ts"
}
},
"files": [
"dist"
],
"author": "WiredSolutions and Microsoft",
"repository": {
"type": "git",
"url": "https://github.com/Azure/react-azure-maps"
},
"license": "MIT",
"engines": {
"node": ">=8.0.0"
},
"scripts": {
"lint": "eslint --max-warnings 0 \"./src/**/*.{js,jsx,mjs,ts,tsx}\"",
"format": "prettier --check \"./src/**/*.{js,jsx,json,ts,tsx,css,scss,sass,mdx}\"",
"type-check": "tsc --noEmit",
"commitlint": "commitlint",
"commitmsg": "commitlint -e $GIT_PARAMS",
"build:clean": "rimraf dist",
"build:code": "cross-env NODE_ENV=production rollup --config",
"build:types": "tsc --emitDeclarationOnly",
"build": "npm run build:types && npm run build:code",
"test": "npx jest --coverage --env=jsdom",
"test:watch": "jest --coverage --watch --env=jsdom",
"test:prod": "npm run lint && npm run test -- --no-cache",
"dev:code": "cross-env NODE_ENV=development rollup --config --watch",
"preview:react": "npx parcel preview/react-preview.html --out-dir preview-build --open --no-cache",
"dev": "concurrently 'npm:dev:code' 'npm:preview:react'"
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,jsx,mjs,ts,tsx}": [
"eslint --cache --fix"
],
"*.{js,jsx,json,ts,tsx,css,scss,sass,mdx}": [
"prettier --write"
]
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
]
},
"devDependencies": {
"@babel/core": "^7.13.10",
"@babel/plugin-proposal-class-properties": "^7.10.4",
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.10.4",
"@babel/plugin-proposal-optional-chaining": "^7.11.0",
"@babel/plugin-transform-runtime": "^7.11.5",
"@babel/preset-env": "^7.11.5",
"@babel/preset-react": "^7.10.4",
"@babel/preset-typescript": "^7.10.4",
"@commitlint/cli": "^11.0.0",
"@commitlint/config-angular": "^8.2.0",
"@commitlint/config-conventional": "^11.0.0",
"@rollup/plugin-babel": "^5.2.1",
"@rollup/plugin-commonjs": "^16.0.0",
"@rollup/plugin-html": "^0.2.0",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^10.0.0",
"@rollup/plugin-replace": "^2.3.4",
"@testing-library/jest-dom": "^5.11.4",
"@testing-library/react": "^16.2.0",
"@testing-library/user-event": "^12.1.10",
"@types/jest": "^26.0.15",
"@types/react": "19.0.0",
"@types/react-dom": "19.0.0",
"azure-maps-control": "^3.5.0",
"babel-preset-env": "^1.7.0",
"concurrently": "^5.3.0",
"cross-env": "^7.0.2",
"deasync": "^0.1.30",
"eslint": "^7.14.0",
"husky": "^4.3.0",
"lint-staged": "^10.5.2",
"parcel-bundler": "1.12.3",
"prettier": "^2.2.0",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"react-scripts": "^5.0.1",
"rollup": "^2.33.3",
"rollup-plugin-copy": "^3.4.0",
"rollup-plugin-livereload": "^2.0.0",
"rollup-plugin-node-externals": "^2.2.0",
"rollup-plugin-peer-deps-external": "^2.2.4",
"rollup-plugin-postcss": "^3.1.8",
"rollup-plugin-serve": "^1.1.0",
"rollup-plugin-size-snapshot": "^0.12.0",
"rollup-plugin-terser": "^7.0.2",
"ts-jest": "^26.4.4",
"typescript": "^4.1.2"
},
"peerDependencies": {
"azure-maps-control": "^3.5.0",
"react": "^17.0.2 || ^18.0.0 || ^19.0.0",
"react-dom": "^17.0.2 || ^18.0.0 || ^19.0.0"
},
"dependencies": {
"guid-typescript": "^1.0.9"
}
}