Skip to content

Commit 164db67

Browse files
committed
Add update-lock script
1 parent 28cbef1 commit 164db67

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,18 @@
11
{
22
"name": "web-tooling-benchmark",
3-
"description": "JavaScript Benchmark for common Web Developer workloads",
3+
"description": "JavaScript benchmark for common web developer workloads",
44
"version": "0.4.0",
55
"repository": "https://github.com/v8/web-tooling-benchmark",
66
"main": "src/cli.js",
77
"scripts": {
8+
"benchmark": "node dist/cli.js",
89
"build:uglify-es-bundled": "node node_modules/uglify-es/bin/uglifyjs -b preamble=\"'const UglifyJS = module.exports = {};'\" --self > build/uglify-es-bundled.js",
910
"build:uglify-js-bundled": "node node_modules/uglify-js/bin/uglifyjs -b preamble=\"'const UglifyJS = module.exports = {};'\" --self > build/uglify-js-bundled.js",
1011
"build": "webpack",
1112
"postinstall": "npm run build:uglify-es-bundled && npm run build:uglify-js-bundled && npm run build",
12-
"precommit": "node tools/hooks/pre-commit && lint-staged",
13+
"precommit": "node tools/hooks/pre-commit.js && lint-staged",
1314
"test": "jest",
14-
"benchmark": "node dist/cli.js"
15+
"update-lock": "npm install --package-lock"
1516
},
1617
"lint-staged": {
1718
"src/**/*.css": [

0 commit comments

Comments
 (0)