| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -18,7 +18,7 @@ ROOT="$PWD/../.." | |||
| 18 | 18 | NPM="$ROOT/deps/npm/bin/npm-cli.js" | |
| 19 | 19 | ||
| 20 | 20 | "$NODE" "$NPM" init --yes | |
| 21 | - "$NODE" "$NPM" install --global-style --no-bin-links --production --no-package-lock @babel/core @babel/eslint-parser@latest @babel/plugin-syntax-import-assertions@latest | ||
| 21 | + "$NODE" "$NPM" install --global-style --no-bin-links --ignore-scripts --no-package-lock @babel/core @babel/eslint-parser @babel/plugin-syntax-import-assertions | ||
| 22 | 22 | ||
| 23 | 23 | # Use dmn to remove some unneeded files. | |
| 24 | 24 | "$NODE" "$NPM" exec -- dmn@2.2.2 -f clean | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -20,8 +20,7 @@ rm -rf node_modules/eslint node_modules/eslint-plugin-markdown | |||
| 20 | 20 | ||
| 21 | 21 | "$NODE" "$NPM" init --yes | |
| 22 | 22 | ||
| 23 | - "$NODE" "$NPM" install --global-style --no-bin-links --production --no-package-lock eslint@latest | ||
| 24 | - "$NODE" "$NPM" install --global-style --no-bin-links --production --no-package-lock eslint-plugin-markdown@latest | ||
| 23 | + "$NODE" "$NPM" install --global-style --no-bin-links --ignore-scripts --no-package-lock eslint eslint-plugin-markdown | ||
| 25 | 24 | ||
| 26 | 25 | # Use dmn to remove some unneeded files. | |
| 27 | 26 | "$NODE" "$NPM" exec -- dmn@2.2.2 -f clean | |
| Back | FazBrowse Home | New Git URL |
0 commit comments