docs: add home page for API doc

This commit is contained in:
harttle
2019-10-20 22:53:29 +08:00
parent 41a33834e7
commit b02a227a81
133 changed files with 2496 additions and 1254 deletions
+2 -2
View File
@@ -8,7 +8,7 @@
"types": "dist/liquid.d.ts",
"scripts": {
"lint": "eslint . --ext .ts",
"doc": "typedoc --out docs src --readme none && touch docs/.nojekyll",
"docs": "rm docs -rf && typedoc --out docs src && cp website/* docs/",
"unit": "mocha \"test/unit/**/*.ts\"",
"integration": "mocha \"test/integration/**/*.ts\"",
"e2e": "npm run build && mocha \"test/e2e/**/*.ts\"",
@@ -17,7 +17,7 @@
"coverage": "nyc --reporter=html mocha \"test/{unit,integration}/**/*.ts\"",
"coverage-coveralls": "nyc mocha \"test/{unit,integration}/**/*.ts\" && nyc report --reporter=text-lcov | coveralls",
"build": "rollup -c rollup.config.ts && ls -lh dist",
"version": "npm run build && npm run doc"
"version": "npm run build && npm run docs"
},
"bin": {
"liquidjs": "./bin/liquid.js",