![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
bulma-start
Advanced tools
Tiny npm package that includes the npm
dependencies you need to build your own website with Bulma.
npm install bulma-start
or
yarn add bulma-start
The npm
dependencies included in package.json
are:
bulma
node-sass
to compile your own Sass filepostcss-cli
and autoprefixer
to add support for older browsersbabel-cli
, babel-preset-env
and babel-preset-es2015-ie
for compiling ES6 JavaScript filesApart from package.json
, the following files are included:
.babelrc
configuration file for Babel.gitignore
common Git ignored filesindex.html
this HTML5 file_sass/main.scss
a basic SCSS file that imports Bulma and explains how to customize your styles, and compiles to css/main.css
_javascript/main.js
an ES6 JavaScript that compiles to lib/main.js
This package is meant to provide a good starting point for working with Bulma.
When installing this package with the commands above, it landed in $HOME/node_packages/bulma-start
.
In order to use it as a template for your project, you might consider copying it to a better suited location:
cd $HOME/projects
cp -a $HOME/node_modules/bulma-start my-bulma-project
Alternatively, you could do something similar with a GitHub clone as well.
cd $HOME/projects
git clone https://github.com/jgthms/bulma-start
mv bulma-start my-bulma-project
rm -rf my-bulma-project/.git # cut its roots
Now, that you prepared the groundwork for your project, set up Bulma and run the watchers:
cd my-bulma-project
npm install
npm start
As long as npm start
is running, it will watch your changes. You can edit _sass/main.scss
and _javascript/main.js
at will. Changes are immediately compiled to their destinations, where index.html
will pick them up upon reload in your browser.
Some controlling output is written to the npm start
console in that process:
_javascript/main.js -> lib/main.js
=> changed: $HOME/projects/start-with-bulma/_sass/main.scss
Rendering Complete, saving .css file...
Wrote CSS to $HOME/projects/start-with-bulma/css/main.css
Use npm run
to show all available commands:
Lifecycle scripts included in bulma-start:
start
npm-run-all --parallel css-watch js-watch
available via `npm run-script`:
css-build
node-sass _sass/main.scss css/main.css
css-deploy
npm run css-build && npm run css-postcss
css-postcss
postcss --use autoprefixer --output css/main.css css/main.css
css-watch
npm run css-build -- --watch
deploy
npm run css-deploy && npm run js-build
js-build
babel _javascript --out-dir lib
js-watch
npm run js-build -- --watch
If you want to learn more, follow these links: Bulma homepage and Documentation.
Code copyright 2017 Jeremy Thomas. Code released under the MIT license.
FAQs
Start package for Bulma
The npm package bulma-start receives a total of 112 weekly downloads. As such, bulma-start popularity was classified as not popular.
We found that bulma-start demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.