Skip to content

delete all unnecessary keys from app/package.json#2346

Merged
Plamen5kov merged 2 commits intomasterfrom
plamen5kov/fix_issue_#2301
Dec 20, 2016
Merged

delete all unnecessary keys from app/package.json#2346
Plamen5kov merged 2 commits intomasterfrom
plamen5kov/fix_issue_#2301

Conversation

@Plamen5kov
Copy link
Contributor

@Plamen5kov Plamen5kov commented Dec 13, 2016

See issue for more info.

Problem
People get confused because there are two package.json files, one in the root folder and one in app/ folder. The two package.json files have the same dependencies and devDependencies, which is the main reason for the confusion.

Solution
The solution discussed with @valentinstoychev was to keep the app/package.json as simple as possible, and if possible to add some comments to each key in the app/package.json to explain what is the purpose of it. Because there are no comments in the .json format, IMO it's best to describe the functionality in the documentation.

This PR is not final and is only one possible solution. We can decide we want to apply different solution to the problem later on after a discussion. This is simply an easy fix.

Currently we keep only the name, main, version and android keys in the app/package.json if anyone thinks we should exclude or include more keys, please comment this PR or this issue.

@Plamen5kov Plamen5kov self-assigned this Dec 13, 2016
@Plamen5kov Plamen5kov added this to the 2.5.0 milestone Dec 13, 2016
@Plamen5kov
Copy link
Contributor Author

run CI

Copy link
Contributor

@atanasovg atanasovg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

After a successful CI build.

@Plamen5kov
Copy link
Contributor Author

run CI

@Plamen5kov Plamen5kov force-pushed the plamen5kov/fix_issue_#2301 branch from 751a073 to 853c94c Compare December 20, 2016 09:49
@Plamen5kov
Copy link
Contributor Author

run CI

@Plamen5kov Plamen5kov merged commit 07f204a into master Dec 20, 2016
@Plamen5kov Plamen5kov deleted the plamen5kov/fix_issue_#2301 branch January 4, 2017 12:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants