chore: update dependencies and remove unused files

refactor: migrate from nodemon to http-server for development
build: add type module and update package.json scripts
This commit is contained in:
你的名字
2025-07-21 18:19:22 +08:00
parent 6f3b0d4aac
commit c449a4fabd
433 changed files with 31743 additions and 48683 deletions

View File

@@ -1,17 +1,26 @@
{
"name": "path-to-regexp",
"description": "Express style path to RegExp utility",
"version": "0.1.12",
"version": "3.3.0",
"main": "index.js",
"typings": "index.d.ts",
"files": [
"index.js",
"index.d.ts",
"LICENSE"
],
"scripts": {
"test": "istanbul cover _mocha -- -R spec"
"lint": "standard",
"test-spec": "mocha --require ts-node/register -R spec --bail test.ts",
"test-cov": "nyc --reporter=lcov mocha -- --require ts-node/register -R spec test.ts",
"coverage": "nyc report --reporter=text-lcov",
"test": "npm run lint && npm run test-cov"
},
"keywords": [
"express",
"regexp"
"regexp",
"route",
"routing"
],
"component": {
"scripts": {
@@ -24,7 +33,14 @@
"url": "https://github.com/pillarjs/path-to-regexp.git"
},
"devDependencies": {
"mocha": "^1.17.1",
"istanbul": "^0.2.6"
"@types/chai": "^4.0.4",
"@types/mocha": "^5.2.5",
"@types/node": "^12.7.3",
"chai": "^4.1.1",
"mocha": "^6.2.0",
"nyc": "^14.1.1",
"standard": "^14.1.0",
"ts-node": "^8.3.0",
"typescript": "^3.7.2"
}
}