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

Keep local changes for package.json → scripts #46

Closed
ai opened this issue Jul 24, 2019 · 0 comments
Closed

Keep local changes for package.json → scripts #46

ai opened this issue Jul 24, 2019 · 0 comments
Labels
bug Something isn't working strategies Issues related to configs strategies

Comments

@ai
Copy link
Contributor

ai commented Jul 24, 2019

I have in config

  "scripts": {
    "api": "documentation build *.js -f md -o api.md",
    "spell": "yarn api && yaspeller-ci *.md",
    "clean": "rimraf api.md coverage/",
    "test": "jest --coverage && eslint-ci . && size-limit && yarn spell"
  },

and in project:

  "scripts": {
    "api": "documentation build *.js -f md -o api.md",
    "spell": "yarn api && yaspeller-ci *.md",
    "clean": "rimraf api.md coverage/",
    "test": "jest --coverage && eslint-ci . && size-limit && yarn spell",
    "start": "parcel serve test/demo/index.html -d test/demo/build --open"
  },

When I updated the config, my start script was removed

@epszaw epszaw added bug Something isn't working strategies Issues related to configs strategies labels Jul 25, 2019
epszaw pushed a commit that referenced this issue Jul 28, 2019
test(sharec): add additional tests for package.json scripts section
fix(sharec): update snapshots and incorrect test-suites names

closes issues #46 #47
@epszaw epszaw closed this as completed Jul 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working strategies Issues related to configs strategies
Projects
None yet
Development

No branches or pull requests

2 participants