Skip to content

Commit

Permalink
Build types in the “build” target
Browse files Browse the repository at this point in the history
  • Loading branch information
hectorm committed Sep 18, 2024
1 parent 68e1387 commit ce9a5c0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,6 @@ jobs:
cache: "npm"
- name: "Install dependencies"
run: "npm ci"
- name: "Build types"
run: "npm run types"
- name: "Build lib"
run: "npm run build"
- name: "Build docs"
Expand Down
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,13 +60,13 @@
"dist/"
],
"scripts": {
"all": "run-s types build docs lint test",
"types": "run-s types:clean types:compile",
"types:clean": "rimraf ./types/",
"types:compile": "tsc -p ./src/",
"build": "run-s build:clean build:compile",
"all": "run-s build docs lint test",
"build": "run-s build:clean build:types build:compile",
"build:clean": "rimraf ./dist/",
"build:compile": "rollup -c",
"build:types": "run-s build:types:clean build:types:compile",
"build:types:clean": "rimraf ./types/",
"build:types:compile": "tsc -p ./src/",
"docs": "run-s docs:clean docs:compile",
"docs:clean": "rimraf ./docs/",
"docs:compile": "typedoc ./src/index.js --readme none --out ./docs/",
Expand Down

0 comments on commit ce9a5c0

Please sign in to comment.