beater index generator
cd test/
npx create-beater-index
# or npm init beater-index
npx create-beater-index --help
# or npm init beater-index --help
$ cd test/
$ ls
foo.ts
$ cat foo.ts
import assert from 'assert';
import { test } from 'beater';
const tests = [
test('example', () => {
assert(1 === 1);
})
];
export { tests };
$ npx create-beater-index
$ ls
foo.ts index.ts
$ cat index.ts
import { Test } from 'beater';
import { tests as fooTests } from './foo';
const tests = ([] as Test[])
.concat(fooTests);
export { tests };
npm install