Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
webpack-typescript-starter
Advanced tools
Love Webpack? Love Typescript? Feel frustrated of starting a Webpack + Typescript project?
Webpack Typescript Starter comes to help :muscle::muscle::muscle:
Webpack Typescript Starter aims to ease the pain of setting Webpack + Typescript project.
With this starter, you can easily set up a
Although Webpack Typescript Starter can be the starter of a frontend project, it does not compete with those wonderful frontend starters, e.g. Create React App, GatsbyJS, VueJS CLI, Angular
Webpack Typescript Starter only provide an enviornment of Webpack + Typescript, and letting you guys do your magic in there :wink:
Clone this project
git clone https://github.com/samsan1212/webpack-typescript-starter.git
OR create a new repository from this template by navigating to this link
Under the project root directory, run
npm install
OR
yarn
Bob's your uncle:tada::tada::tada:
You can perform your magic inside src
folder
In the directory webpack/plugins
, there is a template HTML file html-template.html
.
The starter generates a HTML file bin/index.html
with the script tags of the bundled javascript files, using this template HTML in the compile time.
If you need the HTML file containing only the script tags of the bundled javscript files, you can empty the content inside the template HTML. (Especially for those who want to migrate custom Javascripts to existing HTML template engine)
In package.json
, there is a config noHTML
If you are writing NodeJS program, you probably won't need the generated HTML file.
In this case, you can type yes
in the config noHTML
,
"config": {
"noHTML": "yes"
}
then no HTML will be emitted during the compile time.
FAQs
A webpack starter for Typescript project
We found that webpack-typescript-starter 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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.