UNPKG

3.06 kBJSONView Raw
1{
2 "name": "react-mapbox-gl",
3 "version": "5.1.1",
4 "description": "A React binding of mapbox-gl-js",
5 "main": "lib/index.js",
6 "module": "lib-esm/index.js",
7 "typings": "lib/index.d.ts",
8 "scripts": {
9 "clean": "rm -rf dist",
10 "test": "jest",
11 "test:watch": "jest --watch",
12 "lint": "tslint --project tsconfig.json",
13 "build": "npm run lint && npm run test && npm run build:commonjs && npm run build:esm",
14 "build:commonjs": "tsc -p tsconfig.json",
15 "build:esm": "tsc -p tsconfig-esm.json",
16 "build:watch": "tsc --watch",
17 "prepublishOnly": "npm run clean && npm run build",
18 "version": "npm run build",
19 "postversion": "git push && git push --tags",
20 "prettify": "prettier --write src/*.ts src/*.tsx src/**/*.ts src/**/*.tsx example/src/**/*.ts example/src/**/*.tsx",
21 "precommit": "npm run prettify && cd example && node generateRaws.js",
22 "prepush": "npm run build",
23 "prepare": "echo \"preparing\" && npm run build"
24 },
25 "jest": {
26 "transform": {
27 ".(ts|tsx)": "ts-jest"
28 },
29 "testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$",
30 "moduleFileExtensions": [
31 "ts",
32 "tsx",
33 "js"
34 ],
35 "setupFiles": [
36 "<rootDir>/src/jest/setupFile.ts"
37 ],
38 "setupFilesAfterEnv": [
39 "<rootDir>/src/jest/setupTestFrameworkScriptFile.ts"
40 ],
41 "browser": true,
42 "verbose": true
43 },
44 "files": [
45 "lib",
46 "lib-esm",
47 "src"
48 ],
49 "repository": {
50 "type": "git",
51 "url": "git+https://github.com/alex3165/react-mapbox-gl.git"
52 },
53 "keywords": [
54 "mapbox",
55 "react",
56 "map",
57 "webgl",
58 "mapbox-gl",
59 "react-component"
60 ],
61 "author": "Alexandre Rieux",
62 "license": "MIT",
63 "bugs": {
64 "url": "https://github.com/alex3165/react-mapbox-gl/issues"
65 },
66 "homepage": "https://github.com/alex3165/react-mapbox-gl#readme",
67 "dependencies": {
68 "@turf/bbox": "4.7.3",
69 "@turf/helpers": "4.7.3",
70 "@types/supercluster": "^5.0.1",
71 "deep-equal": "1.0.1",
72 "supercluster": "^7.0.0"
73 },
74 "peerDependencies": {
75 "mapbox-gl": "^1.12.0",
76 "prop-types": "^15.6.2",
77 "react": "^16.11.0",
78 "react-dom": "^16.11.0"
79 },
80 "devDependencies": {
81 "@types/core-js": "0.9.43",
82 "@types/deep-equal": "1.0.1",
83 "@types/enzyme": "3.1.14",
84 "@types/enzyme-adapter-react-16": "^1.0.3",
85 "@types/geojson": "7946.0.4",
86 "@types/jest": "24.0.19",
87 "@types/mapbox-gl": "^1.12.8",
88 "@types/node": "8.0.29",
89 "@types/prettier": "1.10.0",
90 "@types/prop-types": "15.5.6",
91 "@types/react": "^16.9.11",
92 "@types/react-dom": "^16.9.3",
93 "@types/recompose": "0.27.0",
94 "enzyme": "3.7.0",
95 "enzyme-adapter-react-16": "1.6.0",
96 "husky": "^0.14.3",
97 "jest": "24.9.0",
98 "mapbox-gl": "^1.12.0",
99 "prettier": "1.10.2",
100 "prop-types": "15.6.2",
101 "react": "^16.11.0",
102 "react-dom": "^16.11.0",
103 "react-test-renderer": "16.5.2",
104 "recompose": "0.26.0",
105 "ts-jest": "24.1.0",
106 "tslint": "5.7.0",
107 "tslint-react": "3.2.0",
108 "typescript": "3.1.6"
109 }
110}