A388

Gulpfile Generator

The Gulpfile Generator tool is a tool I made for myself to help me in getting a gulpfile.js in place when working on new projects. The tool is based on my use of Gulp in ASP.NET Core, where:

If these assumptions don't match your setup, then manually update the gulpfile.js when it's generated. A matching package.json will also be generated for you.

Gulpfile.js

package.json

tsconfig.json

Here's a little bonus of the TypeScript configuration that I use.

{
  "compileOnSave": true,
  "compilerOptions": {
    "baseUrl": "./",
    "module": "ESNext",
    "moduleResolution": "Node",
    "noEmitHelpers": true,
    "noEmitOnError": true,
    "noImplicitAny": true,
    "noImplicitReturns": true,
    "noImplicitThis": true,
    "noImplicitUseStrict": true,
    "noUnusedLocals": true,
    "noUnusedParameters": true,
    "removeComments": true,
    "sourceMap": false,
    "stripInternal": true,
    "target": "ESNext"
  },
  "exclude": [
    "node_modules",
    "wwwroot"
  ]
}