Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Typescript definitions #646

Merged
merged 1 commit into from
Nov 24, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,9 @@ node_modules

# Users Environment Variables
.lock-wscript

# IntelliJ
.idea

# npm
package-lock.json
32 changes: 21 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
},
"homepage": "https://tomchentw.github.io/react-google-maps/",
"main": "lib/index.js",
"files": ["lib/", "src/", "CHANGELOG.md"],
"files": ["lib/", "src/lib", "CHANGELOG.md", "types/index.d.ts"],
"keywords": [
"React",
"Google",
Expand Down Expand Up @@ -50,10 +50,11 @@
"precommit": "lint-staged",
"styleguide": "styleguidist server",
"styleguide:build": "styleguidist build",
"dtslint": "dtslint types",
"test": "react-scripts test --env=jsdom",
"test:once": "cross-env CI=true npm test",
"build:src": "babel-node src/tx/jscodeshift",
"precommit:src": "npm run build:src",
"precommit:src": "npm run build:src && npm run dtslint",
"commit:src":
"git add -A && git commit -m 'chore(src/components): compile from src/macros with `babel`'",
"prebuild:lib": "rimraf lib",
Expand Down Expand Up @@ -96,10 +97,12 @@
"singleQuote": false,
"trailingComma": "es5"
},
"types": "types",
"dependencies": {
"babel-runtime": "^6.11.6",
"can-use-dom": "^0.1.0",
"google-maps-infobox": "^1.1.13",
"eslint": "^4.11.0",
"google-maps-infobox": "^2.0.0",
"invariant": "^2.2.1",
"lodash": "^4.16.2",
"marker-clusterer-plus": "^2.1.4",
Expand All @@ -110,32 +113,39 @@
"warning": "^3.0.0"
},
"peerDependencies": {
"@types/googlemaps": "^3.0.0",
"@types/markerclustererplus": "^2.1.29",
"@types/react": "^15.0.0 || ^16.0.0",
"react": "^15.0.0 || ^16.0.0",
"react-dom": "^15.0.0 || ^16.0.0"
},
"devDependencies": {
"@types/googlemaps": "^3.29.2",
"@types/markerclustererplus": "^2.1.33",
"@types/react": "^16.0.22",
"babel-cli": "^6.26.0",
"babel-plugin-lodash": "^3.2.11",
"babel-plugin-lodash": "^3.3.2",
"babel-plugin-transform-class-properties": "^6.24.1",
"babel-plugin-transform-object-rest-spread": "^6.26.0",
"babel-plugin-transform-runtime": "^6.23.0",
"babel-preset-env": "^1.6.0",
"babel-preset-env": "^1.6.1",
"babel-preset-react": "^6.24.1",
"cheerio": "^1.0.0-rc.2",
"cross-env": "^5.0.5",
"cross-env": "^5.1.1",
"dtslint": "github:Microsoft/dtslint#production",
"glob": "^7.1.2",
"husky": "^0.14.3",
"isomorphic-fetch": "^2.2.1",
"jscodeshift": "^0.3.32",
"lint-staged": "^4.1.3",
"lint-staged": "^4.3.0",
"make-fetch-happen": "^2.5.0",
"mkdirp": "^0.5.1",
"prettier": "^1.6.1",
"prettier": "^1.8.2",
"react": "^16.0.0",
"react-dom": "^16.0.0",
"react-icons": "^2.2.5",
"react-scripts": "^1.0.13",
"react-styleguidist": "^6.0.24",
"react-icons": "^2.2.7",
"react-scripts": "^1.0.17",
"react-styleguidist": "^6.0.33",
"rimraf": "^2.6.2",
"standard-version": "^4.2.0",
"to-markdown": "^3.1.0"
Expand Down
Loading