fix: cache ongoing parseFile() calls, fixes #416

This commit is contained in:
Harttle
2021-10-16 21:07:48 +08:00
committed by harttle
parent c58a116513
commit 8894cbfe6e
8 changed files with 63 additions and 32 deletions
+2 -2
View File
@@ -12,14 +12,14 @@
"types": "dist/liquid.d.ts",
"scripts": {
"lint": "eslint \"**/*.ts\" .",
"check": "npm test && npm run lint",
"check": "npm run build && npm test && npm run lint",
"test": "nyc mocha \"test/**/*.ts\"",
"test:e2e": "mocha \"test/e2e/**/*.ts\"",
"perf": "cd benchmark && npm ci && npm start",
"perf:diff": "bin/perf-diff.sh",
"perf:engines": "cd benchmark && npm run engines",
"build": "npm run build:dist && npm run build:docs",
"build:dist": "rollup -c rollup.config.ts && ls -lh dist",
"build:dist": "rollup -c rollup.config.ts",
"build:docs": "bin/build-docs.sh"
},
"bin": {