This commit is contained in:
parent
09530c439f
commit
3e4e5bba1c
@ -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 : [])
|
||||
];
|
||||
|
@ -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": {
|
||||
|
Loading…
x
Reference in New Issue
Block a user