
Product
Announcing Socket Fix 2.0
Socket Fix 2.0 brings targeted CVE remediation, smarter upgrade planning, and broader ecosystem support to help developers get to zero alerts.
underdog-collie2
Advanced tools
CLI tool for compiling production-ready universal JavaScript applications, powered by webpack.
CLI tool for compiling production-ready universal JavaScript applications, powered by webpack.
npm install underdog-collie
Create a .babelrc
file in the root of your project to configure Babel:
{
"presets": [
["env", {
"targets": {
"browsers": ["last 2 versions"],
"node": "current"
}
}],
"react"
]
}
Also create a file named collie.config.js
in the root of your project:
// Example collie config
const {join} = require('path');
module.exports = {
// Specify an array of files to build with webpack.
build: [{
// Specify target.
target: 'browser',
// Specify entry options to pass to webpack.
entry: {
app: join(__dirname, 'browser.js')
},
// Specify output
output: {
path: join(__dirname, 'dist/static'),
publicPath: '/static/'
},
// Pass options for html-webpack-plugin. Setting html to an array of objects
// will create a new instance of the html-webpack-plugin with each object.
html: {
template: join(__dirname, 'index.html'),
filename: join(__dirname, 'dist/index.html'),
inject: true
}
}, {
// Create a JavaScript bundle for server side use.
target: 'server',
entry: {
server: join(__dirname, 'server')
},
output: {
path: join(__dirname, 'dist')
}
}]
};
Create a build:
collie build
or watch files for development:
collie build --watch
FAQs
CLI tool for compiling production-ready universal JavaScript applications, powered by webpack.
We found that underdog-collie2 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.
Product
Socket Fix 2.0 brings targeted CVE remediation, smarter upgrade planning, and broader ecosystem support to help developers get to zero alerts.
Security News
Socket CEO Feross Aboukhadijeh joins Risky Business Weekly to unpack recent npm phishing attacks, their limited impact, and the risks if attackers get smarter.
Product
Socket’s new Tier 1 Reachability filters out up to 80% of irrelevant CVEs, so security teams can focus on the vulnerabilities that matter.