Skip to content

Commit 0cb13b1

Browse files
committed
chore(package): add build scripts for docs
1 parent 4b6edd1 commit 0cb13b1

1 file changed

Lines changed: 8 additions & 3 deletions

File tree

package.json

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,11 @@
3030
"postngc:esm": "mkdir -p dist/ && cp -R .tmp/esm/src/* dist/ && rimraf src/**/*.ngfactory.ts",
3131
"test": "karma start",
3232
"test:watch": "karma start --no-single-run --auto-watch",
33-
"ci": "npm run build && npm run test"
33+
"ci": "npm run build && npm run test",
34+
"docs:clean": "rimraf docs/public",
35+
"docs:hugo": "cd docs && hugo",
36+
"docs": "npm run docs:hugo && npm run apidocs:core",
37+
"apidocs:core": "compodoc -p tsconfig.json --name AgmCoreModule --output docs/public/api-docs/agm-core/ --disablePrivateOrInternalSupport --hideGenerator --disableCoverage"
3438
},
3539
"author": "Sebastian Müller <info@sebastian-mueller.net>",
3640
"license": "MIT",
@@ -43,15 +47,16 @@
4347
"@angular/core": "^4.0.0 || ^2.0.0"
4448
},
4549
"devDependencies": {
46-
"@angular/common": "^4.0.0",
47-
"@angular/core": "^4.0.0",
4850
"@angular/animations": "^4.0.0",
51+
"@angular/common": "^4.0.0",
4952
"@angular/compiler": "^4.0.0",
5053
"@angular/compiler-cli": "^4.0.0",
54+
"@angular/core": "^4.0.0",
5155
"@angular/platform-browser": "^4.0.0",
5256
"@angular/platform-browser-dynamic": "^4.0.0",
5357
"@angular/platform-server": "^4.0.0",
5458
"@angular/tsc-wrapped": "4.0.0",
59+
"@compodoc/compodoc": "^1.0.0-beta.9",
5560
"@ngtools/webpack": "1.3.0",
5661
"@types/jasmine": "2.5.46",
5762
"angular2-template-loader": "^0.6.2",

0 commit comments

Comments
 (0)