chore(benchmark): fix `package.json` scripts (#7205)

This commit is contained in:
IWANABETHATGUY 2020-04-17 17:08:29 +08:00 committed by GitHub
parent 8b5351bc9d
commit 2f4a4cbe38
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 2 deletions

View File

@ -1,8 +1,9 @@
{
"name": "nuxt-benchmarks",
"scripts": {
"build": "nuxt build",
"start": "npm run build && nuxt start",
"build": "npm run nuxt -- build",
"start": "npm run build && npm run nuxt -- start",
"nuxt": "node -r esm ../packages/cli/bin/nuxt-cli.js",
"bench:stateless": "ab -c1 -n3000 http://127.0.0.1:3000/stateless",
"bench:stateless-big": "ab -c1 -n500 http://127.0.0.1:3000/stateless-big"
}