impress/impress.js

extra addons as npm dependencies

Open

#700 aberto em 29 de jul. de 2018

Ver no GitHub
 (1 comment) (0 reactions) (0 assignees)JavaScript (6.605 forks)batch import
help wanted

Métricas do repositório

Stars
 (38.178 stars)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

Description

The extras/ directory is simply empty in the npm package (via .npmignore). To provide an npm user the same seamless experience as is provided with git, it would be cool if the extras/ directory would be populated with symlinks to a node_modules path where those extra plugins are installed. This way the same path will work whether impress.js was installed via git or npm.

Note that since extra addons are optional, they should NOT be listed as dependencies in package.json. However, it seems to me they should be peerDepencies: https://docs.npmjs.com/files/package.json#peerdependencies

Guia do colaborador