Skip to content

Commit 7e7c91d

Browse files
committed
👷 ci: add prepack lint [no ci]
Signed-off-by: Haili Zhang <haili.zhang@outlook.com>
1 parent 67ea9c1 commit 7e7c91d

File tree

2 files changed

+21
-3
lines changed

2 files changed

+21
-3
lines changed

package-lock.json

Lines changed: 17 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,8 @@
3636
"docs": "npm run compile && api-extractor run --local --verbose",
3737
"watch": "npm run compile -- --watch",
3838
"prepare": "npm run build",
39-
"pretest": "npm run compile"
39+
"pretest": "npm run compile",
40+
"prepack": "clean-pkg-json"
4041
},
4142
"prepush": [
4243
"build",
@@ -69,6 +70,7 @@
6970
"@types/sinon": "10.0.11",
7071
"@types/supertest": "2.0.12",
7172
"aedes": "^0.47.0",
73+
"clean-pkg-json": "^1.2.0",
7274
"concurrently": "^7.3.0",
7375
"cross-env": "^7.0.3",
7476
"env-cmd": "^10.1.0",
@@ -79,7 +81,7 @@
7981
"shelljs": "^0.8.5",
8082
"sinon": "^14.0.0",
8183
"supertest": "6.2.3",
82-
"typescript": "^4.7.4",
84+
"typescript": "^4.8.2",
8385
"wait-on": "^6.0.1"
8486
}
8587
}

0 commit comments

Comments
 (0)