Skip to content

Commit

Permalink
Add knip + config
Browse files Browse the repository at this point in the history
  • Loading branch information
webpro committed Oct 11, 2022
1 parent bad5f64 commit ee99f63
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
8 changes: 8 additions & 0 deletions knip.json
@@ -0,0 +1,8 @@
{
"entryFiles": ["bin/release-it.js"],
"projectFiles": ["bin/release-it.js", "lib/**/*.js"],
"dev": {
"entryFiles": ["bin/release-it.js", "test/*.js"],
"projectFiles": ["bin/release-it.js", "lib/**/*.js", "test/**/*.js"]
}
}
4 changes: 3 additions & 1 deletion package.json
Expand Up @@ -51,7 +51,8 @@
"lint": "eslint lib test",
"format": "prettier --write \"{lib,test}/**/*.js\"",
"test": "ava --no-worker-threads",
"release": "./bin/release-it.js"
"release": "./bin/release-it.js",
"knip": "knip"
},
"author": {
"email": "lars@webpro.nl",
Expand Down Expand Up @@ -95,6 +96,7 @@
"eslint-plugin-ava": "13.2.0",
"eslint-plugin-import": "2.26.0",
"eslint-plugin-prettier": "4.2.1",
"knip": "0.2.0",
"mock-fs": "5.1.4",
"mock-stdio": "1.0.3",
"nock": "13.2.9",
Expand Down

0 comments on commit ee99f63

Please sign in to comment.