Skip to content

Commit

Permalink
Merge pull request #372 from orchitech/npm-prepare
Browse files Browse the repository at this point in the history
Replace deprecated `prepublish` script with `prepare` - also fixes build when used as a git-linked dependency.
  • Loading branch information
martincizek authored Mar 15, 2021
2 parents 46e6ffa + c11f982 commit 24070bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"build-umd": "rollup -c config/rollup.config.umd.js && rollup -c config/rollup.config.browser.umd.js",
"build-iife": "rollup -c config/rollup.config.iife.js",
"build-test": "browserify test/turndown-test.js --outfile test/turndown-test.browser.js",
"prepublish": "npm run build",
"prepare": "npm run build",
"test": "npm run build && npm run build-test && standard ./src/**/*.js && node test/turndown-test.js"
}
}

0 comments on commit 24070bc

Please sign in to comment.