-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
90 lines (90 loc) · 2.54 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
{
"name": "react-leaflet-hotline",
"version": "1.5.0",
"description": "Create leaflet Polylines with colored gradients. Inspired from Leaflet.Hotline, with accurate colored gradients and Typescript support.",
"main": "./dist/esm/index.js",
"module": "./dist/esm/index.js",
"types": "./dist/types/index.d.ts",
"exports": {
".": {
"import": {
"types": "./dist/types/index.d.ts",
"default": "./dist/esm/index.js"
},
"require": {
"types": "./dist/types/index.d.ts",
"default": "./dist/cjs/index.js"
}
}
},
"scripts": {
"test": "echo 'Error, not yet implemented'",
"clean": "rm -rf ./dist",
"prebuild": "npm run clean",
"build-cjs": "tsc --project ./tsconfig.cjs.json",
"build-esm": "tsc --project ./tsconfig.esm.json",
"build": "npm run build-cjs && npm run build-esm && echo '\\033[1;32m Successfully built \\033[0m'",
"prepare": "npm run build",
"prepublishOnly": "npm test && npm run lint",
"preversion": "npm run lint",
"version": "npm run format && git add -A src",
"postversion": "git push && git push --tags",
"lint": "tslint -p tsconfig.json",
"format": "prettier --write \"src/**/*.ts\"",
"build-docs": "npx del-cli dist-docs && npx styleguidist build",
"build-docs-2": "cd nextra-docs-template && npm install && npm run build",
"docs": "npx styleguidist server",
"docs-2": "cd nextra-docs-template && npm start"
},
"browserslist": [
">1%",
"last 1 version",
"Firefox ESR",
"not dead"
],
"repository": {
"type": "git",
"url": "git+https://github.com/peacefulotter/react-leaflet-hotline.git"
},
"keywords": [
"leaflet",
"gradient",
"react",
"colors",
"color",
"hotline",
"map",
"react-leaflet",
"canvas",
"typescript"
],
"files": [
"dist/**/*"
],
"author": {
"name": "peacefulotter",
"email": "nathan.maire@epfl.ch"
},
"license": "MIT",
"devDependencies": {
"@babel/preset-env": "^7.18.2",
"@babel/preset-react": "^7.17.12",
"@types/leaflet": "^1.7.11",
"@types/react": "^18.0.14",
"@types/react-leaflet": "^2.8.2",
"babel-loader": "^8.2.5",
"css-loader": "^6.7.1",
"glob": "^8.0.3",
"react-styleguidist": "^11.2.0",
"style-loader": "^3.3.1",
"ts-loader": "^9.3.1",
"tslint": "^6.1.3",
"tslint-config-prettier": "^1.18.0",
"typescript": "^4.7.4",
"url-loader": "^4.1.1",
"webpack": "^5.73.0",
"leaflet": "^1.9.4",
"react": "^18.2.0",
"react-leaflet": "^4.2.1"
}
}