-
Notifications
You must be signed in to change notification settings - Fork 33
/
package.json
130 lines (130 loc) · 3.92 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
{
"name": "react-azure-maps",
"version": "1.0.2",
"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": "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": "^13.3.0",
"@testing-library/user-event": "^12.1.10",
"@types/jest": "^26.0.15",
"@types/react": "^18.0.15",
"@types/react-dom": "^18.0.6",
"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": "^18.2.0",
"react-dom": "^18.2.0",
"react-scripts": "4.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",
"react-dom": "^17.0.2 || ^18.0.0"
},
"dependencies": {
"guid-typescript": "^1.0.9"
}
}