fix node init
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Timo Hocker 2021-01-26 21:14:09 +01:00
parent 09530c439f
commit 3e4e5bba1c
2 changed files with 9 additions and 8 deletions

View File

@ -22,19 +22,20 @@ import {
const packages = {
common: [ '@sapphirecode/eslint-config' ],
common: [ 'eslint' ],
js: [ '@sapphirecode/eslint-config' ],
ts: [
'typescript',
'@sapphirecode/eslint-config-ts'
],
test: [
'nyc',
'jasmine',
'@types/jasmine'
],
test_ts: [
'jasmine-ts',
'@ert78gb/jasmine-ts',
'ts-node'
],
ts: [
'typescript',
'@sapphirecode/eslint-config-ts'
]
};
@ -53,7 +54,7 @@ async function init_package (
run_command ('yarn init -y', folder);
const bundle = [
...(use_ts ? packages.ts : packages.common),
...(use_ts ? packages.ts : packages.js),
...(use_tests ? packages.test : []),
...(use_ts && use_tests ? packages.test_ts : [])
];

View File

@ -1,6 +1,6 @@
{
"name": "@sapphirecode/snippeteer",
"version": "1.5.2",
"version": "1.5.3",
"description": "macros for setting up projects or project parts",
"main": "index.js",
"bin": {