File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # Release instructions
2+
3+ These are the minimum required steps to publish the statful browser plugin on npm.
4+ Must be executed in the following order
5+
6+ ## Locally
7+ 1 . ``` npm run test ```
8+ 2 . ``` npm run build ```
9+ 3 . update version in package.json
10+
11+ ## GitHub
12+
13+ ### Pull Request
14+ 1 . create a new pull request
15+ 2 . merge pull request by selecting "squash and merge" from the dropdown selector
16+
17+ ### New Release
18+ 1 . click in the "draft new release" button on repo homepage
19+ 2 . insert the version as it is in package.json
20+ 3 . Add a necessary summary for the current release (optional)
21+ 4 . click the "Publish Release" button
22+
23+ ## NPM
24+
25+ 1 . login into npm in a terminal window ``` npm login ```
26+ 2 . run ``` npm publish ```
27+
28+ Check the [ statful-browser-plugin] ( https://www.npmjs.com/package/statful-browser-plugin ) on NPM to verify that the newly created version is available.
You can’t perform that action at this time.
0 commit comments