Skip to content

Commit

Permalink
Add update-lock script
Browse files Browse the repository at this point in the history
  • Loading branch information
mathiasbynens committed May 13, 2018
1 parent 28cbef1 commit 164db67
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,18 @@
{
"name": "web-tooling-benchmark",
"description": "JavaScript Benchmark for common Web Developer workloads",
"description": "JavaScript benchmark for common web developer workloads",
"version": "0.4.0",
"repository": "https://github.com/v8/web-tooling-benchmark",
"main": "src/cli.js",
"scripts": {
"benchmark": "node dist/cli.js",
"build:uglify-es-bundled": "node node_modules/uglify-es/bin/uglifyjs -b preamble=\"'const UglifyJS = module.exports = {};'\" --self > build/uglify-es-bundled.js",
"build:uglify-js-bundled": "node node_modules/uglify-js/bin/uglifyjs -b preamble=\"'const UglifyJS = module.exports = {};'\" --self > build/uglify-js-bundled.js",
"build": "webpack",
"postinstall": "npm run build:uglify-es-bundled && npm run build:uglify-js-bundled && npm run build",
"precommit": "node tools/hooks/pre-commit && lint-staged",
"precommit": "node tools/hooks/pre-commit.js && lint-staged",
"test": "jest",
"benchmark": "node dist/cli.js"
"update-lock": "npm install --package-lock"
},
"lint-staged": {
"src/**/*.css": [
Expand Down

0 comments on commit 164db67

Please sign in to comment.