react-instagram-embed
Advanced tools
Comparing version 1.3.0 to 1.3.1
{ | ||
"name": "react-instagram-embed", | ||
"version": "1.3.0", | ||
"version": "1.3.1", | ||
"description": "React embedding Instagram posts component", | ||
@@ -21,16 +21,13 @@ "main": "lib/index.js", | ||
"clean:es": "if [ -d es ]; then rm -rf es; fi", | ||
"precompile": "npm run clean:lib; npm run clean:es; mkdir -p lib; mkdir -p es", | ||
"precompile": "npm run clean:lib && npm run clean:es", | ||
"compile:commonjs": "BABEL_ENV=commonjs babel -d lib src", | ||
"compile:es": "BABEL_ENV=es babel -d es src", | ||
"compile": "npm run compile:commonjs && npm run compile:es", | ||
"check": "npm run lint && npm run type && npm test", | ||
"lint": "eslint src tests", | ||
"test": "jest --verbose", | ||
"lint": "eslint src test", | ||
"test": "BABEL_ENV=test ava --verbose", | ||
"type": "flow", | ||
"clean:build": "if [ -d build ]; then rm -rf build; fi", | ||
"favicon": "curl https://sugarshin.net/favicon.ico > build/favicon.ico", | ||
"preghpages": "npm run clean:build; mkdir -p build && npm run favicon", | ||
"ghpages": "NODE_ENV=production webpack --progress", | ||
"postghpages": "gh-pages -x -m 'Update [ci skip]' -d build -r https://github.com/sugarshin/react-instagram-embed.git", | ||
"prepublish": "npm run check && npm run compile" | ||
"prebuild:demo": "npm run clean:build", | ||
"build:demo": "webpack --progress", | ||
"prepublish": "npm run lint && npm run type && npm test && npm run compile" | ||
}, | ||
@@ -47,2 +44,9 @@ "repository": { | ||
"homepage": "https://github.com/sugarshin/react-instagram-embed#readme", | ||
"ava": { | ||
"require": [ | ||
"babel-register", | ||
"./test/helpers/setup-browser-env.js" | ||
], | ||
"babel": "inherit" | ||
}, | ||
"peerDependencies": { | ||
@@ -57,6 +61,6 @@ "react": "^15.0.0 || ~0.14.0", | ||
"devDependencies": { | ||
"ava": "^0.20.0", | ||
"babel-cli": "^6.24.1", | ||
"babel-core": "^6.25.0", | ||
"babel-eslint": "^7.2.3", | ||
"babel-jest": "^20.0.3", | ||
"babel-loader": "^7.1.0", | ||
@@ -71,4 +75,6 @@ "babel-plugin-transform-class-properties": "^6.24.1", | ||
"babel-preset-react": "^6.24.1", | ||
"browser-env": "^2.0.31", | ||
"css-loader": "^0.28.4", | ||
"eslint": "^4.1.1", | ||
"eslint-plugin-ava": "^4.2.1", | ||
"eslint-plugin-babel": "^4.1.1", | ||
@@ -82,3 +88,2 @@ "eslint-plugin-flowtype": "^2.34.0", | ||
"html-webpack-plugin": "^2.29.0", | ||
"jest": "^20.0.4", | ||
"react": "^15.6.1", | ||
@@ -92,6 +97,3 @@ "react-dom": "^15.6.1", | ||
"webpack-dev-server": "^2.5.0" | ||
}, | ||
"jest": { | ||
"testRegex": "/tests/.*-test\\.js$" | ||
} | ||
} |
21569
33