@@ -1,9 +1,10 @@
{
"name": "create-stdf",
- "version": "0.0.7",
+ "version": "0.0.8",
"description": "A CLI for creating new STDF projects",
- "main": "dist/index.js",
- "module": "dist/index.mjs",
+ "bin": {
+ "create-stdf": "./dist/index.js"
+ },
"scripts": {
"build": "rollup -c",
"test": "echo \"Error: no test specified\" && exit 1"
@@ -2,10 +2,7 @@ import terser from '@rollup/plugin-terser';
export default {
input: 'src/index.js',
- output: [
- { file: 'dist/index.js', format: 'es' },
- { file: 'dist/index.mjs', format: 'esm' },
- ],
+ output: [{ file: 'dist/index.js', format: 'es' }],
external: ['path', 'fs-extra', '@clack/prompts', 'kleur/colors'],
plugins: [terser()],
};