Add Deno test supported & RegExp construction at route creation time

This commit is contained in:
2022-07-03 19:15:42 +00:00
committed by GitHub
parent 6559a3f134
commit 87744a2b25
10 changed files with 153 additions and 40 deletions

View File

@ -46,7 +46,8 @@
"clean": "rm -rf ./dist",
"demo": "env NODE_ENV=development yarn build:node && node ./dist/main.node.js",
"tsc": "tsc",
"test": "jest",
"test:node": "jest ./test/node.test.ts",
"test:deno": "BUILD_TARGET=deno:test webpack && jest ./test/deno.test.ts",
"coverage": "jest --collectCoverage --"
},
"engines": {