NativeScript / NativeScript/nativescript-cli
Feature - nativescript specific entry point in package.json
未關閉
還沒有人認領這個 Issue。
feature
- 主要語言
- JavaScript
- 星號
- 1.1k
- 分支
- 204
- 平均合併
- 1 天 9 小時
- 30 天內合併 PR
- 8
描述
@gngeorgiev commented on Thu Mar 16 2017
Hey guys,
Different module loaders and frameworks recognize specific fields in the package.json of installed packages as an entry point e.g.
- Node.js - main
- Browserify - browser
- Rollup - rollup
- Rect Native - react-native
Since in Everlive we are looking to create platform specific bundles we could really use such a feature in NativeScript.
Regards.
貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
研究方向
首先追蹤 CLI 如何解析已安裝套件的進入點,並檢視提到的 package.json 欄位:main、browser、rollup 和 react-native。定義 NativeScript 特有的進入點行為,並驗證在不影響現有解析的情況下應如何選取平台特定的 bundle。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- javascript
- 領域
- cli, mobile
- Issue 類型
- 功能
- 難度
- 5/5
- 預估耗時
- 一週以上
- 活躍度
- 停滯
- 描述清晰度
- 需要釐清
- 新手友好度
- 20/100