react-soundplayer
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -36,6 +36,2 @@ 'use strict'; | ||
var _Icons2 = require('./Icons'); | ||
var _Icons3 = _interopRequireDefault(_Icons2); | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
@@ -50,2 +46,5 @@ | ||
exports.Cover = _Cover3.default; | ||
exports.Icons = _Icons3.default; | ||
// workaround for dists | ||
var Icons = exports.Icons = require('./Icons'); |
{ | ||
"name": "react-soundplayer", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "Create custom SoundCloud players with React", | ||
@@ -14,5 +14,7 @@ "main": "index.js", | ||
"scripts": { | ||
"build-dist-dev": "NODE_ENV=development webpack --config webpack.config --colors", | ||
"build-dist-prod": "NODE_ENV=production webpack --config webpack.config --progress --colors -p", | ||
"build-js": "rm -rf ./lib && babel src -d lib", | ||
"build-css": "rm -rf ./styles && mkdir styles && node .cssnext", | ||
"build": "npm run build-js && npm run build-css", | ||
"build": "npm run build-js && npm run build-css && npm run build-dist-dev && npm run build-dist-prod", | ||
"lint": "eslint ./src --fix", | ||
@@ -43,2 +45,3 @@ "prepublish": "npm run build", | ||
"babel-eslint": "^8.0.0", | ||
"babel-loader": "^7.1.2", | ||
"babel-plugin-transform-object-assign": "^6.22.0", | ||
@@ -55,4 +58,6 @@ "babel-preset-es2015": "^6.24.1", | ||
"postcss-cssnext": "^3.0.2", | ||
"postcss-import": "^11.0.0" | ||
"postcss-import": "^11.0.0", | ||
"webpack": "^2.7.0", | ||
"webpack-umd-external": "^1.0.2" | ||
} | ||
} |
@@ -75,2 +75,3 @@ # <img src="http://www.officialpsds.com/images/thumbs/Soundcloud-Logo-psd47614.png" width="75" align="left"> [react-soundplayer](http://labs.voronianski.com/react-soundplayer) | ||
import React from 'react'; | ||
import ReactDOM from 'react-dom'; | ||
import { PlayButton, Timer } from 'react-soundplayer/components'; | ||
@@ -109,3 +110,3 @@ | ||
React.render(<App />, document.getElementById('app')); | ||
ReactDOM.render(<App />, document.getElementById('app')); | ||
``` | ||
@@ -112,0 +113,0 @@ |
@@ -8,2 +8,4 @@ export VolumeControl from './VolumeControl'; | ||
export Cover from './Cover'; | ||
export Icons from './Icons'; | ||
// workaround for dists | ||
export const Icons = require('./Icons'); |
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 2 instances in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
395769
49
8511
124
17
2
15