message: Delete types before building them
diff: },
  "scripts": {
  "start": "webpack serve --config config/webpack-dev.config.js",
  - "dist": "del types && npm run build:types && del dist && webpack",
  + "dist": "npm run build:types && del dist && webpack",
  "type-check": "tsc --noEmit",
  "type-check:watch": "npm run type-check -- --watch",
  - "build:types": "tsc --emitDeclarationOnly",
  + "build:types": "del types && tsc --emitDeclarationOnly",
  "pretty-print": "npx prettier --write ./{src,demo,config}/**/* && npx prettier --write ./*.js",
  "publish:demo": "npm run dist && node gh-pages.publish.js",
  "publish:npm": "np",
  