Created by: bardiharborow
This PR switches every build task to a NPM script, except saucelabs (this is surprisingly non-trivial, and I'm pushing it to a later PR as this has taken way too long as it is). Closes #20332.
List of tasks that need to included. A ticked checkbox indicates that the task has been tested.
-
CSS -
Linting (scss-lint) -
Core -
Docs
-
-
Compile (node-sass) -
Core -
Docs
-
-
Prefix (postcss) -
Core -
Docs
-
-
Minify (cleancss) -
Core -
Docs
-
-
-
JavaScript -
Linting (eslint) -
Core -
Docs
-
-
Concatenate + Transpile (Babel) -
Bundle -
Individual plugins
-
-
Minify (uglifyjs) -
Core -
Docs
-
-
Test (qunit + PhantomJS) -
Local -
SauceLabs (punting conversion to npm)
-
-
-
Docs -
Clean ( cp -r dist/* docs/dist/
) -
Linting (htmlhint + htmllint) -
Compile (Jekyll) -
Local -
GitHub
-
-
Serve (Jekyll) -
Push to GitHub(punting)
-
-
Maintenance -
Update dependencies (npm-check-update) -
Shrinkwrap (npm)
-
-
Release -
Change version number (custom node script) -
Package zip file (GNU zip) -
Push to npm, etc.(punting)
-