cli package embryo to get started
This commit is contained in:
@@ -1,2 +1,4 @@
|
||||
secrets.env
|
||||
.DS_Store
|
||||
cjs/
|
||||
esm/
|
||||
|
||||
Executable
+4
@@ -0,0 +1,4 @@
|
||||
#!/usr/bin/env node
|
||||
const hello = require('./src/index.ts');
|
||||
|
||||
console.log('output:', hello());
|
||||
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"name": "@spotify-backstage/cli",
|
||||
"version": "1.0.0",
|
||||
"main": "src/index.ts",
|
||||
"main:src": "src/index.ts",
|
||||
"license": "Apache-2.0",
|
||||
"private": false,
|
||||
"scripts": {
|
||||
"build": "web-scripts build",
|
||||
"lint": "web-scripts lint",
|
||||
"test": "web-scripts test"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@spotify/web-scripts": "^6.0.0"
|
||||
},
|
||||
"bin": {
|
||||
"backstage-cli": "cli.js"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
describe('dummy', () => {
|
||||
it('dummy', () => {
|
||||
expect(1).toBe(1);
|
||||
});
|
||||
});
|
||||
@@ -0,0 +1,3 @@
|
||||
const hello = () => 'Hello World';
|
||||
|
||||
module.exports = hello;
|
||||
Reference in New Issue
Block a user