Skip to content

Commit a028900

Browse files
authored
Merge pull request #85 from fralik/master
Use NPM prepublishOnly script instead of prepublish
2 parents 2e2747b + 4d00031 commit a028900

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

{{cookiecutter.project_shortname}}/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"scripts": {
1717
"start": "webpack-serve --config ./webpack.serve.config.js --open",
1818
"validate-init": "python _validate_init.py",
19-
"prepublish": "npm run validate-init",
19+
"prepublishOnly": "npm run validate-init",
2020
"build:js": "webpack --mode production",
2121
"build:py_and_r": "dash-generate-components ./src/lib/components {{ cookiecutter.project_shortname }} -p package-info.json --r-prefix '{{ cookiecutter.r_prefix }}'",
2222
"build:py_and_r-activated": "(. venv/bin/activate || venv\\scripts\\activate && npm run build:py_and_r)",

0 commit comments

Comments
 (0)