-
Notifications
You must be signed in to change notification settings - Fork 889
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
More permissive support for the
className
prop of Map
- Loading branch information
Showing
4 changed files
with
164 additions
and
103 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,7 +12,8 @@ | |
"build:umd": "cross-env BABEL_ENV=rollup NODE_ENV=development rollup -c", | ||
"build:umd:min": "cross-env BABEL_ENV=rollup NODE_ENV=production rollup -c", | ||
"build:flow": "flow-copy-source src lib && flow-copy-source src es", | ||
"build": "npm run clean && npm run build:cjs && npm run build:es && npm run build:flow && npm run build:umd && npm run build:umd:min", | ||
"build": | ||
"npm run clean && npm run build:cjs && npm run build:es && npm run build:flow && npm run build:umd && npm run build:umd:min", | ||
"jest": "cross-env BABEL_ENV=development NODE_ENV=test jest", | ||
"jest:watch": "cross-env BABEL_ENV=development NODE_ENV=test jest --watch", | ||
"lint": "eslint ./src", | ||
|
@@ -21,18 +22,14 @@ | |
"test:watch": "npm run lint && npm run flow && npm run jest:watch", | ||
"start": "npm run test && npm run build", | ||
"prepublishOnly": "npm run build", | ||
"examples": "webpack-dev-server --config ./example/webpack.config.babel.js --progress" | ||
"examples": | ||
"webpack-dev-server --config ./example/webpack.config.babel.js --progress" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/PaulLeCam/react-leaflet.git" | ||
}, | ||
"keywords": [ | ||
"react-component", | ||
"react", | ||
"leaflet", | ||
"map" | ||
], | ||
"keywords": ["react-component", "react", "leaflet", "map"], | ||
"author": "Paul Le Cam <[email protected]>", | ||
"license": "MIT", | ||
"bugs": { | ||
|
@@ -64,8 +61,8 @@ | |
"babel-preset-react": "^6.24.1", | ||
"babel-preset-stage-1": "^6.24.1", | ||
"cross-env": "^5.1.1", | ||
"eslint": "^4.11.0", | ||
"eslint-config-prettier": "^2.8.0", | ||
"eslint": "^4.12.0", | ||
"eslint-config-prettier": "^2.9.0", | ||
"eslint-plugin-flowtype": "^2.39.1", | ||
"eslint-plugin-import": "^2.8.0", | ||
"eslint-plugin-node": "^5.2.1", | ||
|
@@ -83,20 +80,18 @@ | |
"react": "^16.1.1", | ||
"react-dom": "^16.1.1", | ||
"rimraf": "^2.6.2", | ||
"rollup": "^0.51.8", | ||
"rollup": "^0.52.0", | ||
"rollup-plugin-babel": "^3.0.2", | ||
"rollup-plugin-commonjs": "^8.2.6", | ||
"rollup-plugin-node-resolve": "^3.0.0", | ||
"rollup-plugin-replace": "^2.0.0", | ||
"rollup-plugin-uglify": "^2.0.1", | ||
"webpack": "^3.8.1", | ||
"webpack-dev-server": "^2.9.4" | ||
"webpack-dev-server": "^2.9.5" | ||
}, | ||
"jest": { | ||
"collectCoverage": true, | ||
"setupFiles": [ | ||
"raf/polyfill" | ||
], | ||
"setupFiles": ["raf/polyfill"], | ||
"transform": { | ||
".*": "<rootDir>/node_modules/babel-jest" | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.