Security News
ESLint is Now Language-Agnostic: Linting JSON, Markdown, and Beyond
ESLint has added JSON and Markdown linting support with new officially-supported plugins, expanding its versatility beyond JavaScript.
basework-core
Advanced tools
An experimental base framework for web projects. See why Basework to be sold on the idea.
🚨 Disclaimer - This project is in its early days. Do not use Basework in production.
npm install -g basework-cli
basework new
cd basework-example
npm i
basework start
to start developmentAdditionally, build the project locally with basework build
and check the resulting dist folder to see what the project output looks like.
By building off the example project, you get these performance benefits out of the box.
There are two files you can add to the root of your project to change the default behavior of Basework:
basework-config.js
, which allows you to change bundlers and customize the build process:
const baseworkConfig = () => ({
bundler: 'webpack',
build: [
'prepare',
'prefetch',
'transform',
'bundle',
'create',
'prerender'
]
});
module.exports = baseworkConfig;
basework-api.js
, which allows you to define custom build steps to run in the build process.
Find more information on what each build step does in the build step notes.
Basework tries to choose sensible defaults for bundlers. If you need more flexibility, you can add the following files to your project root to add custom configuration to your bundler:
webpack-config.js
- base config used by environment specific configs (dev, prod, etc.)webpack-config-dev.js
- config used in development (when running basework start
)webpack-config-prod.js
- config used in production (when running basework build
)These files must export an object or funtion like a normal webpack config.
This project is mostly a sandbox for new ideas and concepts. If you'd like to collaborate, feel free to open an issue in this repo!
basework-router
implementation for web components, React and VueThis project is heavily inspired by Gatsby.
FAQs
A flexible base framework for web projects
The npm package basework-core receives a total of 0 weekly downloads. As such, basework-core popularity was classified as not popular.
We found that basework-core 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
ESLint has added JSON and Markdown linting support with new officially-supported plugins, expanding its versatility beyond JavaScript.
Security News
Members Hub is conducting large-scale campaigns to artificially boost Discord server metrics, undermining community trust and platform integrity.
Security News
NIST has failed to meet its self-imposed deadline of clearing the NVD's backlog by the end of the fiscal year. Meanwhile, CVE's awaiting analysis have increased by 33% since June.