forked from visgl/react-google-maps
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
81 lines (81 loc) · 2.73 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
{
"name": "@vis.gl/react-google-maps",
"version": "0.3.2",
"description": "React components and hooks for Google Maps.",
"source": "src/index.ts",
"main": "dist/index.umd.js",
"module": "dist/index.modern.mjs",
"exports": {
".": {
"require": "./dist/index.umd.js",
"types": "./dist/index.d.ts",
"default": "./dist/index.modern.mjs"
},
"./examples.css": "./dist/examples.css"
},
"types": "dist/index.d.ts",
"repository": {
"type": "git",
"url": "git+https://github.com/visgl/react-google-maps.git"
},
"bugs": {
"url": "https://github.com/visgl/react-google-maps/issues"
},
"homepage": "https://github.com/visgl/react-google-maps#readme",
"license": "MIT",
"scripts": {
"clean": "rm -rf ./dist && mkdir ./dist",
"build": "npm-run-all clean -p build:*",
"start": "run-p start:*",
"build:examples": "cp ./examples/examples.css dist",
"build:microbundle": "microbundle -o dist/index.js -f modern,umd --globals react=React,react-dom=ReactDOM --jsx React.createElement --jsxFragment React.Fragment --no-compress --tsconfig tsconfig.build.json",
"start:microbundle": "microbundle watch -o dist/index.js -f modern,umd --globals react=React,react-dom=ReactDOM --jsx React.createElement --jsxFragment React.Fragment --no-compress --tsconfig tsconfig.build.json",
"test:linter": "eslint 'src/**/*.{ts,tsx}'",
"test:tsc": "tsc --project tsconfig.test.json --noEmit",
"test:prettier": "prettier --check ./src ./examples",
"test:unit": "jest",
"test": "npm-run-all -p test:linter test:prettier test:tsc -s test:unit",
"prepublishOnly": "npm run test && npm run build",
"prepack": "npm-run-all clean build"
},
"files": [
"./src",
"./dist"
],
"keywords": [
"React",
"React components",
"React hooks",
"Google Maps",
"Google Maps components"
],
"peerDependencies": {
"react": ">=16.8.0",
"react-dom": ">=16.8.0"
},
"devDependencies": {
"@googlemaps/jest-mocks": "^2.18.0",
"@testing-library/jest-dom": "^6.0.1",
"@testing-library/react": "^14.0.0",
"@testing-library/user-event": "^14.4.3",
"@types/google.maps": "^3.50.5",
"@types/jest": "^29.4.0",
"@typescript-eslint/eslint-plugin": "^6.4.1",
"@typescript-eslint/parser": "^6.4.1",
"eslint": "^8.25.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-import": "^2.23.4",
"eslint-plugin-react": "^7.24.0",
"eslint-plugin-react-hooks": "^4.2.0",
"jest": "^29.4.3",
"jest-environment-jsdom": "^29.4.3",
"microbundle": "^0.15.1",
"npm-run-all": "^4.1.5",
"prettier": "^3.0.2",
"react": ">=16.8.0",
"react-dom": ">=16.8.0",
"ts-jest": "^29.0.5",
"typescript": "^5.1.6",
"vite": "^4.5.0"
}
}