Skip to content

Commit

Permalink
chore: add verdaccio config and local publish script
Browse files Browse the repository at this point in the history
  • Loading branch information
m-radzikowski committed Sep 19, 2021
1 parent 2ee7574 commit eceda19
Show file tree
Hide file tree
Showing 4 changed files with 1,460 additions and 60 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ node_modules/
dist/
coverage/
compatibility/
verdaccio-storage/
7 changes: 5 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@
"size": "size-limit",
"size:analyze": "size-limit --why",
"release": "standard-version",
"generate-compatibility": "ts-node ./misc/generate-compatibility.ts"
"generate-compatibility": "ts-node ./misc/generate-compatibility.ts",
"verdaccio": "rimraf verdaccio-storage && verdaccio -c verdaccio.yml",
"local-publish": "npm publish --registry http://localhost:4873/"
},
"main": "dist/cjs/index.js",
"types": "dist/types/index.d.ts",
Expand Down Expand Up @@ -77,7 +79,8 @@
"ts-node": "10.2.1",
"tsd": "0.17.0",
"typedoc": "0.22.3",
"typescript": "4.2.4"
"typescript": "4.2.4",
"verdaccio": "5.1.5"
},
"jest": {
"preset": "ts-jest",
Expand Down
6 changes: 6 additions & 0 deletions verdaccio.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
storage: verdaccio-storage

packages:
"**":
access: $all
publish: $all
Loading

0 comments on commit eceda19

Please sign in to comment.