fix: Add pre-publish build step
This change affects only packages that have a build step at this time.
MODIFY
packages/harden-integration-test/package.json
packages/harden-integration-test/package.json
"main": "index.js",
"private": true,
"scripts": {
+ "prepublish": "yarn clean && yarn build",
"depcheck": "depcheck",
"lint": "eslint '**/*.js'",
"lint-fix": "eslint --fix '**/*.js'",

MODIFY
packages/harden/package.json
packages/harden/package.json
"browser": "dist/harden.umd.js",
"types": "index.d.ts",
"scripts": {
+ "prepublish": "yarn clean && yarn build",
"depcheck": "depcheck",
"lint": "eslint '**/*.js'",
"lint-fix": "eslint --fix '**/*.js'",

MODIFY
packages/make-hardener-integration-test/package.json
packages/make-hardener-integration-test/package.json
"main": "index.js",
"private": true,
"scripts": {
+ "prepublish": "yarn clean && yarn build",
"depcheck": "depcheck",
"lint": "eslint '**/*.js'",
"lint-fix": "eslint --fix '**/*.js'",

MODIFY
packages/make-hardener/package.json
packages/make-hardener/package.json
"browser": "./dist/make-hardener.umd.js"
},
"scripts": {
+ "prepublish": "yarn clean && yarn build",
"depcheck": "depcheck",
"lint": "eslint '**/*.js'",
"lint-fix": "eslint --fix '**/*.js'",

MODIFY
packages/ses/package.json
packages/ses/package.json
"browser": "./dist/ses.umd.js"
},
"scripts": {
+ "prepublish": "yarn clean && yarn build",
"depcheck": "depcheck",
"clean": "rm -rf dist",
"prepublish": "yarn clean && yarn build",

fix: Add pre-publish build step (#263)

This change affects only packages that have a build step at this time.