Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move all configs to package.json but remove them during npm publish #65

Closed
ai opened this issue Jul 7, 2018 · 6 comments
Closed

Move all configs to package.json but remove them during npm publish #65

ai opened this issue Jul 7, 2018 · 6 comments

Comments

@ai
Copy link
Owner

ai commented Jul 7, 2018

No description provided.

@shashkovdanil
Copy link

shashkovdanil commented Jul 10, 2018

Did I understand correctly that we need to copy the project files without the configuration files to the temporary directory, clean the package.json and run the npm publish command in this temporary directory?

RUS:
Правильно ли я понял, что нам надо файлы проекта без файлов настроек скопировать во временную директорию, почистить файл package.json и запустить в этой временной директории команду npm publish?

@ai
Copy link
Owner Author

ai commented Jul 10, 2018

@shashkovdanil yeap 👍 (good English, BTW)

@shashkovdanil
Copy link

@ai
Copy link
Owner Author

ai commented Jul 10, 2018

@shashkovdanil very simple repository to start ;). Try to copy open source best practices from Size Limit (CLI project as well).

I tried to create issues for main problems.

@shashkovdanil
Copy link

Сurrent functionality Clean Publish tool:

  1. Remove config files
  2. Remove fields and dev scripts from package.json
  3. npm publish after clean
  4. Args files and fields to delete the specified files and fields

Current tasks:

  1. Tests
  2. Add white list
  3. Fix list npm scripts

@ai
Copy link
Owner Author

ai commented Jul 14, 2018

Done by @shashkovdanil

@ai ai closed this as completed Jul 14, 2018
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

No branches or pull requests

2 participants