Skip to content

Commit

Permalink
chore(package): remove doc script (#245)
Browse files Browse the repository at this point in the history
  • Loading branch information
Fdawgs authored Jan 24, 2023
1 parent 1032a12 commit 6d9e929
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,6 @@ jobs:
# Build docs and TS definitions and remove dev values from package.json
run: |
npm i --ignore-scripts
npm run doc
npm run build
npm pkg delete commitlint devDependencies jest scripts
npm publish --ignore-scripts
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ Steps 2. and 4. are automatically run by a pre-commit hook added by [Husky](http

## Release Process

Before a release, ensure the API docs are regenerated with `npm run doc`.
Before a release, ensure the API docs are regenerated with `npm run build`.

## Issues

Expand Down
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,7 @@
"node": ">=14.0.0"
},
"scripts": {
"build": "tsc",
"doc": "tsc && jsdoc2md src/index.js > API.md && npm run lint:prettier",
"build": "tsc && jsdoc2md src/index.js > API.md && npm run lint:prettier",
"jest": "jest",
"jest:coverage": "jest --coverage",
"lint": "eslint . --cache --ext js,jsx --ignore-path .gitignore",
Expand Down

0 comments on commit 6d9e929

Please sign in to comment.