Skip to content

Commit

Permalink
Remove field in package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
xuopled committed Apr 14, 2017
1 parent 79f71ad commit 0783ac4
Show file tree
Hide file tree
Showing 7 changed files with 103 additions and 796 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,12 @@
# 1.1.0 - 2017-04-13

* Add: `gutter` prop on `Mansory` component

# 1.2.0 - 2017-04-14

* Update `react` version to `15.5`
* Add `prop-types` package in `peerDependencies`
* Remove `browser` field in `package.json`
* Remove `dist` task in `package.json`
* Remove `watch` task in `package.json`
* Remove `webpack` dev dependency
8 changes: 1 addition & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ class MyWrapper extends Component {

## Development

### Clean `lib` and `dist` folders
### Clean `lib`

```js
npm run clean
Expand All @@ -85,12 +85,6 @@ npm run clean
npm run build
```

### Build `dist` folder

```js
npm run dist
```

### Watch `src` folder

```js
Expand Down
18 changes: 9 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
{
"name": "react-responsive-masonry",
"version": "1.1.0",
"version": "1.2.0",
"description": "React responsive masonry component built with css flexbox",
"browser": "./dist/index.js",
"main": "lib/index.js",
"repository": {
"type": "git",
Expand Down Expand Up @@ -31,18 +30,19 @@
"eslint-plugin-import": "^2.2.0",
"eslint-plugin-jsx-a11y": "^4.0.0",
"eslint-plugin-react": "^6.10.3",
"webpack": "^2.3.2"
"npmpub": "^3.1.0",
"prop-types": "^15.5.8",
"react": "^15.5.0"
},
"peerDependencies": {
"react": "^15.0.0"
"prop-types": "^15.5.0",
"react": "^15.5.0"
},
"scripts": {
"clean": "rm -rf lib dist",
"clean": "rm -rf lib",
"lint": "eslint src/",
"dist": "webpack -p",
"build": "babel ./src --out-dir ./lib --source-maps -d lib/",
"watch": "webpack --progress --colors --watch",
"prepublish": "npm run clean && npm run build && npm run dist",
"build": "babel ./src --out-dir ./lib --source-maps -d ./lib",
"prepublish": "yarn run clean && yarn run build",
"release": "npmpub"
}
}
3 changes: 2 additions & 1 deletion src/Masonry.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import React, {Component, PropTypes} from "react"
import React, {Component} from "react"
import PropTypes from "prop-types"

const styles = {
container: {
Expand Down
3 changes: 2 additions & 1 deletion src/ResponsiveMasonry.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import React, {Component, PropTypes} from "react"
import React, {Component} from "react"
import PropTypes from "prop-types"

class MasonryResponsive extends Component {
constructor(props) {
Expand Down
18 changes: 0 additions & 18 deletions webpack.config.js

This file was deleted.

Loading

0 comments on commit 0783ac4

Please sign in to comment.