|
28 | 28 | "import": "./lib/esm/index.js" |
29 | 29 | }, |
30 | 30 | "scripts": { |
31 | | - "nuke": "shx rm -rf node_modules package-lock.json || true", |
32 | | - "reinstall": "npm run nuke && npm install", |
33 | | - "clean": "shx rm -rf lib **/*.tsbuildinfo || true", |
34 | 31 | "build": "tsc --build --verbose tsconfig.all.json", |
35 | | - "postbuild": "shx echo '{ \"type\": \"commonjs\" }' > lib/cjs/package.json", |
36 | | - "watch": "tsc --build --verbose --watch tsconfig.all.json", |
37 | | - "release": "npm run clean && npm run build", |
| 32 | + "clean": "shx rm -rf lib **/*.tsbuildinfo || true", |
| 33 | + "deploy": "npm run deploy:docs", |
| 34 | + "deploy:docs": "npm run docs && gh-pages --dest type-length-value/js --dist docs --dotfiles", |
| 35 | + "docs": "shx rm -rf docs && typedoc && shx cp .nojekyll docs/", |
38 | 36 | "fmt": "prettier --write '{*,**/*}.{ts,tsx,js,jsx,json}'", |
39 | 37 | "lint": "prettier --check '{*,**/*}.{ts,tsx,js,jsx,json}' && eslint --max-warnings 0 .", |
40 | 38 | "lint:fix": "npm run fmt && eslint --fix .", |
41 | | - "test": "mocha test" |
| 39 | + "nuke": "shx rm -rf node_modules package-lock.json || true", |
| 40 | + "postbuild": "shx echo '{ \"type\": \"commonjs\" }' > lib/cjs/package.json", |
| 41 | + "reinstall": "npm run nuke && npm install", |
| 42 | + "release": "npm run clean && npm run build", |
| 43 | + "test": "mocha test", |
| 44 | + "watch": "tsc --build --verbose --watch tsconfig.all.json" |
42 | 45 | }, |
43 | 46 | "dependencies": { |
44 | 47 | "buffer": "^6.0.3" |
|
59 | 62 | "prettier": "^3.2.5", |
60 | 63 | "shx": "^0.3.4", |
61 | 64 | "ts-node": "^10.9.2", |
| 65 | + "typedoc": "^0.25.8", |
62 | 66 | "typescript": "^5.3.3" |
63 | 67 | } |
64 | 68 | } |
0 commit comments