diff --git a/lib/snippets/node/index.ts b/lib/snippets/node/index.ts index 5d61ea1..c2ddc70 100644 --- a/lib/snippets/node/index.ts +++ b/lib/snippets/node/index.ts @@ -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 : []) ]; diff --git a/package.json b/package.json index d1261ba..9a1124c 100644 --- a/package.json +++ b/package.json @@ -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": {