- Notifications
You must be signed in to change notification settings - Fork 63
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
We think it would be valuable to have a web-scripts init script which takes care of a few things.
- installs
@spotify/web-scriptsandhuskyas devDepdendencies if they are not currently a dependency or devDependency.- the package would need to install itself in case it was invoked via
npxor was a global dep.
- the package would need to install itself in case it was invoked via
- adds npm scripts for
build,test,lint,commit, andreleaseif you don't already have them defined. - adds the hooks for
precommitandcommitmsgin package.json (again, if neither is defined already) - set
main,module, andtypesin package.json to conform withweb-scripts build's output. - create
tsconfig.json,.eslintrc.js,prettier.config.js,jest.config.jsif they do not exist for your editor integrations, as described in the README.
We need to add an integration test for the init command.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request