Security News
Node.js EOL Versions CVE Dubbed the "Worst CVE of the Year" by Security Experts
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
code-slinger
Advanced tools
Get your React project up and running in 10 seconds with Webpack hot reloading. Boilerplate code is based on Dan Abramov's React Transform Boilerplate.
#code-slinger
Get your React project up and running in 10 seconds with Webpack hot reloading. Boilerplate code is based on Dan Abramov's React Transform Boilerplate.
10 second method:
npm install -g code-slinger
code-slinger bootstrap
code-slinger react-server
Visit localhost:8000.
You get this file structure:
├── .babelrc
├── .eslintrc
├── .gitignore
├── dist
├── index.html
├── node_modules
├── package.json
└── src
├── App.js
├── colors.js
└── index.js
Thats it!
Need a production build?
# Bundle is dropped in dist/
code-slinger build
# Install code-slinger and save it
npm install --save code-slinger
# Bootstrap the files
./node_modules/.bin/code-slinger bootstrap
Add this to package.json
// ...
"scripts": {
"start": "code-slinger react-server",
"build": "code-slinger build"
},
// ...
Run this:
npm start
Visit localhost:8000.
Want to run a production bundle build?
# Bundle is dropped in dist/
npm run build
Want your own config.webpack.js file to be used?
# Optional: generate a config.webpack.js
./node_modules/.bin/code-slinger gen-webpack
# Either way make sure you have a config named
# config.webpack.js in Project Root
Note: For any arbitrary Webpack config to work with code-slinger: Please replace __dirname
with process.cwd()
in the config file
Usage: code-slinger <command> [options]
Commands:
bootstrap Generate files for running a React project
react-server Run the hot reloading development server for your project on
localhost:8000
build Bundle and export your React app to dist/bundle.js
gen-webpack Generates a custom webpack file to be modified for custom
Webpack builds.
Options:
-h, --help Show help [boolean]
MIT License. Lead Maintainer: Michael A Tomcal @matomcal 2016
Primary libraries used:
...see package.json for more supporting libraries
v1.1.2
code-slinger build
now.v1.1.1
v1.1.0
We welcome contributions, pull requests, ideas, bugs and documentation contributions.
If you wish to contribute, please make sure you are familiar with RxJS. Here is a great tutorial. We are also using RxJS 5 beta.
FAQs
Get your React project up and running in 10 seconds with Webpack hot reloading. Boilerplate code is based on Dan Abramov's React Transform Boilerplate.
We found that code-slinger 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
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.