impress/impress.js

extra addons as npm dependencies

Open

#700 建立於 2018年7月29日

在 GitHub 查看
 (1 留言) (0 反應) (0 負責人)JavaScript (38,178 star) (6,605 fork)batch import
help wanted

描述

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

貢獻者指南

extra addons as npm dependencies · impress/impress.js#700 | Good First Issue