Added speedtest script to package

ref #19
This commit is contained in:
Nicolai Ort 2021-02-09 18:02:43 +01:00
parent 44f139aa01
commit 75b8b281b8
1 changed files with 5 additions and 2 deletions

View File

@ -8,7 +8,9 @@
"build": "rimraf ./dist && tsc && cp-cli ./src/templates ./dist/templates && cp-cli ./src/locales ./dist/locales",
"licenses:export": "license-exporter --markdown",
"release": "release-it --only-version",
"translations:sort": "node sort_translations.js"
"translations:sort": "node sort_translations.js",
"test:speed": "start-server-and-test dev http://localhost:4010/docs/openapi.json test:speed:run",
"test:speed:run": "ts-node src/tests/speedtest.ts"
},
"repository": {
"type": "git",
@ -70,6 +72,7 @@
"nodemon": "^2.0.7",
"release-it": "^14.2.2",
"rimraf": "^3.0.2",
"start-server-and-test": "^1.12.0",
"ts-node": "^9.1.1",
"typescript": "^4.1.3"
},
@ -86,4 +89,4 @@
"publish": false
}
}
}
}