Skip to content
This repository has been archived by the owner on Aug 8, 2018. It is now read-only.

Commit

Permalink
[*] fix(watch): create dist dir before watching
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathan Bachman committed Jul 11, 2018
1 parent 7160496 commit 1e95eb7
Show file tree
Hide file tree
Showing 12 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion packages/common/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"poststatics": "npm run icons",
"icons": "svgr -d dist/statics/icons dist/statics/icons",
"posticons": "create-index -r ./dist/statics/icons && npm run babel:icons",
"prewatch": "npm run clean && npm run statics",
"prewatch": "npm run clean && mkdir -p dist && npm run statics",
"watch": "npm run babel:es -- --watch",
"release": "wnpm-release --no-shrinkwrap",
"test": "eslint 'src/**/*.{js,jsx}'"
Expand Down
2 changes: 1 addition & 1 deletion packages/editor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"poststatics": "npm run icons",
"icons": "svgr -d dist/statics/icons dist/statics/icons",
"posticons": "create-index -r ./dist/statics/icons && npm run babel:icons",
"prewatch": "npm run clean && npm run statics",
"prewatch": "npm run clean && mkdir -p dist && npm run statics",
"watch": "npm run babel:es -- --watch",
"release": "wnpm-release --no-shrinkwrap",
"lint": "eslint 'src/**/*.{js,jsx}'",
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-divider/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"poststatics": "npm run icons",
"icons": "svgr -d dist/statics/icons dist/statics/icons",
"posticons": "create-index -r ./dist/statics/icons && npm run babel:icons",
"prewatch": "npm run clean && npm run statics",
"prewatch": "npm run clean && mkdir -p dist && npm run statics",
"watch": "npm run babel:es -- --watch",
"release": "wnpm-release --no-shrinkwrap",
"test": "eslint 'src/**/*.{js,jsx}'"
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-emoji/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"poststatics": "npm run icons",
"icons": "svgr -d dist/statics/icons dist/statics/icons",
"posticons": "create-index -r ./dist/statics/icons && npm run babel:icons",
"prewatch": "npm run clean && npm run statics",
"prewatch": "npm run clean && mkdir -p dist && npm run statics",
"watch": "npm run babel:es -- --watch",
"release": "wnpm-release --no-shrinkwrap",
"test": "eslint 'src/**/*.{js,jsx}'"
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-gallery/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"poststatics": "npm run icons",
"icons": "svgr -d dist/statics/icons dist/statics/icons",
"posticons": "create-index -r ./dist/statics/icons && npm run babel:icons",
"prewatch": "npm run clean && npm run statics",
"prewatch": "npm run clean && mkdir -p dist && npm run statics",
"watch": "npm run babel:es -- --watch",
"release": "wnpm-release --no-shrinkwrap",
"test": "eslint 'src/**/*.{js,jsx}'"
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-hashtag/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"statics": "cp -R statics dist/statics",
"build": "mkdir -p dist && npm run babel:es && npm run babel:commonjs",
"postbuild": "npm run statics",
"prewatch": "npm run clean && npm run statics",
"prewatch": "npm run clean && mkdir -p dist && npm run statics",
"watch": "npm run babel:es -- --watch",
"release": "wnpm-release --no-shrinkwrap",
"test": "eslint 'src/**/*.{js,jsx}'"
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-html/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"poststatics": "npm run icons",
"icons": "svgr -d dist/statics/icons dist/statics/icons",
"posticons": "create-index -r ./dist/statics/icons && npm run babel:icons",
"prewatch": "npm run clean && npm run statics",
"prewatch": "npm run clean && mkdir -p dist && npm run statics",
"watch": "npm run babel:es -- --watch",
"release": "wnpm-release --no-shrinkwrap",
"test": "eslint 'src/**/*.{js,jsx}'"
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-image/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"poststatics": "npm run icons",
"icons": "svgr -d dist/statics/icons dist/statics/icons",
"posticons": "create-index -r ./dist/statics/icons && npm run babel:icons",
"prewatch": "npm run clean && npm run statics",
"prewatch": "npm run clean && mkdir -p dist && npm run statics",
"watch": "npm run babel:es -- --watch",
"release": "wnpm-release --no-shrinkwrap",
"test": "eslint 'src/**/*.{js,jsx}'"
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-link/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"statics": "cp -R statics dist/statics",
"build": "mkdir -p dist && npm run babel:es && npm run babel:commonjs",
"postbuild": "npm run statics",
"prewatch": "npm run clean && npm run statics",
"prewatch": "npm run clean && mkdir -p dist && npm run statics",
"watch": "npm run babel:es -- --watch",
"release": "wnpm-release --no-shrinkwrap",
"test": "eslint 'src/**/*.{js,jsx}'"
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-mentions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"build": "mkdir -p dist && npm run babel:es && npm run babel:commonjs",
"postbuild": "npm run statics",
"statics": "cp -R statics dist/statics",
"prewatch": "npm run clean && npm run statics",
"prewatch": "npm run clean && mkdir -p dist && npm run statics",
"watch": "npm run babel:es -- --watch",
"release": "wnpm-release --no-shrinkwrap",
"test": "eslint 'src/**/*.{js,jsx}'"
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-video/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"poststatics": "npm run icons",
"icons": "svgr -d dist/statics/icons dist/statics/icons",
"posticons": "create-index -r ./dist/statics/icons && npm run babel:icons",
"prewatch": "npm run clean && npm run statics",
"prewatch": "npm run clean && mkdir -p dist && npm run statics",
"watch": "npm run babel:es -- --watch",
"release": "wnpm-release --no-shrinkwrap",
"test": "eslint 'src/**/*.{js,jsx}'"
Expand Down
2 changes: 1 addition & 1 deletion packages/viewer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"build": "mkdir -p dist && npm run babel:es && npm run babel:commonjs",
"postbuild": "npm run statics",
"statics": "cp -R statics dist/statics",
"prewatch": "npm run clean && npm run statics",
"prewatch": "npm run clean && mkdir -p dist && npm run statics",
"watch": "npm run babel:es -- --watch",
"release": "wnpm-release --no-shrinkwrap",
"lint": "eslint 'src/**/*.{js,jsx}'",
Expand Down

0 comments on commit 1e95eb7

Please sign in to comment.