Timo Hocker bff56aa9d5
All checks were successful
continuous-integration/drone/push Build is passing
fix
2020-07-09 22:05:27 +02:00
fix
2020-06-27 19:42:46 +02:00
2020-07-09 22:00:59 +02:00
fix
2020-07-09 22:05:27 +02:00
2020-04-18 17:24:41 +02:00
2020-05-17 19:55:04 +02:00
2020-04-26 11:45:22 +02:00
2020-07-09 22:00:59 +02:00
2020-05-07 18:40:35 +02:00
2020-05-07 18:40:35 +02:00
fix
2020-07-09 22:05:27 +02:00
2020-07-09 22:00:59 +02:00
fix
2020-06-27 19:42:46 +02:00
2020-07-09 22:00:59 +02:00

@sapphirecode/snippeteer

version: 1.4.x

macros for setting up projects or project parts

Installation

npm i -g @sapphirecode/snippeteer

Requirements

installed on the system:

  • yarn
  • git

Usage

run snippeteer in console and choose a snippet, all necessary parameters will be asked interactively

Snippets

add copyright notice to .js, .ts and .mjs files, as well was generating a license file and adding fields like author and license to the package.json

jenkins

create a generic jenkinsfile

drone

create a generic .drone.yml for deployment of node projects

necessary scripts in the package.json:

  • ci: yarn --frozen-lockfile && node jenkins.js
  • compile: tsc or tsc --allowJs --declaration --emitDeclarationOnly index.js, ...

compile should be the general compile task, for typescript: tsc, for commonjs: creating type definitions, ...

node

initializes a node project with the standard structure used by sapphirecode modules

readme

create a template readme file

License

BSD-3-Clause © Timo Hocker timo@scode.ovh

Description
No description provided
Readme 865 KiB
Languages
TypeScript 98.3%
JavaScript 1.7%