-
Notifications
You must be signed in to change notification settings - Fork 8
/
package.json
86 lines (86 loc) · 2.9 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
{
"name": "@googlemaps/adv-markers-utils",
"version": "1.2.4",
"license": "Apache-2.0",
"keywords": [],
"type": "module",
"source": "src/index.ts",
"main": "dist/index.umd.js",
"module": "dist/index.module.js",
"jsnext:main": "dist/index.module.js",
"types": "dist/index.d.ts",
"repository": {
"type": "git",
"url": "https://github.com/googlemaps/js-adv-markers-utils.git"
},
"publishConfig": {
"access": "public",
"registry": "https://wombat-dressing-room.appspot.com"
},
"exports": {
".": {
"import": "./dist/index.modern.js",
"require": "./dist/index.cjs",
"umd": "./dist/index.umd.js",
"browser": "./dist/index.module.js"
},
"./icons": {
"import": "./dist/icons.modern.js",
"require": "./dist/icons.cjs",
"umd": "./dist/icons.umd.js",
"browser": "./dist/icons.module.js"
},
"./places": {
"import": "./dist/places.modern.js",
"require": "./dist/places.cjs",
"umd": "./dist/places.umd.js",
"browser": "./dist/places.module.js"
}
},
"amdName": "google.maps.plugins.advMarkersUtils",
"files": [
"/src",
"/dist"
],
"directories": {
"test": "./src/__tests__"
},
"scripts": {
"clean": "rm -rf ./dist",
"test": "run-s test:*",
"prepack": "npm run build",
"pretest": "cd ./examples/playground && ( [ -d ./node_modules ] || npm install )",
"test:tsc": "tsc",
"test:prettier": "prettier -c ./src",
"test:eslint": "eslint './src/**/*ts' './examples/playground/src/*.ts'",
"test:jest": "jest",
"build": "microbundle src/index.ts src/icons.ts src/places.ts --external @googlemaps/adv-markers-utils --globals @googlemaps/adv-markers-utils=google.maps.plugins.advMarkersUtils",
"build:docs": "typedoc",
"watch": "microbundle watch src/index.ts src/icons.ts src/places.ts",
"watch:docs": "typedoc --watch",
"server:docs": "http-server ./dist/docs",
"docs": "run-p watch:docs server:docs",
"deploy:playground": "cd examples/playground && npm run deploy",
"deploy:archive": "run-s clean build && npm pack --pack-destination ./dist && mv ./dist/googlemaps-adv-markers-utils*.tgz ./dist/googlemaps-adv-markers-utils.tgz",
"deploy:docs": "npm run build:docs && gsutil -m rsync -rc ./dist/docs gs://geo-devrel-public-buckets/adv-markers-util-playground/api-docs/",
"deploy": "run-s test deploy:*"
},
"devDependencies": {
"@googlemaps/jest-mocks": "^2.7.5",
"@types/google.maps": "^3.50.5",
"@types/jest": "^29.2.6",
"@typescript-eslint/eslint-plugin": "^6.4.0",
"@typescript-eslint/parser": "^6.4.0",
"eslint": "^8.27.0",
"http-server": "^14.1.1",
"jest": "^29.3.1",
"jest-environment-jsdom": "^29.4.3",
"microbundle": "^0.15.1",
"npm-run-all": "^4.1.5",
"prettier": "^3.0.2",
"prettier-plugin-jsdoc": "^1.0.1",
"ts-jest": "^29.0.5",
"typedoc": "^0.25.4",
"typescript": "^5.1.3"
}
}