Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Build dist assets on prepare
Removes the separate build command and just always builds our dist
files on `npm run prepare`. This makes sure we never accidentally
publish a release that doesn't have up to date dist files for CDNs like
unpkg and jsdelivr.
  • Loading branch information
adamwathan committed Nov 3, 2017
commit 1e207cfd7f828d11d9987e009fcec1835d211c73
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@
"scripts": {
"prebabelify": "rimraf lib",
"babelify": "babel src --out-dir lib",
"prepare": "npm run babelify",
"build": "npm run babelify && babel-node src/build.js",
"prepare": "npm run babelify && babel-node src/build.js",
"watch": "nodemon -e js,css --watch src --exec 'babel-node src/build.js'",
"test": "jest"
},
Expand Down