Skip to content
This repository has been archived by the owner on Jan 10, 2025. It is now read-only.

Commit

Permalink
type-length-value-js: add docs configs (#6289)
Browse files Browse the repository at this point in the history
  • Loading branch information
Joe C authored Feb 24, 2024
1 parent 35b4353 commit 4114325
Show file tree
Hide file tree
Showing 4 changed files with 45 additions and 12 deletions.
Empty file.
18 changes: 11 additions & 7 deletions libraries/type-length-value/js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,17 +28,20 @@
"import": "./lib/esm/index.js"
},
"scripts": {
"nuke": "shx rm -rf node_modules package-lock.json || true",
"reinstall": "npm run nuke && npm install",
"clean": "shx rm -rf lib **/*.tsbuildinfo || true",
"build": "tsc --build --verbose tsconfig.all.json",
"postbuild": "shx echo '{ \"type\": \"commonjs\" }' > lib/cjs/package.json",
"watch": "tsc --build --verbose --watch tsconfig.all.json",
"release": "npm run clean && npm run build",
"clean": "shx rm -rf lib **/*.tsbuildinfo || true",
"deploy": "npm run deploy:docs",
"deploy:docs": "npm run docs && gh-pages --dest type-length-value/js --dist docs --dotfiles",
"docs": "shx rm -rf docs && typedoc && shx cp .nojekyll docs/",
"fmt": "prettier --write '{*,**/*}.{ts,tsx,js,jsx,json}'",
"lint": "prettier --check '{*,**/*}.{ts,tsx,js,jsx,json}' && eslint --max-warnings 0 .",
"lint:fix": "npm run fmt && eslint --fix .",
"test": "mocha test"
"nuke": "shx rm -rf node_modules package-lock.json || true",
"postbuild": "shx echo '{ \"type\": \"commonjs\" }' > lib/cjs/package.json",
"reinstall": "npm run nuke && npm install",
"release": "npm run clean && npm run build",
"test": "mocha test",
"watch": "tsc --build --verbose --watch tsconfig.all.json"
},
"dependencies": {
"buffer": "^6.0.3"
Expand All @@ -59,6 +62,7 @@
"prettier": "^3.2.5",
"shx": "^0.3.4",
"ts-node": "^10.9.2",
"typedoc": "^0.25.8",
"typescript": "^5.3.3"
}
}
5 changes: 5 additions & 0 deletions libraries/type-length-value/js/typedoc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"entryPoints": ["src/index.ts"],
"out": "docs",
"readme": "README.md"
}
34 changes: 29 additions & 5 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 4114325

Please sign in to comment.