fix main declaration
This commit is contained in:
parent
7bb0e3a072
commit
29aab733b0
@ -5,12 +5,13 @@
|
||||
"registry": "https://gitea.home.jbrumond.me/api/packages/doc-utils/npm/"
|
||||
},
|
||||
"scripts": {
|
||||
"tsc": "tsc"
|
||||
"tsc": "tsc",
|
||||
"clean": "rm -rf ./build"
|
||||
},
|
||||
"bin": {
|
||||
"markdown2html": "./bin/markdown2html"
|
||||
},
|
||||
"exports": "./build/index.js",
|
||||
"main": "./src/index.ts",
|
||||
"devDependencies": {
|
||||
"@types/dompurify": "^2.3.3",
|
||||
"@types/jsdom": "^20.0.0",
|
||||
|
@ -22,8 +22,11 @@ These are the primary projects used to render various types of content:
|
||||
# Update project npm config to refer to correct registry for the @doc-utils scope
|
||||
echo '@doc-utils:registry=https://gitea.jbrumond.me/api/packages/doc-utils/npm/' >> ./.npmrc
|
||||
|
||||
# Install package
|
||||
# Install package for programatic use
|
||||
npm install --save @doc-utils/markdown2html
|
||||
|
||||
# Install globally for CLI usage
|
||||
npm install --global @doc-utils/markdown2html
|
||||
```
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user