Skip to content

Commit

Permalink
Added scripts for publishing
Browse files Browse the repository at this point in the history
- run the dist webpack and be sure to publish only the /dist directory
  • Loading branch information
mrWh1te committed Feb 19, 2020
1 parent c41c1f5 commit 98bd62e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "botmation",
"version": "1.0.2",
"version": "1.0.3",
"description": "A TypeScript library for using Puppeteer with a declarative syntax in composing web crawler automation",
"module": "dist/index.js",
"types": "dist/index.d.ts",
Expand All @@ -10,6 +10,8 @@
},
"scripts": {
"dist": "webpack",
"publish-to-npm": "npm publish dist",
"prepublish": "npm run dist",
"build": "webpack --config webpack.build.config.js",
"playground": "node build/playground_bot.js",
"examples/simple_functional": "node build/examples/simple_functional.js",
Expand Down

0 comments on commit 98bd62e

Please sign in to comment.