Skip to content

Commit

Permalink
Added npm run build-local command.
Browse files Browse the repository at this point in the history
  • Loading branch information
azel-s committed Feb 23, 2024
1 parent 2deceb2 commit b7c14d6
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -165,12 +165,15 @@
"fix:prettier": "yarn lint:prettier --write",
"build": "node ./scripts/build/build.mjs",
"build:website": "node ./scripts/build-website.mjs",
"vendors:bundle": "node ./scripts/vendors/bundle-vendors.mjs"
"vendors:bundle": "node ./scripts/vendors/bundle-vendors.mjs",
"build-local_win32": "npm run build && cd .. && robocopy prettier/dist/ prettier-vscode/node_modules/prettier/ && cd prettier",
"build-local_darwin": "npm run build && cd .. && cp -R prettier/dist/ prettier-vscode/node_modules/prettier/ && cd prettier",
"build-local": "node -e \"child_process.exec(`npm run build-local_${os.platform()}`)\""
},
"browserslist": [
">0.5%",
"not ie 11",
"not safari 5.1",
"not op_mini all"
]
}
}

0 comments on commit b7c14d6

Please sign in to comment.