I think it would be better to put them into peerDependencies, so that autoprefixer-loader users could use any versions they need. Sass-loader does it this way.
Btw, if you have postcss-safe-parser, do you still need postcss dependency? ( postcss-safe-parser depends on postcss, so with npm@2 it gets installed twice.)
Currently your
package.json
has:I think it would be better to put them into
peerDependencies
, so thatautoprefixer-loader
users could use any versions they need. Sass-loader does it this way.Btw, if you have
postcss-safe-parser
, do you still needpostcss
dependency? (postcss-safe-parser
depends onpostcss
, so with npm@2 it gets installed twice.)