diff --git a/examples/benchmark/package.json b/examples/benchmark/package.json index c30b8be5..5aec3fa5 100644 --- a/examples/benchmark/package.json +++ b/examples/benchmark/package.json @@ -5,7 +5,7 @@ "scripts": { "build": "true", "start": "npm run build && npx http-server . -o", - "pretest": "HUSKY=0 npm install", + "pretest": "HUSKY=0 npm install --package-lock=false", "test": "node node.js" }, "dependencies": { diff --git a/examples/browser-rollup/package.json b/examples/browser-rollup/package.json index 72e1298b..4a846cec 100644 --- a/examples/browser-rollup/package.json +++ b/examples/browser-rollup/package.json @@ -3,7 +3,7 @@ "version": "0.0.0", "private": true, "scripts": { - "build": "npm install && rm -rf dist && rollup -c", + "build": "npm install --package-lock=false && rm -rf dist && rollup -c", "start": "npm run build && npx http-server . -o" }, "dependencies": { diff --git a/examples/browser-webpack/package.json b/examples/browser-webpack/package.json index 1983c364..1bc95b23 100644 --- a/examples/browser-webpack/package.json +++ b/examples/browser-webpack/package.json @@ -3,7 +3,7 @@ "version": "0.0.0", "private": true, "scripts": { - "build": "npm install && rm -rf dist && webpack", + "build": "npm install --package-lock=false && rm -rf dist && webpack", "start": "npm run build && npx http-server . -o" }, "dependencies": { diff --git a/examples/node-commonjs/package.json b/examples/node-commonjs/package.json index 20c2bfc7..32ad288e 100644 --- a/examples/node-commonjs/package.json +++ b/examples/node-commonjs/package.json @@ -3,7 +3,7 @@ "version": "0.0.0", "private": true, "scripts": { - "pretest": "npm install", + "pretest": "npm install --package-lock=false", "test": "node example.js" }, "dependencies": { diff --git a/examples/node-esmodules/package.json b/examples/node-esmodules/package.json index cee6c45b..8446231f 100644 --- a/examples/node-esmodules/package.json +++ b/examples/node-esmodules/package.json @@ -5,7 +5,7 @@ "scripts": { "test:package": "( node --version | grep -vq 'v16' ) || ( node --experimental-json-modules package.mjs )", "test:example": "node example.mjs", - "pretest": "npm install", + "pretest": "npm install --package-lock=false", "test": "npm-run-all test:*" }, "dependencies": { diff --git a/examples/node-jest/package.json b/examples/node-jest/package.json index 832014c5..41352a5f 100644 --- a/examples/node-jest/package.json +++ b/examples/node-jest/package.json @@ -3,7 +3,7 @@ "version": "0.0.0", "private": true, "scripts": { - "pretest": "npm install", + "pretest": "npm install --package-lock=false", "test": "jest" }, "dependencies": { diff --git a/examples/node-webpack/package.json b/examples/node-webpack/package.json index 139bbda9..4253f213 100644 --- a/examples/node-webpack/package.json +++ b/examples/node-webpack/package.json @@ -4,7 +4,7 @@ "private": true, "scripts": { "build": "rm -rf dist && webpack", - "pretest": "npm install", + "pretest": "npm install --package-lock=false", "test": "npm run build && node dist/v1.js && node dist/v4.js && node dist/v7.js && node dist/all.js" }, "dependencies": {