Skip to content

Commit 8135660

Browse files
committed
fix(benchmark): simplify benchmark script commands for improved readability
1 parent 704f6e7 commit 8135660

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -78,10 +78,10 @@
7878
"postlint": "eclint check $(git ls-files | xargs find 2> /dev/null | grep -vE 'node_modules|\\.git' | grep -v dist/)",
7979
"lint": "eslint --ext=js,mjs .",
8080
"benchmark": "cd benchmark && npm install && node .",
81-
"benchmark:parse": "cd benchmark && npm install && node . --parse",
82-
"benchmark:stringify": "cd benchmark && npm install && node . --stringify",
83-
"benchmark:baseline": "cd benchmark && npm install && node . --save-baseline",
84-
"benchmark:compare": "cd benchmark && npm install && node . --baseline benchmark/baseline.json",
81+
"benchmark:parse": "npm run benchmark -- --parse",
82+
"benchmark:stringify": "npm run benchmark -- --stringify",
83+
"benchmark:baseline": "npm run benchmark -- --save-baseline",
84+
"benchmark:compare": "npm run benchmark -- --baseline benchmark/baseline.json",
8585
"benchmark:stress": "STRESS_TEST=1 npm run benchmark",
8686
"dist": "mkdirp dist && browserify --standalone Qs -g unassertify -g @browserify/envify -g [@browserify/uglifyify --mangle.keep_fnames --compress.keep_fnames --format.indent_level=1 --compress.arrows=false --compress.passes=4 --compress.typeofs=false] -p common-shakeify -p bundle-collapser/plugin lib/index.js > dist/qs.js"
8787
},

0 commit comments

Comments
 (0)