docs: website for LiquidJS

This commit is contained in:
harttle
2020-03-28 17:21:07 +08:00
parent 0633dbeabb
commit 3e42d6b1b0
422 changed files with 14509 additions and 50335 deletions
+6 -5
View File
@@ -8,7 +8,9 @@
"types": "dist/liquid.d.ts",
"scripts": {
"lint": "eslint .",
"docs": "rm docs -rf && typedoc --gitRevision master --out docs src && cp -r website/. docs/",
"build-docs": "bin/build-docs.sh",
"index-docs": "bin/index-docs.sh",
"serve-docs": "cd docs && hexo serve",
"check": "npm test && npm run lint",
"unit": "mocha \"test/unit/**/*.ts\"",
"integration": "mocha \"test/integration/**/*.ts\"",
@@ -18,7 +20,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 docs"
"watch": "tsc --watch"
},
"bin": {
"liquidjs": "./bin/liquid.js",
@@ -33,9 +35,8 @@
"url": "https://opencollective.com/liquidjs"
},
"files": [
"bin",
"bin/liquid.js",
"dist",
"docs",
"LICENSE",
"README.md"
],
@@ -105,6 +106,7 @@
"ts-node": "^8.0.2",
"tslib": "^1.9.3",
"typedoc": "^0.15.0",
"typedoc-plugin-markdown": "^2.2.17",
"typescript": "^3.3.3"
},
"release": {
@@ -120,7 +122,6 @@
"assets": [
"package.json",
"package-lock.json",
"docs",
"CHANGELOG.md"
],
"message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"