Browse Source

build: fix docs build (#131)

main
Justin Poehnelt 4 years ago committed by GitHub
parent
commit
6cdd1dd96e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      .github/workflows/ci.yml
  2. 2
      package.json
  3. 3
      tsconfig.json
  4. 6
      typedoc.js

1
.github/workflows/ci.yml

@ -22,4 +22,5 @@ jobs: @@ -22,4 +22,5 @@ jobs:
- run: npm i
- run: npm run lint
- run: npm test
- run: npm run docs
- uses: codecov/codecov-action@v1

2
package.json

@ -25,7 +25,7 @@ @@ -25,7 +25,7 @@
"module": "dist/index.esm.js",
"types": "dist/index.d.ts",
"scripts": {
"docs": "typedoc",
"docs": "typedoc src/index.ts",
"format": "prettier *.json *.js e2e/* examples/*.html --write && eslint src/* --fix",
"lint": "eslint src/*",
"prepare": "rollup -c",

3
tsconfig.json

@ -8,7 +8,8 @@ @@ -8,7 +8,8 @@
"esModuleInterop": true,
"lib": ["DOM", "ESNext"],
"target": "ES6",
"moduleResolution": "node"
"moduleResolution": "node",
"skipLibCheck": true,
},
"include": ["src/**/*"]
}

6
typedoc.js

@ -15,12 +15,8 @@ @@ -15,12 +15,8 @@
*/
module.exports = {
mode: "file",
target: "es6",
out: "docs",
exclude: ["**/node_modules/**", "**/*.spec.ts", "**/*.test.ts"],
name: "",
name: "@googlemaps/markerwithlabels",
excludePrivate: true,
excludeNotExported: true,
excludeExternals: true,
};

Loading…
Cancel
Save